2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
trigger_composition.h File Reference
#include <frc2/command/button/Trigger.h>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  argos_lib
 
namespace  argos_lib::triggers
 

Functions

frc2::Trigger argos_lib::triggers::OneOf (std::vector< frc2::Trigger > triggers)
 Generates composite trigger that is true when exactly one of the triggers is true.
 
frc2::Trigger argos_lib::triggers::NoneOf (std::vector< frc2::Trigger > triggers)
 Generates composite trigger that is true when none of the triggers is true.
 
frc2::Trigger argos_lib::triggers::AnyOf (std::vector< frc2::Trigger > triggers)
 Generates composite trigger that is true when any of the triggers is true.
 
frc2::Trigger argos_lib::triggers::AllOf (std::vector< frc2::Trigger > triggers)
 Generates composite trigger that is true when all of the triggers are true.