A marker for an event in a trajectory.
More...
#include <choreo/trajectory/EventMarker.h>
|
|
units::second_t | timestamp |
| | The timestamp of the event.
|
| |
|
std::string | event |
| | The event.
|
| |
A marker for an event in a trajectory.
◆ OffsetBy()
| EventMarker choreo::EventMarker::OffsetBy |
( |
units::second_t |
timestampOffset | ) |
const |
|
inline |
Returns a new EventMarker with the timestamp offset by the specified amount.
- Parameters
-
| timestampOffset | The amount to offset the timestamp by. |
- Returns
- A new EventMarker with the timestamp offset by the specified amount.
◆ operator==()
| bool choreo::EventMarker::operator== |
( |
const EventMarker & |
| ) |
const |
|
default |
EventMarker equality operator.
- Returns
- True for equality.
The documentation for this struct was generated from the following file: