Go to the documentation of this file.
10 #include <dynamic-graph/pool.h>
31 panRank(PAN_RANK_DEFAULT),
32 tiltRank(TILT_RANK_DEFAULT),
33 coeffLinearPan(COEFF_LINEAR_DEFAULT),
34 coeffAffinePan(COEFF_AFFINE_DEFAULT),
35 signTilt(SIGN_TILT_DEFAULT)
38 jointSIN(NULL,
"NeckLimitation(" +
name +
")::input(vector)::joint"),
42 "NeckLimitation(" +
name +
")::output(dummy)::jointLimited") {
68 const double &pan = joint(
panRank);
69 const double &tilt = joint(
tiltRank);
70 double &panLimited = jointLimited(
panRank);
71 double &tiltLimited = jointLimited(
tiltRank);
75 sotDEBUG(15) <<
"Pan = 0" << std::endl;
83 sotDEBUG(15) <<
"Pan > 0" << std::endl;
106 sotDEBUG(15) <<
"Pan < 0" << std::endl;
141 os <<
"NeckLimitation " <<
getName() <<
"." << std::endl;
static const double COEFF_AFFINE_DEFAULT
dynamicgraph::SignalPtr< dynamicgraph::Vector, sigtime_t > jointSIN
dynamicgraph::Vector & computeJointLimitation(dynamicgraph::Vector &jointLimited, const sigtime_t &timeSpec)
virtual void display(std::ostream &os) const
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(FeaturePosture, "FeaturePosture")
const std::string & getName() const
static const std::size_t PAN_RANK_DEFAULT
NeckLimitation(const std::string &name)
#define sotDEBUGOUT(level)
static const double SIGN_TILT_DEFAULT
#define sotDEBUGIN(level)
static const double COEFF_LINEAR_DEFAULT
virtual ~NeckLimitation(void)
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_t > jointSOUT
void signalRegistration(const SignalArray< sigtime_t > &signals)
static const std::size_t TILT_RANK_DEFAULT
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31