跳转到内容

遥控模块

本文档介绍了遥控模块(Remote Control, RC)对外开发接口,目前只开放了 A2W 上肢控制相关接口

本模块 http 后端监听的端口为 59001。

接口名接口描述请求消息类型答复消息类型备注通信后端
pb:/aimdk.protocol.RemoteControlService/SendMotionAdjustCommand发送上肢调整命令aimdk::protocol::AdjustCommandRequestaimdk::protocol::RcCommonResponsehttp
pb:/aimdk.protocol.RemoteControlService/JointControlSwitchCommand 切换控制状态,使能/不使能aimdk::protocol::RcJointControlSwitchRequestaimdk::protocol::RcCommonResponsehttp
FieldTypeDescription
headeraimdk::protocol::ResponseHeader响应头
stateaimdk::protocol::CommonState[]动作列表
request_send_mtsuint64客户端请求发送时间
request_recv_mtsuint64服务端请求接收时间
FieldTypeDescription
headeraimdk::protocol::RequestHeader请求头
commandaimdk::protocol::AdjustCommand上肢调整命令
FieldTypeDescription
namestring关节或末端名称
nameuint321 左臂,2 右臂,3 双臂
modeuint32按压模式
stepdouble步长
velocitydouble速度

aimdk::protocol::RcJointControlSwitchRequest

Section titled “aimdk::protocol::RcJointControlSwitchRequest”
FieldTypeDescription
headeraimdk::protocol::RequestHeader请求头
enableboolfalse: 禁用, true: 使能