#include <ArServerClasses.h>
Unless told otherwise in the constructor it'll also save to the file when Aria exits.
Public Member Functions | |
ArPoseStorage (ArRobot *robot, const char *baseDirectory="", int poseWriteIntervalInMSecs=1000, bool addAriaExitCB=true) | |
Constructor. | |
~ArPoseStorage () | |
Destructor. | |
bool | savePose (void) |
Saves the pose of a robot to a file for restoring later. | |
bool | restorePose (const char *fileName) |
Restores the pose of a robot from a file saved earlier. | |
Protected Member Functions | |
void | userTask (void) |
Internal user task call that will occasionally write the pose to disk. |
|
Constructor.
|