I couldn't get an ideal path while using RVIZ
Hi,Here is a image I make during my little car running ROS with move_base.I place two obstacles and make the gap narrow for the car to cross. I want the car to move from position 1 to position 2,and RVIZ shows this green line(I think it's a path).The car then keeps going until it gets to this position the image shows and it begins to rotate.It just rotates and won't go anymore.In my mind,I know this car can't cross this gap,so the car may change its path(maybe just like the yellow arrows I drew on this image) to cover this and get to the goal position.But this didn't happen.Why?
Here are the parameters I set:
base_local_planner_params.yaml:
TrajectoryPlannerROS:
max_vel_x: 0.15
min_vel_x: 0.10
max_vel_theta: 0.15
min_vel_theta: -0.15
max_rotational_vel: 0.15
min_in_place_vel_theta: 0.10
escape_vel: -0.14
holonomic_robot: false
xy_goal_tolerance: 0.10
yaw_goal_tolerance: 0.2
transform_tolerance: 2.0
controller_frequency: 2.0
vx_samples: 50
vtheta_samples: 30
latch_xy_goal_tolerance: false
dwa: false
#############
occdist_scale:0.1
gdis_scale: 1.5
ROS:Indigo Car:Raspbian Jessie
The global plan (probably the green line in your photo) is decided by the global planner. The local planner will just try to follow that path. If local planner somehow fails to do so (the gap is too small in this case), it should trigger the global planner to "replan".
So the problem could lie with the global planner itself. What global planner are you using?
I don't know the meanning of "What global planner".I use move_base,I am new to ROS,I didn't set the kind of global planner.Can I type some commands to know the kind of global planner I am using?