#include <trackrobots.h>
Public Member Functions | |
| TrackRobot () | |
| constructor for no tracking at all | |
| TrackRobot (bool trackPos, bool trackSpeed, bool trackOrientation, bool displayTrace, const char *scene, int interval=1) | |
| Constructor that allows individial setting of tracking options. | |
| ~TrackRobot () | |
| bool | isDisplayTrace () const |
| returns whether tracing is activated | |
Protected Member Functions | |
| bool | open (const AbstractRobot *robot) |
| void | track (AbstractRobot *robot) |
| void | close () |
Protected Attributes | |
| bool | trackPos |
| bool | trackSpeed |
| bool | trackOrientation |
| bool | displayTrace |
| int | interval |
| FILE * | file |
| char * | scene |
| long | cnt |
The position, speed, and orientation can be logged.
|
|
constructor for no tracking at all
|
|
||||||||||||||||||||||||||||
|
Constructor that allows individial setting of tracking options. The tracked data is written into a file with the current date and time appended by a name given by scene.
|
|
|
|
|
|
|
|
|
returns whether tracing is activated
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8