EGO-Planner-v2 icon indicating copy to clipboard operation
EGO-Planner-v2 copied to clipboard

Planner not planning the path and not stopping the drone at the end of trajectory

Open shubham-shahh opened this issue 2 years ago • 7 comments

Hi @bigsuperZZZX, I hope you are doing well. recently I was testing the Ego-Planner-v2 Implementation and I came across a situation where the planner planned a path, and the drone was following it, but the planner didn't send a 0 velocity command once the drone reached the waypoint. below I have attached the video demonstrating the issue and the corresponding logs. I have not modified the planner code the crash happened in the end, hence the end part of the log file is more helpful

thanks

https://user-images.githubusercontent.com/51359628/195879161-388338c5-0cc0-4d3e-9185-13aaff32ef1f.mp4

03_10_22_test3_planner (1).txt

shubham-shahh avatar Oct 14 '22 15:10 shubham-shahh

Hi @bigsuperZZZX, any update on this?

shubham-shahh avatar Nov 16 '22 14:11 shubham-shahh

What changes did you make to the planner. This problem should not happen.

bigsuperZZZX avatar Jan 29 '23 06:01 bigsuperZZZX

What changes did you make to the planner. This problem should not happen.

I am unable to reproduce this issue, i have not made any major changes, but I'm curious, why did the planner stop planning in the mid way? It didn't reach the goal yet, the 'not stopping' could be related to the flight controller

shubham-shahh avatar Jan 29 '23 09:01 shubham-shahh

Finding the reason that the planner stops before reaching the goal requires more videos and outputs.

bigsuperZZZX avatar Jan 31 '23 11:01 bigsuperZZZX

Finding the reason that the planner stops before reaching the goal requires more videos and outputs.

I see, I'll post more info if I am able to recreate it.

thanks

shubham-shahh avatar Jan 31 '23 12:01 shubham-shahh

@shubham-shahh Any follow-up on this issue, are you able to recreate this issue or figure out what changes in code led to the same?

Swadine avatar Mar 19 '23 19:03 Swadine

@shubham-shahh Any follow-up on this issue, are you able to recreate this issue or figure out what changes in code led to the same?

There's more than one reason for this problem. I have seen instances when the planner takes some time to plan and the last velocity could be high and then it would stop streaming commands, to avoid crashes until the planner finds a path, one way to deal with it is to change the timeout settings on autopilot

shubham-shahh avatar Mar 20 '23 05:03 shubham-shahh