Skip to content

Harmonic: Add information to reproduce demo in ros_gz_project_template #435

@Ryanf55

Description

@Ryanf55

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions