mirror of
https://github.com/BotChain-Robots/flatbuffers.git
synced 2026-07-08 17:47:22 +02:00
43 lines
467 B
Plaintext
43 lines
467 B
Plaintext
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;
|