Page 1 of 1
Driver question: how to get open wheel robots

Posted:
Thu Jul 11, 2013 2:41 pm
by landersohn
I'd like to use some of the open wheel cars that can be found. My question is, how can I get the robots to drive open wheel cars. I tried searching for this but either get 0 hits or a gazillion unrelated ones.
I'd prefer to do this by messing with the xml files w/o recompiling from source, but I could do that as well.
Thanks for your help
Re: Driver question: how to get open wheel robots

Posted:
Fri Jul 12, 2013 2:13 am
by mungewell
The robot drivers are 'specialized' to particular car classes (such as the SuperCars), in order to make them drive MPA1 you will need to build SpeedDreams from source and generate some files. I think the easy Robot to change is the USR one, who's code is in this sub directory
You will need to change the 'CMakeList.txt' file to define another class for the robot and tweak a few lines in the robot's code. Then you will have to generate the appropriate data directory to define your 'usr_mpa1' drivers. These drivers are stored under this directory
If you want a 'cheat sheet' you can use the following patch as a reference, it implemented 'Crazy Eddie' the first (and only) USR RallySeries robot - although he never got schooled/tuned to race well. Some of his filess have been updated, so check this against current source.
Once that's done you should have one (or more) MPA1 robot which you can select for racing.
There are many parameters which define/tune how well a robot drives, there are a couple of postings on these forums which you can use for reference.
Simon.
Re: Driver question: how to get open wheel robots

Posted:
Fri Jul 12, 2013 12:49 pm
by landersohn
Thanks, that helps.
Re: Driver question: how to get open wheel robots

Posted:
Fri Jul 12, 2013 4:42 pm
by mungewell
You're welcome...
If you get some drivers coded up it would be great to add them back in to main source tree for others to race against,
Simon
Re: Driver question: how to get open wheel robots

Posted:
Wed Jul 17, 2013 3:45 am
by mungewell
Just as a FYI, there appears to be a lot of work happening on the 'Simplex' MPA1 robot... so if you're building from SVN you can race against that.
Simon.