dds 机器人数据收发接口 更多...
结构体 | |
struct | RotationAngle |
DDS机器人关节数据结构 更多... | |
函数 | |
int | create_participant_pub (int domain_id) |
创建DDS发布服务 更多... | |
int | start_publisher (RotationAngle RotAngle) |
DDS发布机器人关节状态 更多... | |
int | participant_shutdown_pub () |
关闭DDS发布服务 更多... | |
int | create_participant_sub (int domain_id) |
创建DDS订阅服务 更多... | |
RotationAngle | start_subscriber () |
DDS订阅机器人关节状态 更多... | |
int | participant_shutdown_sub () |
关闭DDS订阅服务 更多... | |
dds 机器人数据收发接口
int create_participant_pub | ( | int | domain_id | ) |
创建DDS发布服务
domain_id | id号 |
int | 0:成功; other:失败 |
int create_participant_sub | ( | int | domain_id | ) |
创建DDS订阅服务
domain_id | id号 |
int participant_shutdown_pub | ( | ) |
关闭DDS发布服务
int participant_shutdown_sub | ( | ) |
关闭DDS订阅服务
int start_publisher | ( | RotationAngle | RotAngle | ) |
DDS发布机器人关节状态
RotAngle | 机器人关节数据 |
0:成功; | |
other:失败 |
RotationAngle start_subscriber | ( | ) |
DDS订阅机器人关节状态