14 lines
216 B
Protocol Buffer
14 lines
216 B
Protocol Buffer
|
|
syntax = "proto3";
|
||
|
|
|
||
|
|
import "cmvr/msgs/motor.proto";
|
||
|
|
package cmvr.msgs;
|
||
|
|
|
||
|
|
|
||
|
|
// 包含机器人的所有信息
|
||
|
|
|
||
|
|
message RobotDetail{
|
||
|
|
|
||
|
|
// key 电机 nodeid
|
||
|
|
map<uint32, MotorStatus> motors = 1; // node_id => status
|
||
|
|
}
|