![]() |
Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|

Public Member Functions | |
| BoundLimitNode (LimitNodeType type, idx_t constant_integer, double constant_percentage, unique_ptr< Expression > expression) | |
| LimitNodeType | Type () const |
| idx_t | GetConstantValue () const |
| Returns the constant value, only valid if Type() == CONSTANT_VALUE. | |
| double | GetConstantPercentage () const |
| Returns the constant percentage, only valid if Type() == CONSTANT_PERCENTAGE. | |
| const Expression & | GetValueExpression () const |
| Returns the constant percentage, only valid if Type() == EXPRESSION_VALUE. | |
| const Expression & | GetPercentageExpression () const |
| Returns the constant percentage, only valid if Type() == EXPRESSION_PERCENTAGE. | |
| unique_ptr< Expression > & | GetExpression () |
| void | Serialize (Serializer &serializer) const |
Static Public Member Functions | |
| static BoundLimitNode | ConstantValue (int64_t value) |
| static BoundLimitNode | ConstantPercentage (double percentage) |
| static BoundLimitNode | ExpressionValue (unique_ptr< Expression > expression) |
| static BoundLimitNode | ExpressionPercentage (unique_ptr< Expression > expression) |
| static BoundLimitNode | Deserialize (Deserializer &deserializer) |
Private Member Functions | |
| BoundLimitNode (int64_t constant_value) | |
| BoundLimitNode (double percentage_value) | |
| BoundLimitNode (unique_ptr< Expression > expression, bool is_percentage) | |
Private Attributes | |
| LimitNodeType | type = LimitNodeType::UNSET |
| idx_t | constant_integer = 0 |
| Integer value, if value is a constant non-percentage. | |
| double | constant_percentage = -1 |
| Percentage value, if value is a constant percentage. | |
| unique_ptr< Expression > | expression |
| Expression in case node is not constant. | |
|
inline |
|
inline |
Returns a pointer to the expression - should only be used for limit-agnostic optimizations. Prefer using the methods above in other scenarios.