-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Allow multiple vehicle profiles via multiple .ini files #73
Comments
When would you need multiple profiles on a single vehicle? Also, you should join our slack channel to discuss and share your builds. Enter your email here and I'll add you: http://donkeycar.weebly.com/ |
Thanks, I've sent a request. The case I was facing was that of having two vehicles and changing the SD card between them. One had different servo/motor settings so I believe multiple configs can be helpful in such cases. But I imagine this could also go another way: Offering different stock configuration files for different vehicle models (e.g. different rc car models) and types (diff steering, normal steering), can open Donkey to a wider audience (e.g. people who already have different models of rc cars/vehicles). |
This should be done with an optional argument "--config" that can specify a different config file. The diff drive does not yet use config files. |
I've added --config parsing and a couple of vehicle configs based on the google doc manual in the following commit: I did not create a pull request because this commit also includes the changes to start-server.sh, part of another mr. Once that mr is resolved, I'm going to add one for this too. |
This has been merged to dev. Closing |
The vehicle could be passed as an optional parameter when running the script files, otherwise the default (vehicle.ini) would be used.
The text was updated successfully, but these errors were encountered: