|
Aikido
|
StateHandle for a Rn.
More...
#include <aikido/statespace/detail/Rn-impl.hpp>
Public Types | |
| using | VectorNd = typename R< DimensionAtCompileTime >::VectorNd |
| using | ValueType = std::conditional< std::is_const< QualifiedState >::value, const VectorNd, VectorNd > |
Public Member Functions | |
| RStateHandle () | |
Construct and initialize to nullptr. More... | |
| RStateHandle (const StateSpace *_space, QualifiedState *_state) | |
Construct a handle for _state in _space. More... | |
| Eigen::Map< const VectorNd > | getValue () |
| Gets the real vector stored in this state. More... | |
| void | setValue (const VectorNd &_value) |
| Sets the real vector stored in this state. More... | |
Static Public Attributes | |
| static constexpr int | DimensionAtCompileTime = _QualifiedState::DimensionAtCompileTime |
StateHandle for a Rn.
The template parameter is necessary to support both const and non-const states.
| _QualifiedState | type of State being wrapped |
| using aikido::statespace::RStateHandle< _QualifiedState >::ValueType = std::conditional< std::is_const<QualifiedState>::value, const VectorNd, VectorNd> |
| using aikido::statespace::RStateHandle< _QualifiedState >::VectorNd = typename R<DimensionAtCompileTime>::VectorNd |
|
inline |
Construct and initialize to nullptr.
|
inline |
Construct a handle for _state in _space.
| _space | state space that created _state |
| _state | state created by _space |
|
inline |
Gets the real vector stored in this state.
|
inline |
Sets the real vector stored in this state.
| _value | real vector to store in _state |
|
staticconstexpr |