Gazebo | Ignition | Community
Ask Your Question
0

error: simulation of hokuyo in gazebo

asked 2014-02-21 21:32:12 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

ROSMotorandSensorPlugins I followed this tutorial of gazebo,start the gazebo by the .launch file, and then when i start a window for the topic of lazer,i stoped by the follow errors.. I can't find the raison..someone can help me? what's wrong with it...is it because of the installation? or others..

uurobot-elisa@uurobot-elisa-Vostro-260s:~$ roslaunch rrbot_gazebo rrbot_world.launch 
... logging to /home/uurobot-elisa/.ros/log/eb03b118-9b6c-11e3-8caa-d4bed9e5914f/roslaunch-uurobot-elisa-Vostro-260s-5509.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://uurobot-elisa-Vostro-260s:35306/

SUMMARY
========

PARAMETERS
 * /robot_description
 * /rosdistro
 * /rosversion
 * /use_sim_time

NODES
  /
    gazebo (gazebo_ros/gzserver)
    gazebo_gui (gazebo_ros/gzclient)
    urdf_spawner (gazebo_ros/spawn_model)

auto-starting new master
process[master]: started with pid [5526]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to eb03b118-9b6c-11e3-8caa-d4bed9e5914f
process[rosout-1]: started with pid [5539]
started core service [/rosout]
process[gazebo-2]: started with pid [5553]
process[gazebo_gui-3]: started with pid [5560]
Gazebo multi-robot simulator, version 1.9.2
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

process[urdf_spawner-4]: started with pid [5566]
Gazebo multi-robot simulator, version 1.9.2
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

Msg Waiting for master.[ INFO] [1393037787.127709860]: Finished loading Gazebo ROS API Plugin.
Msg Waiting for master
[ INFO] [1393037787.135609591]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 192.168.1.180
spawn_model script started
[INFO] [WallTime: 1393037787.595226] [0.000000] Loading model xml from ros parameter
[INFO] [WallTime: 1393037787.600680] [0.000000] Waiting for service /gazebo/spawn_urdf_model
[INFO] [WallTime: 1393037787.602610] [0.000000] Calling service /gazebo/spawn_urdf_model
[ INFO] [1393037787.627291728, 0.021000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.

Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 192.168.1.180
[INFO] [WallTime: 1393037788.288084] [0.189000] Spawn status: SpawnModel: Successfully spawned model
[ INFO] [1393037788.312136623, 0.189000000]: Physics dynamic reconfigure ready.
[urdf_spawner-4] process has finished cleanly
log file: /home/uurobot-elisa/.ros/log/eb03b118-9b6c-11e3-8caa-d4bed9e5914f/urdf_spawner-4*.log
[ INFO] [1393037789.002867620, 0.189000000]: Loading gazebo_ros_control plugin
[ INFO] [1393037789.003837299, 0.189000000]: Starting gazebo_ros_control plugin in namespace: /rrbot
[ INFO] [1393037789.010748989, 0.189000000]: gazebo_ros_control plugin is waiting for model URDF in parameter [/robot_description] on the ROS param server.
[ INFO] [1393037789.014169210, 0.189000000]: LoadThread function completed
[ INFO] [1393037789.459892431, 0.189000000]: pluginlib WARNING: In file /tmp/buildd/ros-hydro-gazebo-ros-control-2.3.4-0precise-20140210-0904/src/default_robot_hw_sim.cpp PLUGINLIB_DECLARE_CLASS is deprecated, please use PLUGINLIB_EXPORT_CLASS instead. You can run the script 'plugin_macro_update' provided with pluginlib in your package source folder to automatically and recursively update legacy macros.  Base = base_class_type, Derived = derived_class_type
[FATAL] [1393037789.521632897, 0.189000000]: Failed to create robot simulation interface loader: rospack could not find the controller_interface package containing controller_interface::ControllerBase
[ INFO] [1393037789.522550717, 0.189000000]: Loaded gazebo_ros_control.
Segmentation fault (core dumped)
[gazebo-2] process has died [pid 5553, exit code 139, cmd /opt/ros/hydro ...
(more)
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2014-02-24 19:12:16 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

It looks like this line is first error to resolve:

[FATAL] [1393037789.521632897, 0.189000000]: Failed to create robot simulation interface loader: rospack could not find the controller_interface package containing controller_interface::ControllerBase

The error indicates that ros couldn't find the controller_interface package. Did you install that package? And did you source the catkin workspace's setup.sh file?

edit flag offensive delete link more

Comments

that was exact.....i didn't installer ros_controllers by error.. After the correction, there are always the problem. Every time i try to display the topic of hokuyo sensor, the second error appear. Something wrong whit the rrbot.world?? need i modify it?

loulou0219 gravatar imageloulou0219 ( 2014-02-24 20:19:23 -0500 )edit
0

answered 2014-02-24 19:12:55 -0500

nkoenig gravatar image

It looks like this line is first error to resolve:

[FATAL] [1393037789.521632897, 0.189000000]: Failed to create robot simulation interface loader: rospack could not find the controller_interface package containing controller_interface::ControllerBase

The error indicates that ros couldn't find the controller_interface package. Did you install that package? And did you source the catkin workspace's setup.sh file?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-02-21 21:32:12 -0500

Seen: 1,845 times

Last updated: Feb 24 '14