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

How to use Baxter in simulation with Rviz and moveit?

asked 2019-06-16 12:14:39 -0500

Tawfiq Chowdhury gravatar image

I have come across the following tutorials of Baxter.

Baxter Simulator

Baxter with Moveit

However, what I need is a tutorial that will enable me to work with Baxter in simulation as we can do with PR2 in Rviz. I need a launch file that will launch the Baxter Robot in Rviz. We have that for PR2 in this.

This Baxter simulator tutorial is with Gazebo, I want to perform the same tasks in Baxter with Rviz that I did with PR2.

Could anyone share a launch file and an example python code?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-06-16 18:11:54 -0500

Geoff gravatar image

The tutorial you are looking for is this one for using Baxter with MoveIt. Follow the simulation tutorial to get Baxter going in Gazebo, then follow the above tutorial, starting from where it says "In another RSDK terminal session, Launch the rviz MoveIt! plugin".

In general, any MoveIt-enabled robot will have a package called something like baxter_moveit_config. This package will contain launch files for starting the MoveIt interfaces, the rviz-based GUI tool, etc.

edit flag offensive delete link more


You also need to put the baxter_moveit_config package in your src folder

Tawfiq Chowdhury gravatar image Tawfiq Chowdhury  ( 2019-06-17 16:05:20 -0500 )edit

@Geoff I am having another issue, the planner is neither working in Rviz if I just drag the interactive marker and then plan nor if I run this tutorial. It keeps failing when I drag the marker in Rviz and then plan and when I run the tutorial code, it keeps saying no motion plan found.

Tawfiq Chowdhury gravatar image Tawfiq Chowdhury  ( 2019-06-18 17:46:02 -0500 )edit

Please ask a new question for that.

Geoff gravatar image Geoff  ( 2019-06-18 18:56:43 -0500 )edit

You also need to run these two commands in two separate terminals from this

rosrun baxter_tools -e
rosrun baxter_interface
Tawfiq Chowdhury gravatar image Tawfiq Chowdhury  ( 2019-06-21 17:52:04 -0500 )edit

Question Tools



Asked: 2019-06-16 12:14:39 -0500

Seen: 1,560 times

Last updated: Jun 16 '19