fix(nao6): use joint angles for beckon gesture

Use direct joint control instead of animation which may not exist on all NAOs
This commit is contained in:
2026-04-01 16:33:20 -04:00
parent 06bdaaefc3
commit b9be426805
+11 -7
View File
@@ -1642,7 +1642,7 @@
{
"id": "beckon",
"name": "Beckon",
"description": "Come here gesture using wave",
"description": "Come here gesture",
"category": "movement",
"icon": "arrow-right",
"timeout": 2500,
@@ -1652,21 +1652,25 @@
"properties": {}
},
"ros2": {
"messageType": "std_msgs/msg/String",
"topic": "/speech",
"messageType": "naoqi_bridge_msgs/msg/JointAnglesWithSpeed",
"topic": "/joint_angles",
"payloadMapping": {
"type": "static",
"payload": {
"data": "^start(animations/Stand/Gestures/Hello_1)"
"joint_names": ["RShoulderPitch", "RShoulderRoll", "RElbowYaw", "RElbowRoll"],
"joint_angles": [0.5, 0.3, -1.2, -0.5],
"speed": 0.3
}
}
},
"implementation": {
"type": "ros2_topic",
"topic": "/speech",
"messageType": "std_msgs/msg/String",
"topic": "/joint_angles",
"messageType": "naoqi_bridge_msgs/msg/JointAnglesWithSpeed",
"messageTemplate": {
"data": "^start(animations/Stand/Gestures/Hello_1)"
"joint_names": ["RShoulderPitch", "RShoulderRoll", "RElbowYaw", "RElbowRoll"],
"joint_angles": [0.5, 0.3, -1.2, -0.5],
"speed": 0.3
}
}
},