You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
609 B
44 lines
609 B
6 years ago
|
syntax = "proto3";
|
||
|
|
||
|
enum UGV_State {
|
||
|
IDLE = 0;
|
||
|
AQUIRING = 1;
|
||
|
DRIVING = 2;
|
||
|
FINISHED = 3;
|
||
|
}
|
||
|
|
||
|
message Location {
|
||
|
uint32 fix_quality = 1;
|
||
|
float latitude = 2;
|
||
|
float longitude = 3;
|
||
|
float altitude = 4;
|
||
|
}
|
||
|
|
||
|
message UGV_Status {
|
||
|
UGV_State state = 1;
|
||
|
Location location = 2;
|
||
|
}
|
||
|
|
||
|
message UGV_Message {
|
||
|
oneof ugv_message {
|
||
|
UGV_Status status = 1;
|
||
|
uint32 command_ack = 2;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
enum GroundCommandType {
|
||
|
DISABLE = 0;
|
||
|
ENABLE = 1;
|
||
|
}
|
||
|
|
||
|
message GroundCommand {
|
||
|
uint32 id = 1;
|
||
|
GroundCommandType type = 2;
|
||
|
}
|
||
|
|
||
|
message GroundMessage {
|
||
|
oneof ground_message {
|
||
|
GroundCommand command = 1;
|
||
|
}
|
||
|
}
|