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

Control over PID Path Follower's Speed #59

Open
raks097 opened this issue Mar 5, 2020 · 3 comments
Open

Control over PID Path Follower's Speed #59

raks097 opened this issue Mar 5, 2020 · 3 comments

Comments

@raks097
Copy link

raks097 commented Mar 5, 2020

@crizCraig

Is there a way one can control/limit the speed at which the path-follower agent travels at?
I have gone through the source code and it seems like the actuation of the vehicles is done through deepdrive_client.advance_synchronous_stepping(), but since it comes as a pre-compiled package, I haven't found ways in which we can manipulate the PID bot's actuations.

Action class does have THROTTLE_MIN and MAX but changing these variables does not seem to be reflected in the path-followers behaviour.

Any suggestions ?

@crizCraig
Copy link
Member

crizCraig commented Mar 5, 2020

Hi @raks097 - the pid bot is in C++ baked into the Unreal binary, so it's more difficult to modify. It's meant to be more for NPC's than for bots that people modify. You can however easily play with the speed and several other config variables in the Unreal Editor if you setup the sim for development. The underlying C++ for that agent is here which you can also modify.

If you want to submit such an agent to the leaderboard, we'll need to go through a special process as you are modifying the sim project itself. I.e. we'd need to review your code changes and merge them into the main project - at which point you would be improving the deepdrive agent as well. Although we would provide attribution to you if you improve performance!

@raks097
Copy link
Author

raks097 commented Mar 6, 2020

@crizCraig
Thanks for the quick reply.
Will look into the setting up the Unreal Editor for further modifications.
However, the link that you provided for the C++ bot seems to be broken.
Could you please give a working link ?

Thanks.

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