-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multirobot abilities for TB3 restored (#11)
* Attempts for multirobot namespacing in GZ * expanding gazebo names * Use xacro file to plumb namespace into gz topics (#10) * Use xacro file to plumb namespace into gz topics Signed-off-by: Addisu Z. Taddese <[email protected]> * Fix linter Signed-off-by: Addisu Z. Taddese <[email protected]> --------- Signed-off-by: Addisu Z. Taddese <[email protected]> --------- Signed-off-by: Addisu Z. Taddese <[email protected]> Co-authored-by: Addisu Z. Taddese <[email protected]>
- Loading branch information
1 parent
42185fa
commit 7e82adc
Showing
4 changed files
with
30 additions
and
37 deletions.
There are no files selected for viewing
21 changes: 7 additions & 14 deletions
21
nav2_minimal_tb3_sim/configs/turtlebot3_waffle_bridge.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,44 @@ | ||
# replace clock_bridge | ||
- ros_topic_name: "clock" | ||
gz_topic_name: "/clock" | ||
- topic_name: "/clock" | ||
ros_type_name: "rosgraph_msgs/msg/Clock" | ||
gz_type_name: "gz.msgs.Clock" | ||
direction: GZ_TO_ROS | ||
|
||
# no equivalent in TB3 - add | ||
- ros_topic_name: "joint_states" | ||
gz_topic_name: "joint_states" | ||
- topic_name: "joint_states" | ||
ros_type_name: "sensor_msgs/msg/JointState" | ||
gz_type_name: "gz.msgs.Model" | ||
direction: GZ_TO_ROS | ||
|
||
# replace odom_bridge - check gz topic name | ||
# gz topic published by DiffDrive plugin | ||
- ros_topic_name: "odom" | ||
gz_topic_name: "/odom" | ||
- topic_name: "odom" | ||
ros_type_name: "nav_msgs/msg/Odometry" | ||
gz_type_name: "gz.msgs.Odometry" | ||
direction: GZ_TO_ROS | ||
|
||
# replace odom_tf_bridge - check gz and ros topic names | ||
# gz topic published by DiffDrive plugin | ||
# prefix ros2 topic with gz | ||
- ros_topic_name: "tf" | ||
gz_topic_name: "/tf" | ||
- topic_name: "tf" | ||
ros_type_name: "tf2_msgs/msg/TFMessage" | ||
gz_type_name: "gz.msgs.Pose_V" | ||
direction: GZ_TO_ROS | ||
|
||
# replace imu_bridge - check gz topic name | ||
- ros_topic_name: "imu" | ||
gz_topic_name: "/imu" | ||
- topic_name: "imu" | ||
ros_type_name: "sensor_msgs/msg/Imu" | ||
gz_type_name: "gz.msgs.IMU" | ||
direction: GZ_TO_ROS | ||
|
||
# replace lidar_bridge | ||
- ros_topic_name: "scan" | ||
gz_topic_name: "/scan" | ||
- topic_name: "scan" | ||
ros_type_name: "sensor_msgs/msg/LaserScan" | ||
gz_type_name: "gz.msgs.LaserScan" | ||
direction: GZ_TO_ROS | ||
|
||
# replace cmd_vel_bridge | ||
- ros_topic_name: "cmd_vel" | ||
gz_topic_name: "/cmd_vel" | ||
- topic_name: "cmd_vel" | ||
ros_type_name: "geometry_msgs/msg/Twist" | ||
gz_type_name: "gz.msgs.Twist" | ||
direction: ROS_TO_GZ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters