ARDrone 2D_navigation map_server crash, not sending goals

asked 2017-12-07 11:39:26 -0500

mikestoj gravatar image

updated 2017-12-07 13:13:24 -0500

jayess gravatar image

Hello all,

I am trying to navigate the ARDrone through a 2D map using the navigation stack. However, when I run move_base, the map_server node crashes. I have no problems running the ardrone driver, tum packages, or rviz. However, it seems the ardrone is not getting goal estimates? I suspect this is from the map_server crashing, but I'm not sure if there is a deeper problem. I do not have much experience implementing the navigation stack.

Let me know if you need more information. Outputs are below.

Thanks

mike@ms-laptop:~/catkin_ws/src/my_robot_name_2dnav$ ls
base_local_planner_params.yaml   local_costmap_params.yaml
base_local_planner_params.yaml~  local_costmap_params.yaml~
CATKIN_IGNORE                    move_base.launch
CMakeLists.txt                   move_base.launch~
CMakeLists.txt~                  my_map_package
costmap_common_params.yaml       my_robot_configuration.launch
costmap_common_params.yaml~      my_robot_configuration.launch~
global_costmap_params.yaml       package.xml
global_costmap_params.yaml~      package.xml~
mike@ms-laptop:~/catkin_ws/src/my_robot_name_2dnav$ roslaunch move_base.launch
... logging to /home/mike/.ros/log/3709af50-dadd-11e7-bae8-f82819569869/roslaunch-ms-laptop-3490.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.

WARNING: ignoring defunct <master /> tag
started roslaunch server http://ms-laptop:34511/

SUMMARY
move_base.launch

========

PARAMETERS
 * /amcl/gui_publish_rate: 10.0
 * /amcl/kld_err: 0.05
 * /amcl/kld_z: 0.99
 * /amcl/laser_lambda_short: 0.1
 * /amcl/laser_likelihood_max_dist: 2.0
 * /amcl/laser_max_beams: 30
 * /amcl/laser_model_type: likelihood_field
 * /amcl/laser_sigma_hit: 0.2
 * /amcl/laser_z_hit: 0.5
 * /amcl/laser_z_max: 0.05
 * /amcl/laser_z_rand: 0.5
 * /amcl/laser_z_short: 0.05
 * /amcl/max_particles: 5000
 * /amcl/min_particles: 500
 * /amcl/odom_alpha1: 0.2
 * /amcl/odom_alpha2: 0.2
 * /amcl/odom_alpha3: 0.8
 * /amcl/odom_alpha4: 0.2
 * /amcl/odom_alpha5: 0.1
 * /amcl/odom_frame_id: odom
 * /amcl/odom_model_type: omni
 * /amcl/recovery_alpha_fast: 0.0
 * /amcl/recovery_alpha_slow: 0.0
 * /amcl/resample_interval: 1
 * /amcl/transform_tolerance: 0.1
 * /amcl/update_min_a: 0.5
 * /amcl/update_min_d: 0.2
 * /move_base/TrajectoryPlannerROS/acc_lim_theta: 3.2
 * /move_base/TrajectoryPlannerROS/acc_lim_x: 2.5
 * /move_base/TrajectoryPlannerROS/acc_lim_y: 2.5
 * /move_base/TrajectoryPlannerROS/holonomic_robot: True
 * /move_base/TrajectoryPlannerROS/max_vel_theta: 1.0
 * /move_base/TrajectoryPlannerROS/max_vel_x: 0.45
 * /move_base/TrajectoryPlannerROS/min_in_place_vel_theta: 0.4
 * /move_base/TrajectoryPlannerROS/min_vel_x: 0.1
 * /move_base/global_costmap/<rosparam>obstacle_range: 10 </rosparam>
 * /move_base/global_costmap/footprint: ['x0', 'y0']
 * /move_base/global_costmap/global_frame: /map
 * /move_base/global_costmap/inflation_radius: 0.55
 * /move_base/global_costmap/map/clearing: True
 * /move_base/global_costmap/map/data_type: map
 * /move_base/global_costmap/map/marking: True
 * /move_base/global_costmap/map/sensor_frame: map
 * /move_base/global_costmap/map/topic: map
 * /move_base/global_costmap/observation_sources: map
 * /move_base/global_costmap/raytrace_range: 3.0
 * /move_base/global_costmap/robot_base_frame: ardrone_base_link
 * /move_base/global_costmap/static_map: True
 * /move_base/global_costmap/update_frequency: 5.0
 * /move_base/local_costmap/global_frame: odom
 * /move_base/local_costmap/height: 6.0
 * /move_base/local_costmap/publish_frequency: 2.0
 * /move_base/local_costmap/resolution: 0.05
 * /move_base/local_costmap/robot_base_frame: ardrone_base_link
 * /move_base/local_costmap/rolling_window: True
 * /move_base/local_costmap/static_map: True
 * /move_base/local_costmap/update_frequency: 5.0
 * /move_base/local_costmap/width: 6.0
 * /rosdistro: indigo
 * /rosversion: 1.11.21

NODES
  /
    amcl (amcl/amcl)
    map_server (map_server/map_server)
    move_base (move_base/move_base)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[map_server-1]: started with pid [3524]
process[amcl-2]: started with pid [3527]
process[move_base-3]: started with pid [3528]
terminate called after throwing an instance of 'std::ios_base::failure'
  what():  basic_filebuf::underflow error reading the file
[ INFO] [1512603014.971216618]: Loading from pre-hydro parameter style
[ INFO ...
(more)
edit retag flag offensive close merge delete