Installing Gazebo 8 with ROS Kinetic: Difference between revisions

From Intelligent Materials and Systems Lab

No edit summary
No edit summary
Line 5: Line 5:
*Install ROS Kinetic full installation  
*Install ROS Kinetic full installation  


[http://wiki.ros.org/kinetic/Installation/Ubuntu ROS install tutorial]
[http://wiki.ros.org/kinetic/Installation/Ubuntu http://wiki.ros.org/kinetic/Installation/Ubuntu]


*Uninstall Gazebo 7
*Uninstall Gazebo 7
Line 11: Line 11:
*Install Gazebo 8
*Install Gazebo 8


[http://gazebosim.org/tutorials?tut=install_ubuntu Gazebo install tutorial]
[http://gazebosim.org/tutorials?tut=install_ubuntu http://gazebosim.org/tutorials?tut=install_ubuntu]


' curl -ssL http://get.gazebosim.org | sh '
' curl -ssL http://get.gazebosim.org | sh '
Line 17: Line 17:
*Clone gazebo_ros_pkgs to catkin_ws/src
*Clone gazebo_ros_pkgs to catkin_ws/src


[https://github.com/ros-simulation/gazebo_ros_pkgs gazebo_ros_pkgs Github repository ]
[https://github.com/ros-simulation/gazebo_ros_pkgs gazebo_ros_pkgs https://github.com/ros-simulation/gazebo_ros_pkgs gazebo_ros_pkgs ]


*try to catkin_make
*try to catkin_make
Line 24: Line 24:


after successfully catkin_make'ing the package the installation should be done.
after successfully catkin_make'ing the package the installation should be done.




Line 29: Line 31:
*Error building keyboard_reader package
*Error building keyboard_reader package
"error: ros/ros.h: No such file or directory"
"error: ros/ros.h: No such file or directory"
Solved by adding the line " include_directories(${catkin_INCLUDE_DIRS}) " to package CMakeLists.txt
Solved by adding the line " include_directories(${catkin_INCLUDE_DIRS}) " to package CMakeLists.txt  
[https://github.com/ros-interactive-manipulation/sql_database/issues/8 Forum link]
 
[https://github.com/ros-interactive-manipulation/sql_database/issues/8 https://github.com/ros-interactive-manipulation/sql_database/issues/8]
 
 
*teleop_twist_keyboard
after installing teleop_twist_keyboard with ' sudo apt-get install ros-kinetic-teleop-twist-keyboard ' the package did not publish /cmd_vel. When uinstalled and built from source worked as expected.
 
[http://wiki.ros.org/teleop_twist_keyboard http://wiki.ros.org/teleop_twist_keyboard]

Revision as of 11:46, 31 March 2017

Installing ROS Kinetic and Gazebo 8

  • Install ROS Kinetic full installation

http://wiki.ros.org/kinetic/Installation/Ubuntu

  • Uninstall Gazebo 7
  • Install Gazebo 8

http://gazebosim.org/tutorials?tut=install_ubuntu

' curl -ssL http://get.gazebosim.org | sh '

  • Clone gazebo_ros_pkgs to catkin_ws/src

gazebo_ros_pkgs https://github.com/ros-simulation/gazebo_ros_pkgs gazebo_ros_pkgs

  • try to catkin_make

I got about 3 errors of missing dependencies one a time and installed them with ' sudo apt-get install ros-kinetic-<package_name> ' Some "_" needed to be "-" for installing, use tab-completion to finish typing. Install each package and repeat until successful.

after successfully catkin_make'ing the package the installation should be done.



  • Error building keyboard_reader package

"error: ros/ros.h: No such file or directory" Solved by adding the line " include_directories(${catkin_INCLUDE_DIRS}) " to package CMakeLists.txt

https://github.com/ros-interactive-manipulation/sql_database/issues/8


  • teleop_twist_keyboard

after installing teleop_twist_keyboard with ' sudo apt-get install ros-kinetic-teleop-twist-keyboard ' the package did not publish /cmd_vel. When uinstalled and built from source worked as expected.

http://wiki.ros.org/teleop_twist_keyboard