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

Adjust ego vehicle position to align with wheelbase #746

Open
danicannt opened this issue Nov 5, 2024 · 1 comment
Open

Adjust ego vehicle position to align with wheelbase #746

danicannt opened this issue Nov 5, 2024 · 1 comment

Comments

@danicannt
Copy link

Hello, I am trying to figure out how to adjust the spawn point of the car model so that the ego vehicle is aligned with the wheelbase rather than positioned in the middle of the model. Currently, the vehicle seems to spawn with its center point at the middle of the model. Ideally, I would like it to be positioned further back so that the origin aligns with the wheelbase.

Any guidance or suggestions on how to achieve this adjustment would be greatly appreciated. Thank you!

@oliver-schumann
Copy link

Hi,

I think in this case you must change the model of the vehicle that you want to spawn. The origin of the coordinate system is always lying in the center of the vehicle which is rather cumbersome.

However you can also transform the position, velocities and accelerations manually to the rear axis by doing rigid body transformations.

Good Luck
Oli

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