Rviz display problem of the robot model

asked 2020-01-20 13:12:36 -0500

houssem trabelsi gravatar image

I am trying to simulate robot with gazebo and Rviz at the same time. when I launch only Rviz the robot model displays correctly.but when I add gazebo simulation the it displays correctly, but for Rviz provided some issues my model can't display correctly as below .

image description

edit retag flag offensive close merge delete


Can you provide the exact nodes or launch files you are using please ? I suspect that you are missing nodes like robot_state_publisher/joint_state_publisher for the TFs.

to simulate robot with gazebo and Rviz at the same time

Just to be precize, you can't do that : Rviz is a visulaization tool so you don't simulate a robot with it. That means that if your Gazebo simulation is running propperly (and TF are correctly set) you can simply launch rviz after and you should be able to get visual informations of your robot directly.

Delb gravatar image Delb  ( 2020-01-21 03:25:45 -0500 )edit

after trying to change many parameter in my launch file i found my issue is the use_sim_time arg

houssem trabelsi gravatar image houssem trabelsi  ( 2020-01-22 10:58:39 -0500 )edit