[Closed] Gazebo simulator with Rviz tutorial error

Hi.
I try to follow your tutorial using Gazebo simulator.
https://husarion.com/tutorials/ros-tutorials/3-simple-kinematics-for-mobile-robot/#:~:text=during%20robot%20motion%3A-,Robot,-visualization%20with%20Rviz

First, I launch rosbot_description rosbot.launch
roslaunch rosbot_description rosbot.launch

after that I launch the launch file like below link.
https://husarion.com/tutorials/ros-tutorials/3-simple-kinematics-for-mobile-robot/#:~:text=You%20can%20also%20start%20all%20nodes%20with%20single%20.launch%20file%3A

then the following errors came.

When I add the /odom/Odometry topic and TF, there is a no an arrow representing position and orientation of robot.
https://husarion.com/tutorials/ros-tutorials/3-simple-kinematics-for-mobile-robot/#:~:text=click%20OK.-,If%20you%20are%20working%20with%20Gazebo%3A,-Find%20topic%20/odom

So, I check the topic as follow. The topics are published normally.
rostopic echo is also working.

How can I fix it?

Thank you.

Hello @chokings

we will try to reproduce this issue and let you know soon.

Best regards
Jan Brzyk

Hello @chokings

The tutorials you are using, unfortunately, may be outdated in some places as they were made for ROS Melodic, which has less time of support remaning than ROS Noetic. Soon I will be updating all ROS Tutorials one by one to make them compatible with the system we currently support. I will let you know then.

What robot/hardware are you using and what system image do you have installed there? By the way, you can send the Serial Number (S/N) of your ROSbot.

Best regards
Jan Brzyk

Thank you for answer.

Currently, 4 units of Rosbot 2.0 are purchased and used, but the tutorial is being conducted with Gazebo simulator.

The images currently installed on the robot are Ubuntu 18.04 + ROS Melodic + Docker + Husarnet client.

The serial numbers are 44930, 349401, 829390 and 64967.

Hello @chokings

As I said, we are in the process of refreshing and reproducing ROS Tutorials, which due to being based on ROS Melodic and some other issues may be out of date in some places and may throw errors in extreme cases. As soon as the part you’re having trouble with is updated, I’ll get back to you.

Best regards
Jan Brzyk

Hello @chokings

I am very happy to let you know that the ROS Tutorial 3. Simple kinematics and visualization has been updated and now should work properly. Let me know about your results!

Best regards
Jan Brzyk

1 Like

Hi,
We have recently update ROS Tutorial from 1-5. I would like to recommend and encourage you to go through the tutorials from the beginning, because there are quite a lot of changes.

But if at the moment you want to do only 3 tutorials, all you need to do is:

  1. Download the patched repository to your workspace:
    git clone -b noetic https://github.com/husarion/rosbot_ros.git
    For more details about starting Gazebo simulator check: ROS introduction | Husarion

  2. Then provide according to the information contained in the 3rd tutorial: Simple kinematics and visualization | Husarion

Please let us know if you run into any more errors. Please create a new topic for this.

1 Like

I’m closing this thread after >2 months of inactivity.