terminate called after throwing an instance of 'std::bad_alloc' then launching move_base

asked 2023-03-21 07:46:27 -0500

Edvard gravatar image

Hi. Sorry for all mistakes, English is not my native language. I have robot that works fine. Now i need to install it on mew microcomputer but, and almost everythin is working as expected except move_base. For unknown reason I receive

terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc

every time I try to run my navigation node. I've tried to build this code on two computers to make sure, that it is not a problem with how I install ROS or Cartographer. And again, this code is sucsesfully launching in my virtual machine.

Here is full log from terminal:

Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:36799/

SUMMARY
========

PARAMETERS
 * /move_base/GlobalPlanner/allow_unknown: True
 * /move_base/GlobalPlanner/default_tolerance: 0.1
 * /move_base/TebLocalPlannerROS/acc_lim_theta: 2.2
 * /move_base/TebLocalPlannerROS/acc_lim_x: 0.1
 * /move_base/TebLocalPlannerROS/allow_init_with_backwards_motion: False
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToLinesDBSRANSAC/cluster_max_distance: 0.4
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToLinesDBSRANSAC/cluster_min_pts: 2
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToLinesDBSRANSAC/convex_hull_min_pt_separation: 0.1
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToLinesDBSRANSAC/ransac_convert_outlier_pts: True
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToLinesDBSRANSAC/ransac_filter_remaining_outlier_pts: False
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToLinesDBSRANSAC/ransac_inlier_distance: 0.15
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToLinesDBSRANSAC/ransac_min_inliers: 10
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToLinesDBSRANSAC/ransac_no_iterations: 2000
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToLinesDBSRANSAC/ransac_remainig_outliers: 3
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToPolygonsDBSMCCH/cluster_max_distance: 1.0
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToPolygonsDBSMCCH/cluster_max_pts: 500
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToPolygonsDBSMCCH/cluster_min_pts: 5
 * /move_base/TebLocalPlannerROS/costmap_converter/CostmapToPolygonsDBSMCCH/convex_hull_min_pt_separation: 0.1
 * /move_base/TebLocalPlannerROS/costmap_converter_plugin: costmap_converter...
 * /move_base/TebLocalPlannerROS/costmap_converter_rate: 5
 * /move_base/TebLocalPlannerROS/costmap_converter_spin_thread: True
 * /move_base/TebLocalPlannerROS/costmap_obstacles_behind_robot_dist: 1.0
 * /move_base/TebLocalPlannerROS/dt_hysteresis: 0.01
 * /move_base/TebLocalPlannerROS/dt_ref: 0.1
 * /move_base/TebLocalPlannerROS/dynamic_obstacle_inflation_dist: 0.3
 * /move_base/TebLocalPlannerROS/enable_homotopy_class_planning: True
 * /move_base/TebLocalPlannerROS/enable_multithreading: True
 * /move_base/TebLocalPlannerROS/feasibility_check_no_poses: 5
 * /move_base/TebLocalPlannerROS/footprint_model/type: polygon
 * /move_base/TebLocalPlannerROS/footprint_model/vertices: [[0.2, 0.1], [-0....
 * /move_base/TebLocalPlannerROS/force_reinit_new_goal_angular: 1.5
 * /move_base/TebLocalPlannerROS/force_reinit_new_goal_dist: 2
 * /move_base/TebLocalPlannerROS/free_goal_vel: False
 * /move_base/TebLocalPlannerROS/global_plan_overwrite_orientation: True
 * /move_base/TebLocalPlannerROS/h_signature_prescaler: 0.5
 * /move_base/TebLocalPlannerROS/h_signature_threshold: 0.1
 * /move_base/TebLocalPlannerROS/include_costmap_obstacles: True
 * /move_base/TebLocalPlannerROS/include_dynamic_obstacles: True
 * /move_base/TebLocalPlannerROS/inflation_dist: 0.3
 * /move_base/TebLocalPlannerROS/map_frame: /map
 * /move_base/TebLocalPlannerROS/max_global_plan_lookahead_dist: 3.0
 * /move_base/TebLocalPlannerROS/max_number_classes: 4
 * /move_base/TebLocalPlannerROS/max_vel_theta: 0.75
 * /move_base/TebLocalPlannerROS/max_vel_x: 0.35
 * /move_base/TebLocalPlannerROS/max_vel_x_backwards: 0.35
 * /move_base/TebLocalPlannerROS/min_obstacle_dist: 0.22
 * /move_base/TebLocalPlannerROS/min_turning_radius: 0.45
 * /move_base/TebLocalPlannerROS/no_inner_iterations: 5
 * /move_base/TebLocalPlannerROS/no_outer_iterations: 4
 * /move_base/TebLocalPlannerROS/obstacle_heading_threshold: 0.45
 * /move_base/TebLocalPlannerROS/obstacle_keypoint_offset: 0.1
 * /move_base/TebLocalPlannerROS/obstacle_poses_affected: 30
 * /move_base/TebLocalPlannerROS/odom_topic: /minicar/controll...
 * /move_base/TebLocalPlannerROS/optimization_activate: True
 * /move_base/TebLocalPlannerROS/optimization_verbose: False
 * /move_base/TebLocalPlannerROS/penalty_epsilon: 0.08
 * /move_base/TebLocalPlannerROS/roadmap_graph_area_width: 5
 * /move_base/TebLocalPlannerROS/roadmap_graph_no_samples: 10
 * /move_base/TebLocalPlannerROS/selection_alternative_time_cost: False
 * /move_base/TebLocalPlannerROS/simple_exploration: False
 * /move_base/TebLocalPlannerROS/teb_autosize: True
 * /move_base/TebLocalPlannerROS/visualize_hc_graph: False
 * /move_base/TebLocalPlannerROS/weight_acc_lim_theta: 1
 * /move_base/TebLocalPlannerROS/weight_acc_lim_x: 1
 * /move_base/TebLocalPlannerROS/weight_acc_lim_y: 0
 * /move_base/TebLocalPlannerROS/weight_dynamic_obstacle: 10
 * /move_base/TebLocalPlannerROS/weight_kinematics_forward_drive: 5
 * /move_base/TebLocalPlannerROS/weight_kinematics_nh: 1000
 * /move_base/TebLocalPlannerROS/weight_kinematics_turning_radius: 10
 * /move_base/TebLocalPlannerROS/weight_max_vel_theta: 1
 * /move_base/TebLocalPlannerROS/weight_max_vel_x: 1
 * /move_base/TebLocalPlannerROS/weight_max_vel_y: 0
 * /move_base/TebLocalPlannerROS/weight_obstacle: 50
 * /move_base/TebLocalPlannerROS/weight_optimaltime: 50
 * /move_base/TebLocalPlannerROS/weight_shortest_path: 0
 * /move_base/TebLocalPlannerROS/wheelbase: 0.26 ...
(more)
edit retag flag offensive close merge delete