mirror of
https://github.com/soconnor0919/robot-plugins.git
synced 2026-03-23 19:27:52 -04:00
Compare commits
2 Commits
043816d9b7
...
31beaffc5b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31beaffc5b | ||
|
|
6a805aaa91 |
@@ -62,18 +62,18 @@
|
|||||||
"defaultTopics": {
|
"defaultTopics": {
|
||||||
"cmd_vel": "/cmd_vel",
|
"cmd_vel": "/cmd_vel",
|
||||||
"odom": "/odom",
|
"odom": "/odom",
|
||||||
"joint_states": "/naoqi_driver/joint_states",
|
"joint_states": "/joint_states",
|
||||||
"joint_angles": "/joint_angles",
|
"joint_angles": "/joint_angles",
|
||||||
"camera_front": "/naoqi_driver/camera/front/image_raw",
|
"camera_front": "/camera/front/image_raw",
|
||||||
"camera_bottom": "/naoqi_driver/camera/bottom/image_raw",
|
"camera_bottom": "/camera/bottom/image_raw",
|
||||||
"imu": "/naoqi_driver/imu/torso",
|
"imu": "/imu/torso",
|
||||||
"speech": "/speech",
|
"speech": "/speech",
|
||||||
"bumper": "/naoqi_driver/bumper",
|
"bumper": "/bumper",
|
||||||
"hand_touch": "/naoqi_driver/hand_touch",
|
"hand_touch": "/hand_touch",
|
||||||
"head_touch": "/naoqi_driver/head_touch",
|
"head_touch": "/head_touch",
|
||||||
"sonar_left": "/naoqi_driver/sonar/left",
|
"sonar_left": "/sonar/left",
|
||||||
"sonar_right": "/naoqi_driver/sonar/right",
|
"sonar_right": "/sonar/right",
|
||||||
"info": "/naoqi_driver/info"
|
"info": "/info"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"settingsSchema": {
|
"settingsSchema": {
|
||||||
@@ -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