[x] Main Menu

Practice Mode

(446 total words in this text)
(52620 reads)   Printer Friendly Page

Practice Mode Explained

The way to fine tune your robot is to use the "Practice" mode.

Note on robot's compilation

In 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 use

When 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.
Last modified: Sun Oct 26 11:45:49 CET 2003
User Info [x]

Welcome Anonymous


Latest: Skoynay
New Today: 0
New Yesterday: 0
Overall: 3576

People Online:
Members: 0
Visitors: 10
Bots: 0
Staff: 0
Staff Online:

No staff members are online!

Current Poll [x]
Would you like to develop a robot ?

I don't know what you are talking about
25 %25 %25 %
I know what you mean, but I just want to drive
35 %35 %35 %
Yes (check the other polls)
34 %34 %34 %
I already have developed a robot (let us know)
5 %5 %5 %
Results :: Polls

Votes: 6491
Comments: 29

Hits [x]
We have received
page views since
November 2001

Hosted by:
SourceForge.net Logo
All logos and trademarks on this site are property of their respective owner. The comments are property of their posters.
The site content and design is © 2001-2012 Bernhard Wymann, Eric EspiĆ©.
Interactive software released under GNU GPL, Code Credits, Privacy Policy