![]() |
torcs - 1.2.2 | ![]() |
You can see an example of telemetry usage in the human driver.
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <telemetry.h>
#include <robottools.h>
#include <tgf.h>
Include dependency graph for rttelem.cpp:
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. |