Robotsystem from Robot Group Leipzig: TrackRobot Class Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Alphabetical List
- Class Hierarchy
- Class Members

# TrackRobot Class Reference

`#include <trackrobots.h>`

List of all members.

## Detailed Description

Definition at line 48 of file trackrobots.h.

## Public Member Functions
| TrackRobot ()
| TrackRobot (bool trackPos, bool trackSpeed, bool trackOrientation, bool tracePos, const char *scene, int interval=1)
| Set the tracking mode of the simulation environment.
| ~TrackRobot ()
bool | open (const AbstractRobot *robot)
void | track (AbstractRobot *robot)
void | close ()
bool | trace () const
## Friends
class | Agent

## Constructor & Destructor Documentation

TrackRobot | ( |  | ) | `[inline]`

| Definition at line 54 of file trackrobots.h.

TrackRobot | ( | bool | trackPos,
|  | bool | trackSpeed,
|  | bool | trackOrientation,
|  | bool | tracePos,
|  | const char * | scene,
|  | int | interval = `1`
| ) | `[inline]`

| Set the tracking mode of the simulation environment. If one of the trackparameters is true the tracking is enabled. The tracking is written into a file with the current date and time as name. If tracePos is ture (at least in ode simulations) the trace of the robot is shown Definition at line 69 of file trackrobots.h.

~TrackRobot | ( |  | ) | `[inline]`

| Definition at line 81 of file trackrobots.h.

## Member Function Documentation

void close | ( |  | ) |

| Definition at line 104 of file trackrobots.cpp.

bool open | ( | const AbstractRobot * | robot | ) |

| Definition at line 44 of file trackrobots.cpp.

bool trace | ( |  | ) | const`[inline]`

| Definition at line 90 of file trackrobots.h.

void track | ( | AbstractRobot * | robot | ) |

| Definition at line 85 of file trackrobots.cpp.

## Friends And Related Function Documentation

friend class Agent`[friend]`

| Definition at line 51 of file trackrobots.h.