Avoidng obstacles detected with by cv_tracker using dp_planner and pure_pusuit #142
Comments
dp_planner uses the "/cloud_clusters" topic published by euclidean cluster , if you can somehow merge both or convert the yolo detection to point cloud it should work. one idea is to project the yolo detection onto the LIDAR data, then pass the result to euclidean_cluster. |
Thanks for the response. Is there any built-in way to avoid the bounding box detected by cv_tracker? i.e. if I use op_trajectory_generator? Also, I can visualize the clusters from euclidean_cluster but dp_planner is still not avoiding them. The clusters do tend to flicker a bit though. Could that be the problem? Do I need to use one of the tracker nodes as well? I tried using kf_counter_tracker but every time I launch it rviz crashes. EDIT: In the tutorial vidoes for OpenPlanner simulations, the local planner will avoid obstacles that are manually placed on the map using the point publishing tool in rviz. Is there any way to get a similar effect outside of simulations with obstacles that are detected by the sensors? Even with the euclidean clustering, dp_planner does not attempt to avoid them for me. |
we have tested dp_planner , it works fine with sensor data (avoid obstacles). Regards, |
I found one issue I was having but there still is another one. I had the wrong output frame selected for euclidean cluster so the obstacles detected by dp_planner were being placed at the wrong point on the map. After fixing this dp_planner will avoid obstacles only if the obstacle isn't blocking all of the roll-out trajectories. For obstacles completely blocking the road the planner just seems to select the roll-out with the least cost and proceeds to crash into the obstacle.
|
Hello,
|
Hi Hatem, For pure_pursuit I'm pretty much using the default parameters:
Changing the value of "horizontalSafetyDistance" and "verticalSafetyDistance" did not fix the problem with multiple obstacles. The obstacles are not close to each other. It just seems like after avoiding the first one dp_planner always selects the middle trajectory even if another one is highlighted in rviz. |
@hadiTab Do you use the VectorMap information? |
@Mor-harry I've built a basic vector map. The vector map works when I use OpenPlanner in simulation mode (i.e. obstacles are avoided and it stops at stop lines). |
Sorry for the late reply, |
@hatem-darweesh I have no issues using OpenPlanner in simulation mode. I do not want to run it in simulation mode though, I'm trying to actually command the vehicle to move. When I set pure_pursuit to Waypoint it does not send /twist_cmd at all so the vehicle will not move. It only moves when I use Dialog. Can you list the nodes I need to have running to be able to use OpenPlanner (not in simulation mode)? |
In my experience, the only differences between Simulation mode and going live are: Live Move: twist_cmd should be published in both cases because it is published from twist_filter. |
@hadiTab |
@hadiTab Hello, what did you modify the Euclidean cluster, then you could avoid obstacles? |
@Mor-harry I still cannot avoid any obstacles. I haven't modified Euclidean cluster. dp_planner subscribes to the clusters topic, tracks them and calculates a boundary for them which it publishes for visualization in rviz. This part works on my side and I'm able to see the correct boundaries in rviz. I also usually avoids the first obstacle if it's early on in the path as long as it isn't completely blocking the lane. If it is blocking it completely it will just go ahead and hit it. |
@hadiTab I think this is a bug, I had the same result from other experiments, I will check the logs and try to find exactly why this behavior happens with live sensor data. |
@hatem-darweesh have you been able to figure out why the problem occurs? Thanks. |
Hi @hadiTab , Regards, |
I'm using trying to follow a global path set by way_planner using dp_planner. There are obstacles along the path that are detected by Yolo and their bounding boxes can be visualized in rviz. However, dp_planner does not adjust it's path and keeps on moving down the center trajectory rollout until it hits the obstacle.
Am I doing something worng?
Are there any intermediate nodes that need to be run?
The text was updated successfully, but these errors were encountered: