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

why angular rate are sent? #230

Open
fangjir opened this issue Jan 6, 2023 · 4 comments
Open

why angular rate are sent? #230

fangjir opened this issue Jan 6, 2023 · 4 comments

Comments

@fangjir
Copy link

fangjir commented Jan 6, 2023

@Jaeyoung-Lim (https://github.com/Jaeyoung-Lim):
I have a couple of questions about geometric control.I have seen your paper of “geometric tracking control of a quadrotor UAV on SE(3)”. But after seeing the code, In your comment, I see this sentence, the moment is designed in the article, but in offboard mode, the angular rate command is sent. This is exactly what I am confused about. Since the angular rate is published, where does the torque designed in the article apply.

image

In addition, in the following two lines of code, the first line is the attitude error in the article, and the second line is exactly where I am confused.
image

@Jaeyoung-Lim
Copy link
Owner

@fangjir The angular velocity is tracked by the autopilot. Therefore in this package, we are just using the attitude error metric from the paper

@fangjir
Copy link
Author

fangjir commented Jan 6, 2023

@Jaeyoung-Lim ,I'm so confused that why angular velocity are used instead of directly moment or angular acceleration (because M=J*alpha)。and Where is the torque formula designed in the paper used in practice

@Jaeyoung-Lim
Copy link
Owner

@fangjir This is a ros package, which normally runs on a mission computer. Since the mission computer is connected via a serial interface to the autopilot controlling the torque via the serial interface results in large time delays and jittery controls.

That is why I have modified the controller to just use the error metric of the attitude error and use that error to command angular rate reference commands, so the rate control loop on the autopilot can track the controlled angular rate command

@cillian-bao
Copy link

hello, did you mean "J=M*alpha", alpha is the angular acceleration?

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