Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JointStates bridge failing for ROS2 Humble with Gazebo Garden #558

Closed
rokasgie opened this issue Jun 3, 2024 · 1 comment
Closed

JointStates bridge failing for ROS2 Humble with Gazebo Garden #558

rokasgie opened this issue Jun 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@rokasgie
Copy link

rokasgie commented Jun 3, 2024

Environment

  • OS Version: e.g, Ubuntu 20.04
  • Source or binary build?
    Source, humble branch, a348c07

Description

  • Expected behavior: Successful message transfer
  • Actual behavior: Warning of failure. When running Gazebo only the timestamp is visible and all other fields are empty.

Steps to reproduce

  1. ros2 run ros_gz_bridge parameter_bridge /my/joint_states@std_msgs/msg/JointState@gz.msgs.Model

Output

ros_gz_bridge]: Creating GZ->ROS Bridge: [/my/joint_states (gz.msgs.Model) -> /my/joint_states (std_msgs/msg/JointState)] (Lazy 0) [WARN] [1717448826.963089241] [ros_gz_bridge]: Failed to create a bridge for topic [/my/joint_states] with ROS2 type [std_msgs/msg/JointState] to topic [/my/joint_states] with Gazebo Transport type [gz.msgs.Model]

@rokasgie rokasgie added the bug Something isn't working label Jun 3, 2024
@azeey
Copy link
Contributor

azeey commented Jul 22, 2024

The JointState message is in sensor_msgs not std_msgs, so your command should be ros2 run ros_gz_bridge parameter_bridge /my/joint_states@sensor_msgs/msg/JointState@gz.msgs.Model. I'll go ahead and close this, but feel free to reopen if you still the issue.

@azeey azeey closed this as not planned Won't fix, can't repro, duplicate, stale Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants