TORCS  1.3.9
The Open Racing Car Simulator
rttelem.cpp File Reference
#include <stdlib.h>
#include <stdio.h>
#include <telemetry.h>
#include <robottools.h>
#include <tgf.h>
#include <portability.h>
Include dependency graph for rttelem.cpp:

Go to the source code of this file.

Functions

void RtTelemInit (tdble ymin, tdble ymax)
 Initialization of a telemetry session. More...
 
void RtTelemNewChannel (const char *name, tdble *var, tdble min, tdble max)
 Create a new telemetry channel. More...
 
void RtTelemStartMonitoring (const char *filename)
 Start recording into a file. More...
 
void RtTelemStopMonitoring (void)
 Stop recording and close the file. More...
 
void RtTelemUpdate (double time)
 Record a new set of values. More...
 
void RtTelemShutdown (void)
 Deinstall the telemetry module. More...
 

Function Documentation

◆ RtTelemInit()

void RtTelemInit ( tdble  ymin,
tdble  ymax 
)

Initialization of a telemetry session.

Parameters
yminMinimum value for Y.
ymaxMaximum value for Y.
Returns
None

Definition at line 59 of file rttelem.cpp.

Here is the call graph for this function:

◆ RtTelemNewChannel()

void RtTelemNewChannel ( const char *  name,
tdble var,
tdble  min,
tdble  max 
)

Create a new telemetry channel.

Parameters
nameName of the channel.
varAddress of the variable to monitor.
minMinimum value of this variable.
maxMaximum value of this variable.
Returns
None

Definition at line 86 of file rttelem.cpp.

Here is the call graph for this function:

◆ RtTelemShutdown()

void RtTelemShutdown ( void  )

Deinstall the telemetry module.

Returns
none.

Definition at line 132 of file rttelem.cpp.

Here is the call graph for this function:

◆ RtTelemStartMonitoring()

void RtTelemStartMonitoring ( const char *  filename)

Start recording into a file.

Parameters
filenamename of the file to use.
Returns
none.

Definition at line 98 of file rttelem.cpp.

◆ RtTelemStopMonitoring()

void RtTelemStopMonitoring ( void  )

Stop recording and close the file.

Returns
none

Definition at line 109 of file rttelem.cpp.

◆ RtTelemUpdate()

void RtTelemUpdate ( double  time)

Record a new set of values.

Parameters
timecurrent time.
Returns
None.

Definition at line 121 of file rttelem.cpp.