ChoreoLib
Choreo support library.
|
#include <choreo/trajectory/EventMarker.h>
Public Member Functions | |
EventMarker | OffsetBy (units::second_t timestampOffset) const |
bool | operator== (const EventMarker &) const =default |
Public Attributes | |
units::second_t | timestamp |
The timestamp of the event. | |
std::string | event |
The event. | |
A marker for an event in a trajectory.
|
inline |
Returns a new EventMarker with the timestamp offset by the specified amount.
timestampOffset | The amount to offset the timestamp by. |
|
default |
EventMarker equality operator.