10 #ifndef __SOT_FEATURE_JOINTLIMITS_HH__
11 #define __SOT_FEATURE_JOINTLIMITS_HH__
26 #if defined(feature_joint_limits_EXPORTS)
27 #define SOTFEATUREJOINTLIMITS_EXPORT __declspec(dllexport)
29 #define SOTFEATUREJOINTLIMITS_EXPORT __declspec(dllimport)
32 #define SOTFEATUREJOINTLIMITS_EXPORT
51 virtual const std::string &
getClassName(
void)
const {
return CLASS_NAME; }
63 dynamicgraph::SignalPtr<dynamicgraph::Vector, int>
jointSIN;
64 dynamicgraph::SignalPtr<dynamicgraph::Vector, int>
upperJlSIN;
65 dynamicgraph::SignalPtr<dynamicgraph::Vector, int>
lowerJlSIN;
85 virtual dynamicgraph::Vector &
computeError(dynamicgraph::Vector &res,
95 virtual void display(std::ostream &os)
const;
This class gives the abstract definition of a feature.
Definition: feature-abstract.hh:76
SignalTimeDependent< dynamicgraph::Matrix, int > jacobianSOUT
Jacobian of the error wrt the robot state: .
Definition: feature-abstract.hh:193
SignalTimeDependent< dynamicgraph::Vector, int > errorSOUT
This signal returns the error between the desired value and the current value : .
Definition: feature-abstract.hh:185
SignalPtr< Flags, int > selectionSIN
This vector specifies which dimension are used to perform the computation. For instance let us assume...
Definition: feature-abstract.hh:173
Class that defines gradient vector for jl avoidance.
Definition: feature-joint-limits.hh:48
dynamicgraph::Vector & computeWidthJl(dynamicgraph::Vector &res, const int &time)
virtual dynamicgraph::Matrix & computeJacobian(dynamicgraph::Matrix &res, int time)
Compute the Jacobian of the error according the robot state.
static const double THRESHOLD_DEFAULT
Definition: feature-joint-limits.hh:55
virtual dynamicgraph::Vector & computeError(dynamicgraph::Vector &res, int time)
Compute the error between the desired feature and the current value of the feature measured or deduce...
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > lowerJlSIN
Definition: feature-joint-limits.hh:65
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > upperJlSIN
Definition: feature-joint-limits.hh:64
DECLARE_REFERENCE_FUNCTIONS(FeatureJointLimits)
virtual unsigned int & getDimension(unsigned int &dim, int time)
Verbose method.
virtual const std::string & getClassName(void) const
Returns the name class.
Definition: feature-joint-limits.hh:51
double threshold
Definition: feature-joint-limits.hh:54
virtual void display(std::ostream &os) const
FeatureJointLimits(const std::string &name)
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > widthJlSINTERN
Definition: feature-joint-limits.hh:66
virtual ~FeatureJointLimits(void)
Definition: feature-joint-limits.hh:81
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > jointSIN
Definition: feature-joint-limits.hh:63
static Flags selectActuated(void)
static const std::string CLASS_NAME
Definition: feature-joint-limits.hh:50
Definition: feature-abstract.hh:229
#define SOTFEATUREJOINTLIMITS_EXPORT
Definition: feature-joint-limits.hh:32
Definition: abstract-sot-external-interface.hh:17