Drake
Drake C++ Documentation
system_constraint.h File Reference
#include <functional>
#include <limits>
#include <optional>
#include <string>
#include <utility>
#include "drake/common/autodiff.h"
#include "drake/common/default_scalars.h"
#include "drake/common/drake_assert.h"
#include "drake/common/drake_bool.h"
#include "drake/common/drake_throw.h"
#include "drake/common/eigen_types.h"
#include "drake/common/never_destroyed.h"
#include "drake/common/type_safe_index.h"
#include "drake/systems/framework/context.h"
#include "drake/systems/framework/framework_common.h"
Include dependency graph for system_constraint.h:
This graph shows which files directly or indirectly include this file:

Classes

class  System< T >
 Base class for all System functionality that is dependent on the templatized scalar type T for input, state, parameters, and outputs. More...
 
class  SystemConstraintBounds
 The bounds of a SystemConstraint. More...
 
class  SystemConstraint< T >
 A SystemConstraint is a generic base-class for constraints on Systems. More...
 
class  ExternalSystemConstraint
 An "external" constraint on a System. More...
 

Namespaces

 drake
 
 drake::systems
 

Typedefs

template<typename T >
using ContextConstraintCalc = std::function< void(const Context< T > &, VectorX< T > *value)>
 This is the signature of a stateless function that evaluates the value of the constraint function f: value = f(context) More...
 
template<typename T >
using SystemConstraintCalc = std::function< void(const System< T > &, const Context< T > &, VectorX< T > *value)>
 This is the signature of a stateless function that evaluates the value of the constraint function f: value = f(system, context) More...
 

Enumerations

enum  SystemConstraintType { kEquality = 0, kInequality }
 The form of a SystemConstraint. More...
 

Functions

 DRAKE_DECLARE_CLASS_TEMPLATE_INSTANTIATIONS_ON_DEFAULT_SCALARS (class ::drake::systems::SystemConstraint)
 

Function Documentation

◆ DRAKE_DECLARE_CLASS_TEMPLATE_INSTANTIATIONS_ON_DEFAULT_SCALARS()

DRAKE_DECLARE_CLASS_TEMPLATE_INSTANTIATIONS_ON_DEFAULT_SCALARS ( class ::drake::systems::SystemConstraint  )