◆ CancelCommandEvent()
  
  
      
        
          | pathplanner::CancelCommandEvent::CancelCommandEvent  | 
          ( | 
          units::second_t  | 
          timestamp,  | 
         
        
           | 
           | 
          std::shared_ptr< frc2::Command >  | 
          command  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Create an event to cancel a command
- Parameters
 - 
  
    | timestamp | The trajectory timestamp for this event  | 
    | command | The command to cancel  | 
  
   
 
 
◆ cancelEvent()
  
  
      
        
          | void pathplanner::CancelCommandEvent::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::CancelCommandEvent::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::CancelCommandEvent::handleEvent  | 
          ( | 
          EventScheduler *  | 
          eventScheduler | ) | 
           | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
 
The documentation for this class was generated from the following file: