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

something wrong with controller module #4

Open
saumonk opened this issue May 6, 2024 · 1 comment
Open

something wrong with controller module #4

saumonk opened this issue May 6, 2024 · 1 comment

Comments

@saumonk
Copy link

saumonk commented May 6, 2024

Thanks very much for your contribution. When I run your package, a problem often appears as show below. Detailly, the drone often instantaneous drifts. Looking forward to hearing from you.
issue

bash

@saumonk saumonk changed the title something wrong with planning module something wrong with controller module May 6, 2024
@tyuezhan
Copy link
Owner

tyuezhan commented Aug 5, 2024

Hi,

From our experience, this is an issue created by an aggressive stopping policy in simulation. One way to completely get rid of this is to switch to a stopping policy which is less aggressive. This will have no guarantee on where the quadrotor would fully stop but instead we could use "const jerk" or "const acceleration" as the control input to stop as soon as possible. For example, the one used in our kr_autonomous_flight. Please see: tyuezhan/kr_mav_control@708d0ea#diff-2cfc2f56716c5413b276bb59b718f66dd207f4ef95d185bb6da5afcfe34ee8ed
https://github.com/KumarRobotics/kr_autonomous_flight/blob/master/autonomy_core/state_machine/action_trackers/src/stopping_policy.cpp
for more details.

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

2 participants