Robotics StackExchange | Archived questions

Everything goes wrong with turtlebot tutorials !!

Hello,

I don't know what is going on with my turtlebot2. I had many problems while I was working with turtlebot tutorials

http://www.ros.org/wiki/turtlebot/Tutorials

For example, when I try

roslaunch turtlebot_follower follower.launch

I get

... logging to /home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/roslaunch-turtlebot-1025C-3596.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://153.91.222.65:47181/

SUMMARY
========

PARAMETERS
 * /camera/depth/rectify_depth/interpolation
 * /camera/depthimage_to_laserscan_loader/output_frame_id
 * /camera/depthimage_to_laserscan_loader/range_min
 * /camera/follower/goal_z
 * /camera/follower/max_x
 * /camera/follower/max_y
 * /camera/follower/max_z
 * /camera/follower/min_x
 * /camera/follower/min_y
 * /camera/follower/x_scale
 * /camera/follower/z_scale
 * /camera/openni_camera_loader/depth_frame_id
 * /camera/openni_camera_loader/depth_mode
 * /camera/openni_camera_loader/depth_registration
 * /camera/openni_camera_loader/depth_time_offset
 * /camera/openni_camera_loader/image_mode
 * /camera/openni_camera_loader/image_time_offset
 * /camera/openni_camera_loader/rgb_frame_id
 * /follower_velocity_smoother/accel_lim_v
 * /follower_velocity_smoother/accel_lim_w
 * /follower_velocity_smoother/decel_factor
 * /follower_velocity_smoother/frequency
 * /follower_velocity_smoother/speed_lim_v
 * /follower_velocity_smoother/speed_lim_w
 * /rosdistro
 * /rosversion

NODES
  /camera/
    camera_nodelet_manager (nodelet/nodelet)
    depthimage_to_laserscan_loader (nodelet/nodelet)
    follower (nodelet/nodelet)
    openni_camera_loader (nodelet/nodelet)
  /camera/depth/
    points (nodelet/nodelet)
    rectify_depth (nodelet/nodelet)
  /
    follower_velocity_smoother (nodelet/nodelet)

ROS_MASTER_URI=http://153.91.222.65:11311

core service [/rosout] found
process[follower_velocity_smoother-1]: started with pid [4095]
process[camera/camera_nodelet_manager-2]: started with pid [4160]
process[camera/openni_camera_loader-3]: started with pid [4205]
[ERROR] [1361143832.773250146]: Failed to load nodelet [/camera/openni_camera_loader] of type [openni_camera/driver]: Failed to load library /opt/ros/groovy/lib//libopenni_nodelet.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /opt/ros/groovy/lib//libopenni_nodelet.so: undefined symbol: _ZN12class_loader20class_loader_private22AbstractMetaObjectBaseC2ERKSsS3_)
[FATAL] [1361143832.787996783]: Service call failed!
[camera/openni_camera_loader-3] process has died [pid 4205, exit code 255, cmd /opt/ros/groovy/lib/nodelet/nodelet load openni_camera/driver camera_nodelet_manager __name:=openni_camera_loader __log:=/home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/camera-openni_camera_loader-3.log].
log file: /home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/camera-openni_camera_loader-3*.log
respawning...
[camera/openni_camera_loader-3] restarting process
process[camera/openni_camera_loader-3]: started with pid [4271]
process[camera/depth/rectify_depth-4]: started with pid [4310]
[ERROR] [1361143833.785294962]: Failed to load nodelet [/camera/openni_camera_loader] of type [openni_camera/driver]: MultiLibraryClassLoader: Could not create object of class type openni_camera::DriverNodelet as no factory exists for it. Make sure that the library exists and was explicitly loaded through MultiLibraryClassLoader::loadLibrary()
[FATAL] [1361143833.802495745]: Service call failed!
[ERROR] [1361143833.803931278]: Failed to find nodelet with name '/camera/depth/rectify_depth' to unload.
[FATAL] [1361143833.809957110]: Service call failed!

also, when I try

roslaunch turtlebot_navigation gmapping_demo.launch

I get

... logging to /home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/roslaunch-turtlebot-1025C-15139.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://153.91.222.65:47114/

SUMMARY
========

PARAMETERS
 * /camera/depthimage_to_laserscan_loader/output_frame_id
 * /camera/depthimage_to_laserscan_loader/range_min
 * /camera/openni_camera_loader/depth_frame_id
 * /camera/openni_camera_loader/depth_mode
 * /camera/openni_camera_loader/depth_registration
 * /camera/openni_camera_loader/depth_time_offset
 * /camera/openni_camera_loader/image_mode
 * /camera/openni_camera_loader/image_time_offset
 * /camera/openni_camera_loader/rgb_frame_id
 * /move_base/TrajectoryPlannerROS/acc_lim_th
 * /move_base/TrajectoryPlannerROS/acc_lim_x
 * /move_base/TrajectoryPlannerROS/acc_lim_y
 * /move_base/TrajectoryPlannerROS/dwa
 * /move_base/TrajectoryPlannerROS/goal_distance_bias
 * /move_base/TrajectoryPlannerROS/heading_lookahead
 * /move_base/TrajectoryPlannerROS/holonomic_robot
 * /move_base/TrajectoryPlannerROS/max_rotational_vel
 * /move_base/TrajectoryPlannerROS/max_vel_x
 * /move_base/TrajectoryPlannerROS/min_in_place_rotational_vel
 * /move_base/TrajectoryPlannerROS/min_vel_x
 * /move_base/TrajectoryPlannerROS/oscillation_reset_dist
 * /move_base/TrajectoryPlannerROS/path_distance_bias
 * /move_base/TrajectoryPlannerROS/sim_time
 * /move_base/TrajectoryPlannerROS/vtheta_samples
 * /move_base/TrajectoryPlannerROS/vx_samples
 * /move_base/TrajectoryPlannerROS/xy_goal_tolerance
 * /move_base/TrajectoryPlannerROS/yaw_goal_tolerance
 * /move_base/controller_frequency
 * /move_base/global_costmap/bump/clearing
 * /move_base/global_costmap/bump/data_type
 * /move_base/global_costmap/bump/marking
 * /move_base/global_costmap/bump/topic
 * /move_base/global_costmap/global_frame
 * /move_base/global_costmap/inflation_radius
 * /move_base/global_costmap/max_obstacle_height
 * /move_base/global_costmap/observation_sources
 * /move_base/global_costmap/obstacle_range
 * /move_base/global_costmap/publish_frequency
 * /move_base/global_costmap/raytrace_range
 * /move_base/global_costmap/robot_base_frame
 * /move_base/global_costmap/robot_radius
 * /move_base/global_costmap/scan/clearing
 * /move_base/global_costmap/scan/data_type
 * /move_base/global_costmap/scan/marking
 * /move_base/global_costmap/scan/topic
 * /move_base/global_costmap/static_map
 * /move_base/global_costmap/transform_tolerance
 * /move_base/global_costmap/update_frequency
 * /move_base/local_costmap/bump/clearing
 * /move_base/local_costmap/bump/data_type
 * /move_base/local_costmap/bump/marking
 * /move_base/local_costmap/bump/topic
 * /move_base/local_costmap/global_frame
 * /move_base/local_costmap/height
 * /move_base/local_costmap/inflation_radius
 * /move_base/local_costmap/max_obstacle_height
 * /move_base/local_costmap/observation_sources
 * /move_base/local_costmap/obstacle_range
 * /move_base/local_costmap/publish_frequency
 * /move_base/local_costmap/raytrace_range
 * /move_base/local_costmap/resolution
 * /move_base/local_costmap/robot_base_frame
 * /move_base/local_costmap/robot_radius
 * /move_base/local_costmap/rolling_window
 * /move_base/local_costmap/scan/clearing
 * /move_base/local_costmap/scan/data_type
 * /move_base/local_costmap/scan/marking
 * /move_base/local_costmap/scan/topic
 * /move_base/local_costmap/static_map
 * /move_base/local_costmap/transform_tolerance
 * /move_base/local_costmap/update_frequency
 * /move_base/local_costmap/width
 * /navigation_velocity_smoother/accel_lim_v
 * /navigation_velocity_smoother/accel_lim_w
 * /navigation_velocity_smoother/decel_factor
 * /navigation_velocity_smoother/frequency
 * /navigation_velocity_smoother/speed_lim_v
 * /navigation_velocity_smoother/speed_lim_w
 * /rosdistro
 * /rosversion
 * /slam_gmapping/angularUpdate
 * /slam_gmapping/astep
 * /slam_gmapping/base_frame
 * /slam_gmapping/delta
 * /slam_gmapping/iterations
 * /slam_gmapping/kernelSize
 * /slam_gmapping/lasamplerange
 * /slam_gmapping/lasamplestep
 * /slam_gmapping/linearUpdate
 * /slam_gmapping/llsamplerange
 * /slam_gmapping/llsamplestep
 * /slam_gmapping/lsigma
 * /slam_gmapping/lskip
 * /slam_gmapping/lstep
 * /slam_gmapping/map_update_interval
 * /slam_gmapping/maxUrange
 * /slam_gmapping/odom_frame
 * /slam_gmapping/ogain
 * /slam_gmapping/particles
 * /slam_gmapping/resampleThreshold
 * /slam_gmapping/sigma
 * /slam_gmapping/srr
 * /slam_gmapping/srt
 * /slam_gmapping/str
 * /slam_gmapping/stt
 * /slam_gmapping/temporalUpdate
 * /slam_gmapping/xmax
 * /slam_gmapping/xmin
 * /slam_gmapping/ymax
 * /slam_gmapping/ymin

NODES
  /camera/
    camera_nodelet_manager (nodelet/nodelet)
    depthimage_to_laserscan_loader (nodelet/nodelet)
    openni_camera_loader (nodelet/nodelet)
  /
    move_base (move_base/move_base)
    navigation_velocity_smoother (nodelet/nodelet)
    slam_gmapping (gmapping/slam_gmapping)

ROS_MASTER_URI=http://153.91.222.65:11311

core service [/rosout] found
process[camera/camera_nodelet_manager-1]: started with pid [15350]
process[camera/openni_camera_loader-2]: started with pid [15364]
process[camera/depthimage_to_laserscan_loader-3]: started with pid [15420]
process[slam_gmapping-4]: started with pid [15516]
process[navigation_velocity_smoother-5]: started with pid [15674]
[ERROR] [1361144277.159057628]: Failed to load nodelet [/navigation_velocity_smoother] of type [yocs_velocity_smoother/VelocitySmootherNodelet]: MultiLibraryClassLoader: Could not create object of class type yocs_velocity_smoother::VelocitySmootherNodelet as no factory exists for it. Make sure that the library exists and was explicitly loaded through MultiLibraryClassLoader::loadLibrary()
[FATAL] [1361144277.161169965]: Service call failed!
[navigation_velocity_smoother-5] process has died [pid 15674, exit code 255, cmd /opt/ros/groovy/lib/nodelet/nodelet load yocs_velocity_smoother/VelocitySmootherNodelet mobile_base_nodelet_manager navigation_velocity_smoother/odometry:=odom navigation_velocity_smoother/raw_cmd_vel:=cmd_vel_mux/input/navi_raw navigation_velocity_smoother/smooth_cmd_vel:=cmd_vel_mux/input/navi __name:=navigation_velocity_smoother __log:=/home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/navigation_velocity_smoother-5.log].
log file: /home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/navigation_velocity_smoother-5*.log
process[move_base-6]: started with pid [15798]
/opt/ros/groovy/stacks/navigation/move_base/bin/move_base: symbol lookup error: /opt/ros/groovy/stacks/navigation/move_base/bin/move_base: undefined symbol: _ZN12class_loader11ClassLoader37has_unmananged_instance_been_created_E
[move_base-6] process has died [pid 15798, exit code 127, cmd /opt/ros/groovy/stacks/navigation/move_base/bin/move_base cmd_vel:=cmd_vel_mux/input/navi_raw __name:=move_base __log:=/home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/move_base-6.log].
log file: /home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/move_base-6*.log
[ERROR] [1361144293.298039903]: Failed to load nodelet [/camera/depthimage_to_laserscan_loader] of type [depthimage_to_laserscan/DepthImageToLaserScanNodelet]: Failed to load library /opt/ros/groovy/lib//libDepthImageToLaserScanNodelet.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /opt/ros/groovy/lib//libDepthImageToLaserScanNodelet.so: undefined symbol: _ZN12class_loader20class_loader_private22AbstractMetaObjectBaseC2ERKSsS3_)
[FATAL] [1361144293.299752632]: Service call failed!
[ERROR] [1361144293.622573980]: Failed to load nodelet [/camera/openni_camera_loader] of type [openni_camera/driver]: Failed to load library /opt/ros/groovy/lib//libopenni_nodelet.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /opt/ros/groovy/lib//libopenni_nodelet.so: undefined symbol: _ZN12class_loader20class_loader_private22AbstractMetaObjectBaseC2ERKSsS3_)
[FATAL] [1361144293.624665705]: Service call failed!
[camera/depthimage_to_laserscan_loader-3] process has died [pid 15420, exit code 255, cmd /opt/ros/groovy/lib/nodelet/nodelet load depthimage_to_laserscan/DepthImageToLaserScanNodelet camera_nodelet_manager image:=/camera/depth/image_raw scan:=/scan __name:=depthimage_to_laserscan_loader __log:=/home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/camera-depthimage_to_laserscan_loader-3.log].
log file: /home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/camera-depthimage_to_laserscan_loader-3*.log
[camera/openni_camera_loader-2] process has died [pid 15364, exit code 255, cmd /opt/ros/groovy/lib/nodelet/nodelet load openni_camera/driver camera_nodelet_manager __name:=openni_camera_loader __log:=/home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/camera-openni_camera_loader-2.log].
log file: /home/turtlebot/.ros/log/0dbf0a06-7957-11e2-8a07-446d57c58c65/camera-openni_camera_loader-2*.log
respawning...
[camera/openni_camera_loader-2] restarting process
process[camera/openni_camera_loader-2]: started with pid [17347]
^C[slam_gmapping-4] killing on exit
[camera/openni_camera_loader-2] killing on exit
[camera/camera_nodelet_manager-1] killing on exit
[ERROR] [1361144294.541379265]: Failed to load nodelet [/camera/openni_camera_loader] of type [openni_camera/driver]: MultiLibraryClassLoader: Could not create object of class type openni_camera::DriverNodelet as no factory exists for it. Make sure that the library exists and was explicitly loaded through MultiLibraryClassLoader::loadLibrary()

also, when I try

roslaunch turtlebot_teleop keyboard_teleop.launch

It works

Control Your Turtlebot!
---------------------------
Moving around:
   u    i    o
   j    k    l
   m    ,    .

q/z : increase/decrease max speeds by 10%
w/x : increase/decrease only linear speed by 10%
e/c : increase/decrease only angular speed by 10%
space key, k : force stop
anything else : stop smoothly

CTRL-C to quit

But when I press keys, the robot doesn't move.

I don't know what is wrong. I would appreciate if anyone could help me.

Thank you.

Asked by TheSkyfall on 2013-02-17 16:57:41 UTC

Comments

I just changed your tag from Turtbot2 to turtlebot2. Next time, please use correct tags and ones already in use. Then it will be more likely that people answer it, since many here get tag-filtered notifications. I, for example, only found your post by coincidence.

Asked by bit-pirate on 2013-07-01 19:33:27 UTC

Did you solve your problems already? If yes, please post your solution as an answer and thereby helping others. Thanks in advance! :-)

Asked by bit-pirate on 2013-07-01 19:35:10 UTC

Answers