Hector_Slam ROSLaunch Error [closed]

asked 2013-01-11 12:34:25 -0600

this post is marked as community wiki

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

Hi I'm New In ROS. I Download ROS Groovy with Instruction In Ros.org And With Ubuntu Software Installer I Download Hector_Slam And All Hector Package Automatically Into Stacks File. When I Launch hector_slam_launch Tutorial.launch give me error

This is my way Pls Help Me Thanks.

`ros@ubuntu:~$ roslaunch hector_slam_launch tutorial.launch ... logging to /home/ros/.ros/log/0a997b86-5c4c-11e2-9ec6-000c296dce0e/roslaunch-ubuntu-3539.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

SUMMARY

PARAMETERS * /hector_geotiff_node/draw_background_checkerboard * /hector_geotiff_node/draw_free_space_grid * /hector_geotiff_node/geotiff_save_period * /hector_geotiff_node/map_file_base_name * /hector_geotiff_node/map_file_path * /hector_mapping/advertise_map_service * /hector_mapping/base_frame * /hector_mapping/laser_z_max_value * /hector_mapping/laser_z_min_value * /hector_mapping/map_frame * /hector_mapping/map_multi_res_levels * /hector_mapping/map_resolution * /hector_mapping/map_size * /hector_mapping/map_start_x * /hector_mapping/map_start_y * /hector_mapping/map_update_angle_thresh * /hector_mapping/map_update_distance_thresh * /hector_mapping/odom_frame * /hector_mapping/pub_map_odom_transform * /hector_mapping/scan_subscriber_queue_size * /hector_mapping/scan_topic * /hector_mapping/tf_map_scanmatch_transform_frame_name * /hector_mapping/update_factor_free * /hector_mapping/update_factor_occupied * /hector_mapping/use_tf_pose_start_estimate * /hector_mapping/use_tf_scan_transformation * /hector_trajectory_server/source_frame_name * /hector_trajectory_server/target_frame_name * /hector_trajectory_server/trajectory_publish_rate * /hector_trajectory_server/trajectory_update_rate * /rosdistro * /rosversion * /use_sim_time

NODES / hector_geotiff_node (hector_geotiff/geotiff_node) hector_mapping (hector_mapping/hector_mapping) hector_trajectory_server (hector_trajectory_server/hector_trajectory_server) rviz (rviz/rviz)

auto-starting new master process[master]: started with pid [3554] ROS_MASTER_URI=

setting /run_id to 0a997b86-5c4c-11e2-9ec6-000c296dce0e process[rosout-1]: started with pid [3567] started core service [/rosout] process[rviz-2]: started with pid [3581] process[hector_mapping-3]: started with pid [3582] process[hector_trajectory_server-4]: started with pid [3617] HectorSM map lvl 0: cellLength: 0.05 res x:2048 res y: 2048 process[hector_geotiff_node-5]: started with pid [3675] HectorSM map lvl 1: cellLength: 0.1 res x:1024 res y: 1024 Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/rosdep2/rospack.py", line 55, in init_rospack_interface lookup = _get_default_RosdepLookup(Options()) File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 108, in _get_default_RosdepLookup lookup = RosdepLookup.create_from_rospkg(sources_loader=sources_loader) File "/usr/lib/pymodules/python2.7/rosdep2/lookup.py", line 319, in create_from_rospkg lookup._load_all_views(loader=sources_loader) File "/usr/lib/pymodules/python2.7/rosdep2/lookup.py", line 464, in _load_all_views self._load_view_dependencies(resource_name, loader) File "/usr/lib/pymodules/python2.7/rosdep2/lookup.py", line 486, in _load_view_dependencies loader.load_view(view_key, db, verbose=self.verbose) File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 525, in load_view rosdep_db.set_view_data(view_name, source.rosdep_data, view_dependencies, view_name) File "/usr/lib/pymodules/python2.7/rosdep2/model.py", line 89, in set_view_data self._rosdep_db[view_name] = RosdepDatabaseEntry(rosdep_data.copy(), view_dependencies, origin) AttributeError: 'NoneType' object has no attribute 'copy' [rospack] Error: could not call python function 'rosdep2.rospack.init_rospack_interface' terminate called after throwing an instance of 'pluginlib::LibraryLoadException' what(): rospack could not find the rviz package containing rviz::Panel [rviz-2] process has died [pid 3581, exit code -6, cmd /opt/ros/groovy/lib/rviz/rviz -d /opt/ros/groovy/stacks/hector_slam/hector_slam_launch/rviz_cfg/mapping_demo.vcg __name:=rviz __log:=/home/ros/.ros/log/0a997b86-5c4c-11e2-9ec6-000c296dce0e/rviz-2.log]. log file: /home/ros/.ros/log/0a997b86-5c4c-11e2-9ec6-000c296dce0e/rviz-2*.log`

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-09-28 01:17:25.032174

Comments

Same issue here

HectorSM map lvl 1: cellLength: 0.1 res x:1024 res y: 1024
[rviz-2] process has died

using this launch file: https://code.google.com/p/tu-darmstad...

casper911ca gravatar imagecasper911ca ( 2015-07-31 14:33:03 -0600 )edit