Robot Operating System

Here I will put some examples and documentation.

How to install the example used in the DAT295 lecture:

We assume ROS Kinetic is already installed on Debian Jessie. First we install an additional package.

sudo aptitude install ros-kinetic-robot-pose-ekf

Setup the workspace:

mkdir -p ws/src
cd ws/src
source /opt/ros/kinetic/setup.zsh
catkin_init_workspace
git clone https://github.com/thpe/amr-ros-config
git clone https://github.com/thpe/p3at_controller
catkin_make

First source the setup:

source ~/ws/devel/setup.zsh

Start the simulator:

roslaunch amr_robots_gazebo example-pioneer3at-world.launch

Then start localization:

roslaunch p3at_controller robot_pose_ekf.launch

Finally start the line following controller.

rosrun p3at_controller controller-line.py

In my case I have to reset the robot pose in Gazebo to get the robot moving.