mirror of
https://github.com/BotChain-Robots/flatbuffers.git
synced 2026-07-08 09:37:21 +02:00
Cleanup for release
This commit is contained in:
42
Messaging/SensorMessage.fbs
Normal file
42
Messaging/SensorMessage.fbs
Normal file
@@ -0,0 +1,42 @@
|
||||
namespace Messaging;
|
||||
|
||||
table TargetAngle {
|
||||
value: int16;
|
||||
}
|
||||
|
||||
table CurrentText {
|
||||
value: string;
|
||||
}
|
||||
|
||||
table CurrentAngle {
|
||||
value: int16;
|
||||
}
|
||||
|
||||
table Distance {
|
||||
value: float;
|
||||
}
|
||||
|
||||
table Temperature {
|
||||
value: float;
|
||||
}
|
||||
|
||||
table Position {
|
||||
heading: float;
|
||||
pitch: float;
|
||||
roll: float;
|
||||
}
|
||||
|
||||
union SensorValue {
|
||||
TargetAngle,
|
||||
CurrentAngle,
|
||||
CurrentText,
|
||||
Distance,
|
||||
Temperature,
|
||||
Position
|
||||
}
|
||||
|
||||
table SensorMessage {
|
||||
values: [SensorValue];
|
||||
}
|
||||
|
||||
root_type SensorMessage;
|
||||
Reference in New Issue
Block a user