Can I use gazebo/model_states in lieu of sensors for ROS navigation?

asked 2018-03-01 14:58:26 -0600

raequin gravatar image

Greetings. This is for a project that's going to use a MiR robot but is currently at a proof-of-concept phase in Gazebo. We'll have a UR 10 attached to the MiR. The UR has a ROS package and a Gazebo model but the MiR has neither. This question is about obtaining simplified behavior for the mobile robot in Gazebo.

The MiR can be given goal positions via the REST API. Our plan is to create an action server ("mir_comm") to take a Pose from our dispatch node and send that request to the MiR via REST. We are therefore treating navigation as a black box; we expect the MiR to provide sufficiently accurate positioning. When using Gazebo, mir_comm might send either a MoveBaseGoal or Pose to a navigator node we'll make for that simulation. Here, finally, is my question. Can we use move_base or ROS navigation with the gazebo/model_states topic for localization?

Since we're treating MiR navigation as a black box there seems to be no reason to model a range sensor and perform mapping and localization in Gazebo. We will have to create a static map of the world for path planning, I suppose, which would be no problem.

Also, let me know whether or not this question is appropriate on answers.gazebosim.

edit retag flag offensive close merge delete