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

Find an alternative way to get angular velocity #6

Open
tckarenchiang opened this issue May 28, 2021 · 1 comment
Open

Find an alternative way to get angular velocity #6

tckarenchiang opened this issue May 28, 2021 · 1 comment
Labels
lua Issues requiring changes/fixes to the Lua code

Comments

@tckarenchiang
Copy link
Contributor

tckarenchiang commented May 28, 2021

Since the getAngularVelocity() in farmsim is very likely calculated wrt the world frame, we need to find another way to compute the local angular velocity.

There is a module in python to estimate the angular velocity given quaternion array and the corresponding time array at which quaternion is measured.

Not yet tested but it could be a good start.

@gavanderhoorn gavanderhoorn added the lua Issues requiring changes/fixes to the Lua code label Jun 1, 2021
@gavanderhoorn
Copy link
Member

Could we perhaps transform the velocity back to a vehicle-local frame?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lua Issues requiring changes/fixes to the Lua code
Development

No branches or pull requests

2 participants