mirror of
https://github.com/soconnor0919/robot-plugins.git
synced 2026-03-23 19:27:52 -04:00
Add implementation properties for trial execution
This commit is contained in:
@@ -311,6 +311,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"implementation": {
|
||||||
|
"type": "ros2_topic",
|
||||||
|
"topic": "/cmd_vel",
|
||||||
|
"messageType": "geometry_msgs/msg/Twist",
|
||||||
|
"messageTemplate": {
|
||||||
|
"linear": {
|
||||||
|
"x": "{{speed}}",
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"angular": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -361,6 +378,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"implementation": {
|
||||||
|
"type": "ros2_topic",
|
||||||
|
"topic": "/cmd_vel",
|
||||||
|
"messageType": "geometry_msgs/msg/Twist",
|
||||||
|
"messageTemplate": {
|
||||||
|
"linear": {
|
||||||
|
"x": "-{{speed}}",
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"angular": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -411,6 +445,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"implementation": {
|
||||||
|
"type": "ros2_topic",
|
||||||
|
"topic": "/cmd_vel",
|
||||||
|
"messageType": "geometry_msgs/msg/Twist",
|
||||||
|
"messageTemplate": {
|
||||||
|
"linear": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"angular": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": "{{speed}}"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -461,6 +512,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"implementation": {
|
||||||
|
"type": "ros2_topic",
|
||||||
|
"topic": "/cmd_vel",
|
||||||
|
"messageType": "geometry_msgs/msg/Twist",
|
||||||
|
"messageTemplate": {
|
||||||
|
"linear": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": 0
|
||||||
|
},
|
||||||
|
"angular": {
|
||||||
|
"x": 0,
|
||||||
|
"y": 0,
|
||||||
|
"z": "-{{speed}}"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -534,6 +602,14 @@
|
|||||||
"reliability": "reliable",
|
"reliability": "reliable",
|
||||||
"durability": "volatile"
|
"durability": "volatile"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"implementation": {
|
||||||
|
"type": "ros2_topic",
|
||||||
|
"topic": "/speech",
|
||||||
|
"messageType": "std_msgs/msg/String",
|
||||||
|
"messageTemplate": {
|
||||||
|
"data": "{{text}}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -585,6 +661,14 @@
|
|||||||
"data": "\\rspd={{speed}}\\\\rst={{emotion}}\\{{text}}"
|
"data": "\\rspd={{speed}}\\\\rst={{emotion}}\\{{text}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"implementation": {
|
||||||
|
"type": "ros2_topic",
|
||||||
|
"topic": "/speech",
|
||||||
|
"messageType": "std_msgs/msg/String",
|
||||||
|
"messageTemplate": {
|
||||||
|
"data": "{{text}}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -719,6 +803,16 @@
|
|||||||
"speed": "{{speed}}"
|
"speed": "{{speed}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"implementation": {
|
||||||
|
"type": "ros2_topic",
|
||||||
|
"topic": "/joint_angles",
|
||||||
|
"messageType": "naoqi_bridge_msgs/msg/JointAnglesWithSpeed",
|
||||||
|
"messageTemplate": {
|
||||||
|
"joint_names": ["HeadYaw", "HeadPitch"],
|
||||||
|
"joint_angles": ["{{yaw}}", "{{pitch}}"],
|
||||||
|
"speed": "{{speed}}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -923,6 +1017,16 @@
|
|||||||
"type": "transform",
|
"type": "transform",
|
||||||
"transformFn": "transformToHeadMovement"
|
"transformFn": "transformToHeadMovement"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"implementation": {
|
||||||
|
"type": "ros2_topic",
|
||||||
|
"topic": "/joint_angles",
|
||||||
|
"messageType": "naoqi_bridge_msgs/msg/JointAnglesWithSpeed",
|
||||||
|
"messageTemplate": {
|
||||||
|
"joint_names": ["HeadYaw", "HeadPitch"],
|
||||||
|
"joint_angles": ["{{yaw}}", "{{pitch}}"],
|
||||||
|
"speed": "{{speed}}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user