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

Harmonic: Add information to reproduce demo in ros_gz_project_template #435

Open
Ryanf55 opened this issue Apr 18, 2024 · 6 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Ryanf55
Copy link

Ryanf55 commented Apr 18, 2024

Desired behavior

The ros_gz_project_template docs explain how to build and install, but are missing the instructions how to move the diffdrive robot in this section/

Alternatives considered

I've spent two hours trying various methods, nothing seems to move the vehicle.

With this command, the vehicle moves in RVIZ, but not in gazebo.

ros2 topic pub /diff_drive/cmd_vel geometry_msgs/msg/Twist "{linear: {x: 0.5}, angular: {z: 0.5}}"

Implementation suggestion

Add a small section to the end of the ros_gz_project_template_guide that explains the commands in terminal or through the gazebo UI to move the vehicle.

Additional context

Gazebo Version: Harmonic 8.2.0
OS: Ubuntu 22
Installation method: Binaries
Discord chat: https://discord.com/channels/1077825543698927656/1080763334384697430/1230559471659388991

Bag is attached.
rosbag2_2024_04_18-15_54_56.zip

Inspection shows the odometry is updating, so why doesn't gazebo UI show it moving?

@Ryanf55 Ryanf55 added the enhancement New feature or request label Apr 18, 2024
@Ryanf55 Ryanf55 changed the title Add information to reproduce demo in ros_gz_project_template Harmonic: Add information to reproduce demo in ros_gz_project_template Apr 19, 2024
@Ryanf55
Copy link
Author

Ryanf55 commented Apr 19, 2024

Honestly, I'm pretty sure this demo is completely broken on harmonic. There are numerous warnings in logs about the SDF, RVIZ has problems, and there's this PR removing the clock topic.

@azeey
Copy link
Contributor

azeey commented Apr 19, 2024

What version of ROS were you using with Harmonic and how did you set it up? Did you build ros_gz from source?

@Ryanf55
Copy link
Author

Ryanf55 commented Apr 19, 2024

What version of ROS were you using with Harmonic and how did you set it up? Did you build ros_gz from source?

Humble. I followed the README exactly as written, so yes, that's part of the repos file.

@Ryanf55
Copy link
Author

Ryanf55 commented Apr 19, 2024

I'm on discord as ryanf and available for debugging if you need.

@Ryanf55
Copy link
Author

Ryanf55 commented Apr 19, 2024

More info here: gazebosim/ros_gz_project_template#25

@oliviaseed
Copy link

If you are using Jazzy (recommended for Harmonic), the DiffDriveController now requires a TwistStamped message (release notes)

see an example here

@azeey azeey added the help wanted Extra attention is needed label Jul 15, 2024
@azeey azeey moved this from Inbox to To do in Core development Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: To do
Development

No branches or pull requests

3 participants