Quick Start Guide
Robot Tutorial (C++)
(446 total words in this text)
Practice Mode ExplainedThe way to fine tune your robot is to use the "Practice" mode.
Note on robot's compilationIn order to compile your robot from the source directory set the environment variable MAKE_DEFAULT to the absolute path of the Make-default.mk file.
Example: export MAKE_DEFAULT=/home/torcs/torcs-1.2.1/Make-default.mk
If the TORCS sources are located in the /home/torcs/torcs-1.2.1 directory.
All the info on making your own robot can be found in the Berniw's robot tutorial.
This way, you'll be able to compile just your robot between two runs.
Practice mode useWhen using the prictice mode, you are allowed to recompile your robots between two runs.
The robot executable and the robots parameters are reloaded between two runs.
And this without exiting of TORCS. (well I recommend to use the windowed mode for that...)
Running in practice mode
Launch TORCS and select Practice race:
Select "Configure" mode:
Select the track:
Select your robot:
And now select the race distance or the number of laps, and the visualization mode:
Or for viewing only the results:
After that launch the race and look at the results:
At the end a summary is displayed:
At this point, you can change the robot code and recompile, and change the robot parameters before running the next run.
torcs Last modified: Sun Oct 26 11:45:49 CET 2003
New Today: 0
New Yesterday: 0
No staff members are online!
Would you like to develop a robot ?
We have received
page views since