Skip to content

Conversation

@MidnightRaider06
Copy link
Contributor

Changes adding ArUco tag model and adding regular camera to the URDF.

image

To get both the depth camera and normal camera visualizations working in rviz, run the following commands (everything could be combined into one big "bash -c" command):

For simulation purposes, publish these static transforms (the map frame must be connected to the camera and depth_camera frames)

bash -c "ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 map odom & \
         ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 odom base_footprint & \
         ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 base_footprint rover/base_footprint/depth_camera & \ 
         ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 base_footprint rover/base_footprint/camera & \
         wait"

Then bridge the camera topics

ros2 run ros_gz_bridge parameter_bridge \
  /camera@sensor_msgs/msg/Image@gz.msgs.Image \
  /camera_info@sensor_msgs/msg/CameraInfo@gz.msgs.CameraInfo

More changes to the ArUco code will be added soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant