Go to the documentation of this file.
27 "sotFeatureAbstract(" +
name +
")::input(flag)::selec"),
29 NULL,
"sotFeatureAbstract(" +
name +
")::input(vector)::errordotIN"),
32 "sotFeatureAbstract(" +
name +
")::output(vector)::error"),
34 selectionSIN << errordotSIN,
35 "sotFeatureAbstract(" +
name +
")::output(vector)::errordot")
41 "sotFeatureAbstract(" +
name +
")::output(matrix)::jacobian"),
44 "sotFeatureAbstract(" +
name +
")::output(uint)::dim") {
53 using namespace command;
57 "Give the name of the reference feature.\nInput: a string "
62 "Get the name of the reference feature.\nOutput: a string "
75 os <<
"\t\"" << asotFA->
getName() <<
"\" -> \"" <<
getName() <<
"\""
76 <<
"[ color=darkseagreen4 ]" << std::endl;
78 std::cout <<
"asotFAT : 0" << std::endl;
100 std::size_t curr = 0;
108 sotDEBUG(15) <<
"Err* = " << errdotDes;
109 if (errdotDes.size() <
dim) {
112 "Error: dimension uncompatible with des->errorIN size."
113 " (while considering feature <%s>).",
118 if (fl(
i))
res(curr++) = -errdotDes(
i);
SignalTimeDependent< dynamicgraph::Vector, sigtime_t > errorSOUT
This signal returns the error between the desired value and the current value : .
void featureRegistration(void)
Register the feature in the stack of tasks.
virtual std::ostream & writeGraph(std::ostream &os) const
virtual void setReference(FeatureAbstract *sdes)=0
SignalPtr< Flags, sigtime_t > selectionSIN
This vector specifies which dimension are used to perform the computation. For instance let us assume...
SignalTimeDependent< dynamicgraph::Matrix, sigtime_t > jacobianSOUT
Jacobian of the error wrt the robot state: .
FeatureAbstract(const std::string &name)
Default constructor: the name of the class should be given.
This class gives the abstract definition of a feature.
const std::string & getName() const
static const std::string CLASS_NAME
Store the name of the class.
virtual std::ostream & writeGraph(std::ostream &os) const
This method write a graph description on the file named FileName.
std::string getReferenceByName(void) const
static PoolStorage * getInstance()
void setReferenceByName(const std::string &name)
virtual dynamicgraph::Vector & computeErrorDot(dynamicgraph::Vector &res, sigtime_t time)
virtual const FeatureAbstract * getReferenceAbstract(void) const =0
virtual bool isPlugged() const
void addCommand(const std::string &name, command::Command *command)
SignalTimeDependent< size_type, sigtime_t > dimensionSOUT
Returns the dimension of the feature as an output signal.
SignalPtr< dynamicgraph::Vector, sigtime_t > errordotSIN
Derivative of the reference value.
virtual bool isReferenceSet(void) const
void signalRegistration(const SignalArray< sigtime_t > &signals)
sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:31