forked from speed-dreams/speed-dreams-code
1935711a43
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@1 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 0f09d39edb936ebd87ab33a41da1326a84f415e2 Former-commit-id: 38d30950aa3367e9b8718cee602e206dbc360201
82 lines
3.5 KiB
HTML
82 lines
3.5 KiB
HTML
<!--
|
|
file : practice.html
|
|
created : Fri Aug 12 13:39:11 CET 2005
|
|
copyright : (C) 2005 by Eric Espie
|
|
email : torcs@free.fr
|
|
version : $Id: practice.html,v 1.1 2005/08/17 20:58:37 berniw Exp $
|
|
|
|
Permission is granted to copy, distribute and/or modify this document
|
|
under the terms of the GNU Free Documentation License, Version 1.2
|
|
or any later version published by the Free Software Foundation;
|
|
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
|
Texts. A copy of the license is available at http://www.gnu.org/copyleft.
|
|
-->
|
|
|
|
<h1>Practice Mode Explained</h1>
|
|
|
|
The way to fine tune your robot is to use the "Practice" mode.
|
|
|
|
<h2>Note on robot's compilation</h2>
|
|
|
|
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.
|
|
<br>Example:
|
|
<tt>export MAKE_DEFAULT=/home/torcs/torcs-1.2.1/Make-default.mk</tt><br>
|
|
If the TORCS sources are located in the <tt>/home/torcs/torcs-1.2.1</tt> directory.<br>
|
|
|
|
All the info on making your own robot can be found in the <a href="http://n.ethz.ch/student/hwymann/">Berniw's robot tutorial</a>.<br>
|
|
|
|
This way, you'll be able to compile just your robot between two runs.
|
|
|
|
<h2>Practice mode use</h2>
|
|
|
|
When using the prictice mode, you are allowed to recompile your robots between two runs.<br>
|
|
The robot executable and the robots parameters are reloaded between two runs.<br>
|
|
And this without exiting of TORCS. (well I recommend to use the windowed mode for that...)
|
|
|
|
<h2>Running in practice mode</h2>
|
|
|
|
<h3>Launch TORCS and select Practice race:</h3><p>
|
|
<img src="images/practice/torcs-20031026112030.jpg"><p>
|
|
<img src="images/practice/torcs-20031026112034.jpg"><p>
|
|
<p><hr noshade="noshade" size="2" width="100%"></p>
|
|
|
|
<h3>Select "Configure" mode:</h3><p>
|
|
<img src="images/practice/torcs-20031026112038.jpg"><p>
|
|
<p><hr noshade="noshade" size="2" width="100%"></p>
|
|
|
|
<h3>Select the track:</h3><p>
|
|
<img src="images/practice/torcs-20031026112046.jpg"><p>
|
|
<p><hr noshade="noshade" size="2" width="100%"></p>
|
|
|
|
<h3>Select your robot:</h3><p>
|
|
<img src="images/practice/torcs-20031026112108.jpg"><p>
|
|
<p><hr noshade="noshade" size="2" width="100%"></p>
|
|
|
|
<h3>And now select the race distance or the number of laps, and the visualization mode:</h3><p>
|
|
<img src="images/practice/torcs-20031026112121.jpg"><p>
|
|
<p><hr noshade="noshade" size="2" width="100%"></p>
|
|
|
|
<h3>Or for viewing only the results:</h3><p>
|
|
<img src="images/practice/torcs-20031026112117.jpg"><p>
|
|
<p><hr noshade="noshade" size="2" width="100%"></p>
|
|
|
|
<h3>After that launch the race and look at the results:</h3><p>
|
|
<img src="images/practice/torcs-20031026112135.jpg"><p>
|
|
<img src="images/practice/torcs-20031026112138.jpg"><p>
|
|
<p><hr noshade="noshade" size="2" width="100%"></p>
|
|
|
|
<h3>At the end a summary is displayed:</h3><p>
|
|
<img src="images/practice/torcs-20031026112145.jpg"><p>
|
|
<p><hr noshade="noshade" size="2" width="100%"></p>
|
|
|
|
At this point, you can change the robot code and recompile, and change the
|
|
robot parameters before running the next run.
|
|
|
|
<hr>
|
|
<address><a href="mailto:torcs--at--free.fr">torcs</a></address>
|
|
<!-- Created: Sun Oct 26 11:08:35 CET 2003 -->
|
|
<!-- hhmts start -->
|
|
Last modified: Sun Oct 26 11:45:49 CET 2003
|
|
<!-- hhmts end -->
|