Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shubham-shahh opened this issue Oct 14, 2022 · 7 comments

Comments

@shubham-shahh
Copy link

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

03-10-22-test3-2022-10-03-074557_o7jBL1P2.online-video-cutter.com.mp4

03_10_22_test3_planner (1).txt

@shubham-shahh
Copy link
Author

Hi @bigsuperZZZX, any update on this?

@bigsuperZZZX
Copy link
Member

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

@shubham-shahh
Copy link
Author

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

@bigsuperZZZX
Copy link
Member

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

@shubham-shahh
Copy link
Author

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

@Swadine
Copy link

Swadine commented Mar 19, 2023

@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?

@shubham-shahh
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants