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