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

Formulation of translational vector of the vehicle #7

Open
hect1995 opened this issue Jan 18, 2020 · 1 comment
Open

Formulation of translational vector of the vehicle #7

hect1995 opened this issue Jan 18, 2020 · 1 comment

Comments

@hect1995
Copy link

When setting the constraints for the collision avoidance -g'*mu + (A*t - b)*lambda > 0 you set the translation t(x) on x as x[1,i]+cos(x[3,i])*offset1 , translation on y as x[2,i]+sin(x[3,i])*offset1. In the case of a 2 ergo vehicle you declare the t vector as [x[1,i]-cos(x[4,i])*offset2 , x[2,i]-sin(x[4,i])*offset2].
I do not understand how did you get into these results, mainly because I do not understand how the terms multiplying the offset appear

@alexliniger
Copy link

This is somehow a hack as offset2 is in reality negative, it points in the other direction than offset1, but in my code it is positive, thus I added the minus when I compute the center of the second ego vehicle.

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