ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to reflect gazebo environment in Rviz

asked 2020-02-14 17:24:49 -0600

rkman gravatar image

Hello Everyone,

I am trying to do path planning for different manipulators and I saw somewhere on the internet that we could interface Gazebo and Rviz environments. I thought it would be interesting if I add obstacles in the gazebo and the changes would reflect in Rviz and the planned path would vary accordingly. I would really appreciate any help on how to achieve this.

Thank you, everyone, in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-02-21 16:01:13 -0600

ansark gravatar image

Rviz is just used to visualize existing ROS topics it is NOT a physics engine.

Based on your description, it should be as simple as just spawning objects into gazebo, and they should show up in Rviz if you have a sensor that can see them (i.e. LiDAR). As for varying the planned path, you need to have a ROS node that does trajectory planning, and it should automatically handle it. (See MoveBase)

edit flag offensive delete link more

Comments

Thank you very much. That was very helpful.

rkman gravatar image rkman  ( 2020-02-24 15:03:08 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-02-14 17:24:49 -0600

Seen: 310 times

Last updated: Feb 14 '20