O'Reilly logo

ROS Robotics By Example by Dr. Thomas L. Harman, Carol Fairchild

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Launching Baxter Simulator in Gazebo

Before launching Baxter Simulator in Gazebo, it is important to check the ROS environment variables. To start up Baxter Simulator, use the following commands to get to your Baxter catkin workspace and run your baxter.sh script with the sim parameter:

$ cd ~/baxter_ws
$ ./baxter.sh sim

At this point, check your ROS environment with the following command:

$ env | grep ROS

Within the output screen text, look for the following result:

ROS_MASTER_URI=http://localhost:11311
ROS_IP= <your workstation's IP address>

or

ROS_HOSTNAME=<your workstation's hostname>

The ROS_HOSTNAME field need not be present.

If there are issues with Baxter's hardware, software, or network, refer to the general Baxter troubleshooting website ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required