All the steps described in the first version should be applied. The ros-hydro-ros-controllers should also be installed (see the issue described here). You are now ready to test your installation.
A nice way to validate it on your side is to use the gazebo_ros_demo package. This package provides a simple 2 joints, 3 links robot, the rrbot (rr means 2 planar revolute joints).
You will need to install catkin (official tutorial there). I’m used to install it on my ~/Documents folder:
1234
mkdir -p ~/Documents/catkin_ws/src
cd ~/catkin_ws/
catkin_make
source devel/setup.bash
Clone the demo package and run the following commands.
For the robot visualization:
1
roslaunch rrbot_description rrbot_rviz.launch
Close the visualisation and start the robot simulation:
1
roslaunch rrbot_gazebo rrbot_world.launch
You will see:
(the robot should fall from the initial unstable position)
Start the controllers from another terminal:
1
roslaunch rrbot_control rrbot_control.launch
If everything is fine, you should see a log similar to this one from the terminal of the controllers node: