7 #include <drake/drakeDynamicConstraint_export.h> 39 void eval(
const Eigen::Ref<const Eigen::VectorXd>&
x,
40 Eigen::VectorXd& y)
const override;
41 void eval(
const Eigen::Ref<const Drake::TaylorVecXd>& x,
56 template <
typename System>
70 typename System::template InputVector<Drake::TaylorVarXd> u = input;
76 std::shared_ptr<System>
system_;
std::vector< Number > x
Definition: IpoptSolver.cpp:169
Definition: constants.h:3
StateVector is an abstract base class template for vector quantities within the state of a System...
Definition: state_vector.h:20
NOTE: The contents of this class are for the most part direct ports of drake/systems/plants//inverseK...
Definition: Function.h:14
SystemDynamicConstraint(std::shared_ptr< System > system)
Definition: dynamic_constraint.h:60
static double * t
Definition: inverseKinSnoptBackend.cpp:62
TaylorVecd< Eigen::Dynamic, Eigen::Dynamic > TaylorVecXd
Definition: Gradient.h:26
Provides a base implementation and interface for a dynamic constraint (which is intended to be used w...
Definition: dynamic_constraint.h:23
std::size_t getNumStates(const System &sys)
getNumStates()
Definition: System.h:108
Implements a dynamic constraint which uses the dynamics function of a system.
Definition: dynamic_constraint.h:57
std::size_t getNumInputs(const System &sys)
getNumInputs()
Definition: System.h:135
TaylorVard< Eigen::Dynamic > TaylorVarXd
Definition: Gradient.h:25
A constraint is a function + lower and upper bounds.
Definition: Constraint.h:27
TestContinuousSystem system_
Definition: continuous_system_test.cc:50
const Eigen::Matrix< ScalarType, Rows, 1 > & toEigen(const Eigen::Matrix< ScalarType, Rows, 1 > &vec)
Definition: Vector.h:61