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

MPC application in an omnidirectional robot #43

Open
RodrigoFBernardo opened this issue Jul 7, 2021 · 0 comments
Open

MPC application in an omnidirectional robot #43

RodrigoFBernardo opened this issue Jul 7, 2021 · 0 comments

Comments

@RodrigoFBernardo
Copy link

I'm applying MPC to an omnidirectional robot, but I'm having some questions:

1- In the robot configuration file it has a function (getTwistFromControl) where it sets the robot to move in x with a certain speed u[0], according to an angle u[1]. I need to decompose the speed in vx and vy in the case of an omnidirectional robot v = sqrt(vx^2+vy^2).

I am confused how to decompose the speed coming from the controller into vx and vy

The function getTwistFromControl -> Convert the control vector to a twist message (containing velocity information)

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

1 participant