Skip to content

Add a function to set the speed of the vehicule #1323

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

Open
PerrineLip6 opened this issue Aug 9, 2018 · 2 comments
Open

Add a function to set the speed of the vehicule #1323

PerrineLip6 opened this issue Aug 9, 2018 · 2 comments

Comments

@PerrineLip6
Copy link

I am doing imitation learning on AirSim and I'd like to be able to set the car speed as well as its position. This way, I can to put the car in exactly the same conditions as it was when the data was recorded. This would allow me to let my IA take control of the car, even if it is already moving in order to imitate human driving.

What I am doing right now is accelerate the car on a straight line and when it reaches the desired speed, I "teleport" the car with setPosition to the correct coordinates and let the IA take over. It is not very efficient and add some instability to the dynamic of the car especially if there are turns in the trajectory.

Is there already a way to do this I haven't' think of ? If not, is it possible to add the feature ?

@sytelus
Copy link
Contributor

sytelus commented Aug 10, 2018

It is possible to implement this using CascadeController which is being used for simple_flight.

@stale
Copy link

stale bot commented Apr 19, 2022

This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days.

@stale stale bot added the stale label Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants