◆ TriggerEvent()
pathplanner::TriggerEvent::TriggerEvent |
( |
units::second_t |
timestamp, |
|
|
std::string |
name, |
|
|
bool |
active |
|
) |
| |
|
inline |
Create an event for changing the value of a named trigger
- Parameters
-
timestamp | The trajectory timestamp of this event |
name | The name of the trigger to control |
active | Should the trigger be activated by this event |
◆ cancelEvent()
void pathplanner::TriggerEvent::cancelEvent |
( |
EventScheduler * |
eventScheduler | ) |
|
|
inlineoverridevirtual |
Cancel this event. This will be called if a path following command ends before this event gets handled.
- Parameters
-
Implements pathplanner::Event.
◆ copyWithTimestamp()
std::shared_ptr< Event > pathplanner::TriggerEvent::copyWithTimestamp |
( |
units::second_t |
timestamp | ) |
|
|
inlineoverridevirtual |
Copy this event with a different timestamp
- Parameters
-
timestamp | The new timestamp |
- Returns
- Copied event with new time
Implements pathplanner::Event.
◆ handleEvent()
void pathplanner::TriggerEvent::handleEvent |
( |
EventScheduler * |
eventScheduler | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: