Go to the documentation of this file. 1 #ifndef AIKIDO_CONSTRAINT_NEWTONSMETHODPROJECTABLE_HPP_
2 #define AIKIDO_CONSTRAINT_NEWTONSMETHODPROJECTABLE_HPP_
10 namespace constraint {
27 std::vector<double> _tolerance,
28 int _maxIteration = 1000,
29 double _minStepSize = 1e-5);
int mMaxIteration
Definition: NewtonsMethodProjectable.hpp:42
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
std::shared_ptr< const StateSpace > ConstStateSpacePtr
Definition: StateSpace.hpp:15
A projectable constraint.
Definition: Projectable.hpp:12
std::shared_ptr< Differentiable > DifferentiablePtr
Definition: Differentiable.hpp:14
statespace::ConstStateSpacePtr getStateSpace() const override
Gets the StateSpace that this constraint operates on.
statespace::ConstStateSpacePtr mStateSpace
Definition: NewtonsMethodProjectable.hpp:44
bool contains(const statespace::StateSpace::State *_s) const
NewtonsMethodProjectable(DifferentiablePtr _differentiable, std::vector< double > _tolerance, int _maxIteration=1000, double _minStepSize=1e-5)
Constructor.
Definition: StateSpace.hpp:167
Uses Newton's method to project state.
Definition: NewtonsMethodProjectable.hpp:13
bool project(const statespace::StateSpace::State *_s, statespace::StateSpace::State *_out) const override
Projection _s to _out.
double mMinStepSize
Definition: NewtonsMethodProjectable.hpp:43
DifferentiablePtr mDifferentiable
Definition: NewtonsMethodProjectable.hpp:40
std::vector< double > mTolerance
Definition: NewtonsMethodProjectable.hpp:41