- 3.0.2 optimal control module.
|
the default policy handler for iLQR More...
#include <StateFeedbackPolicyHandler.h>
Public Member Functions | |
StateFeedbackPolicyHandler (const SCALAR &dt) | |
virtual | ~StateFeedbackPolicyHandler () |
virtual void | designWarmStartingPolicy (const SCALAR &delay, const SCALAR &newTimeHorizon, StateFeedbackController_t &policy) override |
virtual void | truncateSolutionFront (const SCALAR &delay, StateFeedbackController_t &policy, SCALAR &effectivelyTruncated) override |
Public Member Functions inherited from ct::optcon::PolicyHandler< core::StateFeedbackController< STATE_DIM, CONTROL_DIM, SCALAR >, STATE_DIM, CONTROL_DIM, SCALAR > | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | PolicyHandler () |
virtual | ~PolicyHandler () |
virtual void | designWarmStartingPolicy (const SCALAR &delay, const SCALAR &TimeHorizon, core::StateFeedbackController< STATE_DIM, CONTROL_DIM, SCALAR > &policy) |
design a warm-starting policy for the optimal control problem solver More... | |
virtual void | truncateSolutionFront (const SCALAR &delay, core::StateFeedbackController< STATE_DIM, CONTROL_DIM, SCALAR > &policy, SCALAR &effectivelyTruncated) |
a method required for additional post-truncation. More... | |
void | setPolicy (const core::StateFeedbackController< STATE_DIM, CONTROL_DIM, SCALAR > &newPolicy) |
set new policy to policy handler More... | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef core::StateFeedbackController< STATE_DIM, CONTROL_DIM, SCALAR > | StateFeedbackController_t |
Additional Inherited Members | |
Protected Attributes inherited from ct::optcon::PolicyHandler< core::StateFeedbackController< STATE_DIM, CONTROL_DIM, SCALAR >, STATE_DIM, CONTROL_DIM, SCALAR > | |
core::StateFeedbackController< STATE_DIM, CONTROL_DIM, SCALAR > | initialPolicy_ |
the default policy handler for iLQR
ct::optcon::StateFeedbackPolicyHandler< STATE_DIM, CONTROL_DIM, SCALAR >::StateFeedbackPolicyHandler | ( | const SCALAR & | dt | ) |
|
virtual |
|
overridevirtual |
References ct::core::DiscreteTrajectoryBase< T, Alloc, SCALAR >::back(), ct::core::DiscreteTrajectoryBase< T, Alloc, SCALAR >::eraseFront(), ct::core::DiscreteTrajectoryBase< T, Alloc, SCALAR >::getIndexFromTime(), i, ct::core::DiscreteTrajectoryBase< T, Alloc, SCALAR >::pop_back(), ct::core::DiscreteTrajectoryBase< T, Alloc, SCALAR >::push_back(), and ct::core::DiscreteTrajectoryBase< T, Alloc, SCALAR >::size().
|
overridevirtual |
required for additional post-truncation.
delay | the delay which is to be truncated away |
policy | the resulting, truncated policy |
effectivelyTruncated | the time which was effectively truncated away (can be different from the input in discrete-time case, for example) |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef core::StateFeedbackController<STATE_DIM, CONTROL_DIM, SCALAR> ct::optcon::StateFeedbackPolicyHandler< STATE_DIM, CONTROL_DIM, SCALAR >::StateFeedbackController_t |