Ask Your Question
0

Trying to run ros in 5 days simulation on my computer

asked 2018-02-12 10:54:59 -0500

busFred gravatar image

updated 2018-02-12 12:36:50 -0500

jayess gravatar image

hi I'm now using the book "ROS in 5 days" to learn the concept of ROS. However, I want to launch the simulation on my own ThinkPad laptop instead of the ROS Development Studio (RDS). I've download the ROS simulation package from the following website

While catkin_make them, I faced the fowlloing message


fred@fred-ThinkPad-X200s:~/catkin_ws$ catkin_make
Base path: /home/fred/catkin_ws
Source space: /home/fred/catkin_ws/src
Build space: /home/fred/catkin_ws/build
Devel space: /home/fred/catkin_ws/develfred@fred-ThinkPad-X200s:~/catkin_ws$ catkin_make
Base path: /home/fred/catkin_ws
Source space: /home/fred/catkin_ws/src
Build space: /home/fred/catkin_ws/build
Devel space: /home/fred/catkin_ws/devel
Install space: /home/fred/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/fred/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/fred/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/fred/catkin_ws/devel;/opt/ros/kinetic
-- This workspace overlays: /home/fred/catkin_ws/devel;/opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/fred/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.8
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 15 packages in topological order:
-- ~~  - bb_8_description
-- ~~  - sphero_description
-- ~~  - turtlebot (metapackage)
-- ~~  - turtlebot_gazebo
-- ~~  - sphero_node
-- ~~  - iri_wam_reproduce_trajectory
-- ~~  - iri_wam_aff_demo
-- ~~  - bb_8_teleop
-- ~~  - turtlebot_teleop
-- ~~  - bb_8_gazebo
-- ~~  - iri_wam_description
-- ~~  - iri_wam_gazebo
-- ~~  - kobuki_description
-- ~~  - sphero_gazebo
-- ~~  - turtlebot_description
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'bb_8_description'
-- ==> add_subdirectory(bb8/bb_8_description)
-- +++ processing catkin package: 'sphero_description'
-- ==> add_subdirectory(sphero/sphero/sphero_description)
-- +++ processing catkin metapackage: 'turtlebot'
-- ==> add_subdirectory(kobuki/kobuki/turtlebot)
-- +++ processing catkin package: 'turtlebot_gazebo'
-- ==> add_subdirectory(kobuki/kobuki/turtlebot_gazebo)
-- +++ processing catkin package: 'sphero_node'
-- ==> add_subdirectory(sphero/sphero/sphero_node)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- sphero_node: 1 messages, 0 services
-- +++ processing catkin package: 'iri_wam_reproduce_trajectory'
-- ==> add_subdirectory(iri_wam/iri_wam_reproduce_trajectory)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   system
-- iri_wam_reproduce_trajectory: 0 messages, 1 services
-- +++ processing catkin package: 'iri_wam_aff_demo'
-- ==> add_subdirectory(iri_wam/iri_wam_aff_demo)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'bb_8_teleop'
-- ==> add_subdirectory(bb8/bb_8_teleop)
-- +++ processing catkin package: 'turtlebot_teleop'
-- ==> add_subdirectory(kobuki/kobuki/turtlebot_teleop)
-- +++ processing catkin package: 'bb_8_gazebo'
-- ==> add_subdirectory(bb8/bb_8_gazebo)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
--   thread
--   signals
--   system
--   filesystem
--   program_options
--   regex
--   iostreams
--   date_time
--   chrono
--   atomic
-- Boost version: 1.58.0
-- Looking for OGRE...
-- Found Ogre Ghadamon (1.9.0)
-- Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so
-- Looking for OGRE_Paging...
-- Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
-- Looking for OGRE_Terrain...
-- Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
-- Looking for OGRE_Property...
-- Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
-- Looking for OGRE_RTShaderSystem...
-- Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
-- Looking for OGRE_Volume...
-- Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2018-02-14 04:44:04 -0500

R. Tellez gravatar image

Hi, you are missing a package in your system. You have not installed the package that provides gazebo_ros_utils. The package that contains that is ros-indigo-gazebo-plugins. You should install everything ROS + Gazebo before trying to use the simulations. That is why we suggest you launch it at the RDS, because everything is configured.

edit flag offensive delete link more

Comments

2

If the packages have been created properly, and declare all their dependencies, wouldn't a rosdep install --from-paths /home/fred/catkin_ws/src --ignore-src install everything? Then building should work just fine.

gvdhoorn gravatar imagegvdhoorn ( 2018-02-14 06:49:01 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-02-12 10:54:59 -0500

Seen: 321 times

Last updated: Feb 14 '18