[Documentation] [TitleIndex] [WordIndex

(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Getting Started with p2os

Description: A quick tutorial for installing and running p2os with ROS

Keywords: p2os, pioneer

Tutorial Level: BEGINNER





Setting up ROS

See installing ROS for instructions on how to install ROS.

Getting the files

From Ubuntu repositories

sudo apt-get install ros-electric-p2os ros-electric-joystick-drivers

Compiling from source

Checkout SVN repository

cd ~/ros

svn co https://usc-ros-pkg.svn.sourceforge.net/svnroot/usc-ros-pkg/trunk/p2os/

Compile the code

sudo apt-get install ros-electric-joystick-drivers 

rosmake p2os --rosdep-install

Configuring network names

Gathering information

Configuring the base station

sudo vim /etc/hosts    localhost <name of base>

to    localhost
<ip of base>    <name of base>
<ip of pioneer pc>    <name of pioneer pc>

Configuring the Pioneer

Configuring ROS network parameters

Configuring the base station

... export ROS_MASTER_URI=http://<ip of base>:11311 ...
export ROS_MASTER_IP=<ip of base>

Configuring the Pioneer

export ROS_MASTER_URI=http://<ip of base>:11311


Starting roscore on the base station


Starting the p2os dashboard

rosrun p2os_dashboard p2os_dashboard

Starting p2os on the Pioneer

rosrun p2os_driver p2os

Starting Teleoperation

roslaunch p2os_launch teleop_joy

2020-01-25 12:56