File: practice.html

package info (click to toggle)
torcs 1.3.7%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 800,212 kB
  • ctags: 14,325
  • sloc: cpp: 82,033; xml: 69,371; ansic: 9,818; makefile: 2,100; sh: 1,130
file content (82 lines) | stat: -rw-r--r-- 3,551 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!--
        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 -->