-
Notifications
You must be signed in to change notification settings - Fork 148
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
Comments
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! |
@crizCraig Thanks. |
Fixed above, and here again https://github.com/deepdrive/deepdrive-sim/tree/master/Plugins/DeepDrivePlugin/Source/DeepDrivePlugin/Private/Simulation/Traffic/BehaviorTree |
@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 ?
The text was updated successfully, but these errors were encountered: