torcs - 1.2.2

src/libs/robottools/rttelem.cpp File Reference


Detailed Description

This is a collection of useful functions for using telemetry in a robot.

You can see an example of telemetry usage in the human driver.

Author:
Eric Espie
Version:
Id
rttelem.cpp,v 1.7 2003/08/25 18:50:00 torcs Exp

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <telemetry.h>
#include <robottools.h>
#include <tgf.h>

Include dependency graph for rttelem.cpp:

Include dependency graph

Functions

void RtTelemInit (tdble ymin, tdble ymax)
 Initialization of a telemetry session.

void RtTelemNewChannel (const char *name, tdble *var, tdble min, tdble max)
 Create a new telemetry channel.

void RtTelemStartMonitoring (const char *filename)
 Start recording into a file.

void RtTelemStopMonitoring (void)
 Stop recording and close the file.

void RtTelemUpdate (double time)
 Record a new set of values.

void RtTelemShutdown (void)
 Deinstall the telemetry module.


Generated at Thu Feb 26 21:53:08 2004 for torcs by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-1999
TORCS © Eric Espié 1999, 2002.