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

Revision history [back]

There are certainly other ways to make the pioneers move. You might consider the vanderbilt-p2os stack. It has been updated to be used with Groovy. We use it on the three pioneer robots at Vanderbilt.

The velocity can be sent to the p2os stack by publishing a geometry_msgs::Twist message to the topic /base_controller/command. You can read the odometry with the topic /pose, which is of type nav_msgs::Odometry.

If you need an example, you can find one here.

click to hide/show revision 2
linked a new tutorial

There are certainly other ways to make the pioneers move. You might consider the vanderbilt-p2os stack. It has been updated to be used with Groovy. We use it on the three pioneer robots at Vanderbilt.

The velocity can be sent to the p2os stack by publishing a geometry_msgs::Twist message to the topic /base_controller/command. You can read the odometry with the topic /pose, which is of type nav_msgs::Odometry.

If you need an example, a Tutorial, you can find one here.

click to hide/show revision 3
Added some instructions

There are certainly other ways to make the pioneers move. You might consider the vanderbilt-p2os stack. It has been updated to be used with Groovy. We use it on the three pioneer robots at Vanderbilt.

The velocity can be sent to the p2os stack by publishing a geometry_msgs::Twist message to the topic /base_controller/command. You can read the odometry with the topic /pose, which is of type nav_msgs::Odometry.

If you need a Tutorial, you can find one here.


According to the pastebin output, you checked out the package vanderbilt-ros-pkg... You need to check out vanderbilt-p2os. It also appears you are trying to build from your Downloads directory.

So, you need to make yourself a workstation. This should create a workstation and download the code.

mkdir -p ~/ros_ws/src
cd ~/ros_ws/src
catkin_init_workspace
cd ~/ros_ws/
catkin_make
source devel/setup.bash
echo "source ~/ros_ws/devel/setup.bash" >> ~/.bashrc
cd src && git clone https://github.com/allenh1/p2os.git
source ../devel/setup.bash
rosmake p2os
click to hide/show revision 4
Added some instructions

There are certainly other ways to make the pioneers move. You might consider the vanderbilt-p2os stack. It has been updated to be used with Groovy. We use it on the three pioneer robots at Vanderbilt.

The velocity can be sent to the p2os stack by publishing a geometry_msgs::Twist message to the topic /base_controller/command. You can read the odometry with the topic /pose, which is of type nav_msgs::Odometry.

If you need a Tutorial, you can find one here.


According to the pastebin output, you checked out the package vanderbilt-ros-pkg... You need to check out vanderbilt-p2os. It also appears you are trying to build from your Downloads directory.

So, you need to make yourself a workstation. This should create a workstation and download the code.

mkdir -p ~/ros_ws/src
cd ~/ros_ws/src
catkin_init_workspace
cd ~/ros_ws/
catkin_make
source devel/setup.bash
echo "source ~/ros_ws/devel/setup.bash" >> ~/.bashrc
cd src && git clone https://github.com/allenh1/p2os.git
source ../devel/setup.bash
rosmake p2os

There are certainly other ways to make the pioneers move. You might consider the vanderbilt-p2os stack. It has been updated to be used with Groovy. We use it on the three pioneer robots at Vanderbilt.

The velocity can be sent to the p2os stack by publishing a geometry_msgs::Twist message to the topic /base_controller/command. You can read the odometry with the topic /pose, which is of type nav_msgs::Odometry.

If you need a Tutorial, you can find one this hereone. will supply code for reading the position data, and this one will supply code for sending velocity commands.


According to the pastebin output, you checked out the package vanderbilt-ros-pkg... You need to check out vanderbilt-p2os. It also appears you are trying to build from your Downloads directory.

So, you need to make yourself a workstation. This should create a workstation and download the code.

mkdir -p ~/ros_ws/src
cd ~/ros_ws/src
catkin_init_workspace
cd ~/ros_ws/
catkin_make
source devel/setup.bash
echo "source ~/ros_ws/devel/setup.bash" >> ~/.bashrc
cd src && git clone https://github.com/allenh1/p2os.git
source ../devel/setup.bash
rosmake p2os
click to hide/show revision 6
added build dependency.

There are certainly other ways to make the pioneers move. You might consider the vanderbilt-p2os stack. It has been updated to be used with Groovy. We use it on the three pioneer robots at Vanderbilt.

The velocity can be sent to the p2os stack by publishing a geometry_msgs::Twist message to the topic /base_controller/command. You can read the odometry with the topic /pose, which is of type nav_msgs::Odometry.

If you need a Tutorial, this one will supply code for reading the position data, and this one will supply code for sending velocity commands.


According to the pastebin output, you checked out the package vanderbilt-ros-pkg... You need to check out vanderbilt-p2os. It also appears you are trying to build from your Downloads directory.

So, you need to make yourself a workstation. This should create a workstation and download the code.

mkdir -p ~/ros_ws/src
cd ~/ros_ws/src
catkin_init_workspace
cd ~/ros_ws/
catkin_make
source devel/setup.bash
echo "source ~/ros_ws/devel/setup.bash" >> ~/.bashrc
cd src && git clone https://github.com/allenh1/p2os.git
source ../devel/setup.bash
rosmake p2os

Ok. The package you mentioned is included within the PR2 packages. Easy fix, thankfully! I think this should do it:

sudo apt-get install ros-groovy-pr2-controllers

There are certainly other ways to make the pioneers move. You might consider the vanderbilt-p2os stack. It has been updated to be used with Groovy. We use it on the three pioneer robots at Vanderbilt.

The velocity can be sent to the p2os stack by publishing a geometry_msgs::Twist message to the topic /base_controller/command. You can read the odometry with the topic /pose, which is of type nav_msgs::Odometry.

If you need a Tutorial, this one will supply code for reading the position data, and this one will supply code for sending velocity commands.


According to the pastebin output, you checked out the package vanderbilt-ros-pkg... You need to check out vanderbilt-p2os. It also appears you are trying to build from your Downloads directory.

So, you need to make yourself a workstation. This should create a workstation and download the code.

mkdir -p ~/ros_ws/src
cd ~/ros_ws/src
catkin_init_workspace
cd ~/ros_ws/
catkin_make
source devel/setup.bash
echo "source ~/ros_ws/devel/setup.bash" >> ~/.bashrc
cd src && git clone https://github.com/allenh1/p2os.git
source ../devel/setup.bash
rosmake p2os

Ok. The package you mentioned is included within the PR2 packages. Easy fix, thankfully! I think this should do it:

sudo apt-get install ros-groovy-pr2-controllers

The error you got when you tried to run the above command is a dependency problem. Do as the terminal says. You probably have some broken packages on your system. As for trying the source, check to make sure you placed the source in the ~/ros_ws/src directory and built it there. If you failed to put it within your ROS environment, ROS cannot find it.