This is an old revision of the document!

Main page: robotnik rb-1

This section will cover how to install, launch and test the rb1 simulation. It is based on ROS and uses rviz and gazebo.



If it hasn't been done already, the first step is to install ROS. The installation process and required ROS version varies depending on the OS. The simulation has been tested on ROS melodic and kinetic.

ROS Melodic (Ubuntu 18.04):
ROS Kinetic (Ubuntu 16.04):

If this your first time using ROS, it is recommended to follow the tutorials at:

The next step is to create a catkin workspace to put all the simulation packages. Details are provided here:

RB1 packages

Once ROS has been installed and a catkin workspace has been prepared, the simulation packages can be installed.

A script has been prepared for the complete installation of all the required packages on ROS kinetic and melodic.

The content of the script is as followed:

cd /path/to/catkin_workspace/
git clone 
git clone
git clone -b kinetic-devel

Installs the packages required for the simulation. At the moment only the kinetic-devel branch of kinova-ros works with the simulation. If another version is installed, the arm will be stuck into the rb1 and enable to move.

git clone -b ${ROS_DISTRO}-devel
git clone -b ${ROS_DISTRO}-devel
git clone -b ${ROS_DISTRO}-devel
git clone -b ${ROS_DISTRO}-devel
git clone
git clone
git clone

Install dependencies. ${ROS_DISTRO} is an environment variable corresponding to the ROS distribution installed.

$ sudo apt-get install ros-${ROS_DISTRO}-ros-control ros-${ROS_DISTRO}-joint-state-controller ros-${ROS_DISTRO}-effort-controllers ros-${ROS_DISTRO}-position-controllers ros-${ROS_DISTRO}-velocity-controllers ros-${ROS_DISTRO}-ros-controllers ros-${ROS_DISTRO}-gazebo-ros ros-${ROS_DISTRO}-gazebo-ros-control
#rosdep update
$ rosdep install --from-paths src --ignore-src -r -y

Install or update additional dependencies and packages used for simulations (gazebo…)


Several .launchfiles were prepared to correct a few bugs with the simulation and launch the simulations.

Two main launchfiles called rb1_melodic_complete.launch and rb1_kinetic_complete.launch were prepared. They can be used to start a simulation with: odometry and navigation using rviz; the robot in a 3D environment using gazebo; arm movement using moveit. Please note that this may take a lot of resources, especially on a laptop.

cd /path/to/catkin_workspace/
source devel/setup.bash
roslaunch rb1_fix rb1_${ROS_DISTRO}_complete.launch





Known issues

  • hardware/rb1_simulation.1608202542.txt.gz
  • Last modified: 2020/12/17 10:55
  • by