- 3.0.2 rigid body dynamics module.
|
NLOC for floating base systems with an explicit contact model. More...
#include <FloatingBaseNLOCContactModel.h>
Public Types | |
typedef FloatingBaseFDSystem< RBDDynamics, false, false > | FBSystem |
typedef ct::core::LinearSystem< FBSystem::STATE_DIM, FBSystem::CONTROL_DIM > | LinearizedSystem |
typedef ct::rbd::RbdLinearizer< FBSystem > | RBDLinearizer |
typedef ct::core::SystemLinearizer< FBSystem::STATE_DIM, FBSystem::CONTROL_DIM > | SystemLinearizer |
typedef ct::optcon::NLOptConSolver< FBSystem::STATE_DIM, FBSystem::CONTROL_DIM > | NLOptConSolver |
typedef core::StateVector< FBSystem::STATE_DIM > | StateVector |
typedef core::ControlVector< FBSystem::CONTROL_DIM > | ControlVector |
typedef core::FeedbackMatrix< FBSystem::STATE_DIM, FBSystem::CONTROL_DIM > | FeedbackMatrix |
typedef core::StateVectorArray< FBSystem::STATE_DIM > | StateVectorArray |
typedef core::ControlVectorArray< FBSystem::CONTROL_DIM > | ControlVectorArray |
typedef core::FeedbackArray< FBSystem::STATE_DIM, FBSystem::CONTROL_DIM > | FeedbackArray |
typedef ct::optcon::CostFunctionAnalytical< FBSystem::STATE_DIM, FBSystem::CONTROL_DIM > | CostFunction |
Public Member Functions | |
FloatingBaseNLOCContactModel (const std::string &costFunctionFile, const std::string &settingsFile, std::shared_ptr< FBSystem > system=std::shared_ptr< FBSystem >(new FBSystem), std::shared_ptr< LinearizedSystem > linearizedSystem=nullptr) | |
constructor taking path to the settings file More... | |
FloatingBaseNLOCContactModel (const std::string &costFunctionFile, const typename NLOptConSolver::Settings_t &settings, std::shared_ptr< FBSystem > system=std::shared_ptr< FBSystem >(new FBSystem), std::shared_ptr< LinearizedSystem > linearizedSystem=nullptr) | |
constructor taking settings file directly More... | |
void | initialize (const typename RBDDynamics::RBDState_t &x0, const core::Time &tf, StateVectorArray x_ref=StateVectorArray(), FeedbackArray u0_fb=FeedbackArray(), ControlVectorArray u0_ff=ControlVectorArray()) |
void | configure (const typename NLOptConSolver::Settings_t &settings) |
bool | runIteration () |
const StateVectorArray & | retrieveLastRollout () |
const StateVectorArray & | getStateVectorArray () |
const core::TimeArray & | getTimeArray () |
const FeedbackArray & | getFeedbackArray () |
const ControlVectorArray & | getControlVectorArray () |
const NLOptConSolver::Settings_t & | getSettings () const |
void | changeCostFunction (std::shared_ptr< CostFunction > costFunction) |
std::shared_ptr< NLOptConSolver > | getSolver () |
Static Public Attributes | |
static EIGEN_MAKE_ALIGNED_OPERATOR_NEW const bool | quatIntegration = false |
static const bool | eeForcesAreControlInputs = false |
NLOC for floating base systems with an explicit contact model.
typedef FloatingBaseFDSystem<RBDDynamics, false, false> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::FBSystem |
typedef ct::core::LinearSystem<FBSystem::STATE_DIM, FBSystem::CONTROL_DIM> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::LinearizedSystem |
typedef ct::rbd::RbdLinearizer<FBSystem> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::RBDLinearizer |
typedef ct::core::SystemLinearizer<FBSystem::STATE_DIM, FBSystem::CONTROL_DIM> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::SystemLinearizer |
typedef ct::optcon::NLOptConSolver<FBSystem::STATE_DIM, FBSystem::CONTROL_DIM> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::NLOptConSolver |
typedef core::StateVector<FBSystem::STATE_DIM> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::StateVector |
typedef core::ControlVector<FBSystem::CONTROL_DIM> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::ControlVector |
typedef core::FeedbackMatrix<FBSystem::STATE_DIM, FBSystem::CONTROL_DIM> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::FeedbackMatrix |
typedef core::StateVectorArray<FBSystem::STATE_DIM> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::StateVectorArray |
typedef core::ControlVectorArray<FBSystem::CONTROL_DIM> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::ControlVectorArray |
typedef core::FeedbackArray<FBSystem::STATE_DIM, FBSystem::CONTROL_DIM> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::FeedbackArray |
typedef ct::optcon::CostFunctionAnalytical<FBSystem::STATE_DIM, FBSystem::CONTROL_DIM> ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::CostFunction |
ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::FloatingBaseNLOCContactModel | ( | const std::string & | costFunctionFile, |
const std::string & | settingsFile, | ||
std::shared_ptr< FBSystem > | system = std::shared_ptr<FBSystem>(new FBSystem) , |
||
std::shared_ptr< LinearizedSystem > | linearizedSystem = nullptr |
||
) |
constructor taking path to the settings file
ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::FloatingBaseNLOCContactModel | ( | const std::string & | costFunctionFile, |
const typename NLOptConSolver::Settings_t & | settings, | ||
std::shared_ptr< FBSystem > | system = std::shared_ptr<FBSystem>(new FBSystem) , |
||
std::shared_ptr< LinearizedSystem > | linearizedSystem = nullptr |
||
) |
constructor taking settings file directly
void ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::initialize | ( | const typename RBDDynamics::RBDState_t & | x0, |
const core::Time & | tf, | ||
StateVectorArray | x_ref = StateVectorArray() , |
||
FeedbackArray | u0_fb = FeedbackArray() , |
||
ControlVectorArray | u0_ff = ControlVectorArray() |
||
) |
References dt, and ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::getSettings().
void ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::configure | ( | const typename NLOptConSolver::Settings_t & | settings | ) |
bool ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::runIteration | ( | ) |
const FloatingBaseNLOCContactModel< RBDDynamics >::StateVectorArray & ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::retrieveLastRollout | ( | ) |
const FloatingBaseNLOCContactModel< RBDDynamics >::StateVectorArray & ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::getStateVectorArray | ( | ) |
const core::TimeArray & ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::getTimeArray | ( | ) |
const FloatingBaseNLOCContactModel< RBDDynamics >::FeedbackArray & ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::getFeedbackArray | ( | ) |
const FloatingBaseNLOCContactModel< RBDDynamics >::ControlVectorArray & ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::getControlVectorArray | ( | ) |
const FloatingBaseNLOCContactModel< RBDDynamics >::NLOptConSolver::Settings_t & ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::getSettings | ( | ) | const |
void ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::changeCostFunction | ( | std::shared_ptr< CostFunction > | costFunction | ) |
std::shared_ptr< typename FloatingBaseNLOCContactModel< RBDDynamics >::NLOptConSolver > ct::rbd::FloatingBaseNLOCContactModel< RBDDynamics >::getSolver | ( | ) |
|
static |
|
static |