| File was renamed from proto/aerial.proto |
| | |
| | | bytes data = 6; // 数据 |
| | | int32 checksum = 7; // 校验码 |
| | | } |
| | | |
| | | |
| | | // 服务端向采集端发送的主指令 |
| | | enum ControlSysCommand { |
| | | DUST_CLEANER_COMMAND = 0; |
| | | } |
| | | |
| | | // 服务端向采集端发送的子命令 |
| | | enum ControlSubCommand { |
| | | // dust cleaner sub commands |
| | | DUST_CLEANER_ONETIME_CLEAN_SELF = 0; |
| | | DUST_CLEANER_ONETIME_CLEAN_CAMERA = 1; |
| | | DUST_CLEANER_CLOSE_PERIOD_CLEAN_SELF = 2; |
| | | DUST_CLEANER_CLOSE_PERIOD_CLEAN_CAMERA = 3; |
| | | DUST_CLEANER_PERIOD_CLEAN_SELF = 4; |
| | | DUST_CLEANER_PERIOD_CLEAN_CAMERA = 5; |
| | | } |
| | | |
| | | // dust cleaner command message |
| | | message DustCleanerMessage { |
| | | uint32 period = 1; |
| | | } |
| | | |
| | | // 控制上位机消息 |
| | | message ControllMessage { |
| | | int32 sync_word = 1; // 同步字 |
| | | ControlSysCommand sys_command = 3; // 主命令 |
| | | ControlSubCommand sub_command = 4; // 子命令 |
| | | DataField data = 5; // 数据 |
| | | int32 checksum = 7; // 校验码 |
| | | } |