ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

problem with obstacle avoidance and the local planner

asked 2014-10-10 14:00:02 -0600

zeinab gravatar image

updated 2014-10-10 14:02:24 -0600

Hello,

I have a problem regarding obstacle avoidance and local planning. I have a short range Primesense sensor which gives me the scan for my navigation. I am able to do mapping, localization and fairly good navigation when all obstacles are already incorporated in my map. The problem is that dynamic obstacles are detected and shown in my local costmap but the robot does not take them into account somehow. The strange thing for me is that it inflates the obstacles which are in the map but not the dynamic obstacles even though I have inflation_radius set in my local_costmap_params.yaml. I have this suspicion that it might be that the obstacles are only detected 35 cm away from the kinect and otherwise it thinks that the map is clear and since it plans for a short distance in each step it cant detect the obstacles ( I don't know if it makes sense!) I tried changing the sim_granularity: 0.2 but didn't see a difference. Does anyone have an idea about this? I have attached a snapshot of my rviz.

Thanks a lot in advance.

C:\fakepath\Capture.JPG

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-10-30 09:53:51 -0600

zeinab gravatar image

I found that I in my local_costmap_params.yaml I had first mentioned the inflation and then the obstacle layer. So I guess that was why my dynamic obstacles were not inflated. Also sim_granularity is not what I should have been changing. I changed the sim_time instead to plan for a longer period of time and that kind of solved my problem.

edit flag offensive delete link more

Comments

can you please post your new parameters

Jude_Robise gravatar image Jude_Robise  ( 2019-03-19 00:47:01 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2014-10-10 14:00:02 -0600

Seen: 1,580 times

Last updated: Oct 30 '14