#include <MotionModuleState.h>
Public Member Functions | |
| TimestampLocation | getTState (MotionModuleTState &outputTState, Time timeStamp) |
| Gets the state in the log based on the given timestamp, if a state with such timestamp is not present it adds it interpolating near states. | |
| TimestampLocation | correctTState (MotionModuleTState &correctedTState) |
| Sets the state in the log based on the given timestamp. | |
| string | print () |
| TimestampLocation MotionModuleTStateLog::getTState | ( | MotionModuleTState & | outputTState, | |
| Time | timeStamp | |||
| ) |
Gets the state in the log based on the given timestamp, if a state with such timestamp is not present it adds it interpolating near states.
| [out] | &outputTState | The found state, it makes sense only if return value is TSPOS_IS_INSIDE. |
| [in] | timeStamp | Timestamp to find or generate. |
| TimestampLocation MotionModuleTStateLog::correctTState | ( | MotionModuleTState & | correctedTState | ) |
Sets the state in the log based on the given timestamp.
If the state with such timestamp is not present the method it gives a fatal error. All the states with a timestamp greater then the given timestamp, are updated accordingly. If the state with such timestamp is not present it adds it interpolating near states.
| [in] | &correctedTState | Corrected state. |
| string MipBaselib::MotionModuleTStateLog::print | ( | ) | [inline] |
1.5.6