◆ Event()
constexpr pathplanner::Event::Event |
( |
units::second_t |
timestamp | ) |
|
|
inlineconstexpr |
Create a new event
- Parameters
-
timestamp | The trajectory timestamp this event should be handled at |
◆ cancelEvent()
virtual void pathplanner::Event::cancelEvent |
( |
EventScheduler * |
eventScheduler | ) |
|
|
pure virtual |
◆ copyWithTimestamp()
virtual std::shared_ptr< Event > pathplanner::Event::copyWithTimestamp |
( |
units::second_t |
timestamp | ) |
|
|
pure virtual |
◆ getTimestamp()
constexpr units::second_t pathplanner::Event::getTimestamp |
( |
| ) |
const |
|
inlineconstexpr |
Get the trajectory timestamp for this event
- Returns
- Trajectory timestamp, in seconds
◆ handleEvent()
virtual void pathplanner::Event::handleEvent |
( |
EventScheduler * |
eventScheduler | ) |
|
|
pure virtual |
◆ setTimestamp()
constexpr void pathplanner::Event::setTimestamp |
( |
units::second_t |
timestamp | ) |
|
|
inlineconstexpr |
Set the trajectory timestamp of this event
- Parameters
-
timestamp | Timestamp of this event along the trajectory |
The documentation for this class was generated from the following file:
- src/main/native/include/pathplanner/lib/events/Event.h