The behavior of the larson animation pocket of light when it reaches the end of the strip.
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
|
static constexpr int | Front = 0 |
| The animation bounces as soon as the first LED reaches the end of the strip.
|
|
static constexpr int | Center = 1 |
| The animation bounces once it is midway through the end of the strip.
|
|
static constexpr int | Back = 2 |
| The animation bounces once all LEDs are off the strip.
|
|
The behavior of the larson animation pocket of light when it reaches the end of the strip.
◆ LarsonBounceValue() [1/2]
ctre::phoenix6::signals::LarsonBounceValue::LarsonBounceValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ LarsonBounceValue() [2/2]
ctre::phoenix6::signals::LarsonBounceValue::LarsonBounceValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
bool ctre::phoenix6::signals::LarsonBounceValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator!=() [2/2]
bool ctre::phoenix6::signals::LarsonBounceValue::operator!= |
( |
LarsonBounceValue | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [1/2]
bool ctre::phoenix6::signals::LarsonBounceValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [2/2]
bool ctre::phoenix6::signals::LarsonBounceValue::operator< |
( |
LarsonBounceValue | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [1/2]
bool ctre::phoenix6::signals::LarsonBounceValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [2/2]
bool ctre::phoenix6::signals::LarsonBounceValue::operator== |
( |
LarsonBounceValue | data | ) |
const |
|
inlineconstexpr |
◆ Serialize()
std::string ctre::phoenix6::signals::LarsonBounceValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::LarsonBounceValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
◆ Back
int ctre::phoenix6::signals::LarsonBounceValue::Back = 2 |
|
staticconstexpr |
The animation bounces once all LEDs are off the strip.
◆ Center
int ctre::phoenix6::signals::LarsonBounceValue::Center = 1 |
|
staticconstexpr |
The animation bounces once it is midway through the end of the strip.
◆ Front
int ctre::phoenix6::signals::LarsonBounceValue::Front = 0 |
|
staticconstexpr |
The animation bounces as soon as the first LED reaches the end of the strip.
◆ value
int ctre::phoenix6::signals::LarsonBounceValue::value |
The documentation for this class was generated from the following file: