31 MotionPeriod::MotionPeriod(
const string &fName)
36 "MotionPeriod(" +
name +
")::output(vector)::motion") {
51 for (
unsigned int i = 0;
i <
size; ++
i) {
79 for (
unsigned int i = 0;
i <
size; ++
i) {
89 os <<
"MotionPeriod <" <<
name <<
"> ... TODO";
92 #define SOT_PARAMS_CONFIG(ARGname, ARGtype) \ 93 else if (cmdLine == #ARGname) { \ 96 cmdArgs >> rank >> std::ws; \ 97 if (rank >= this->size) { \ 98 os << "!! Error: size size too large." << std::endl; \ 100 if (cmdArgs.good()) { \ 102 motionParams[rank].ARGname = period; \ 104 os << #ARGname << "[" << rank << "] = " << motionParams[rank].ARGname \
void signalRegistration(const SignalArray< int > &signals)
void resize(const unsigned int &size)
MotionPeriodType motionType
#define sotDEBUGOUT(level)
void setNeedUpdateFromAllChildren(const bool b=true)
#define sotDEBUGIN(level)
virtual void display(std::ostream &os) const
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > motionSOUT
dynamicgraph::Vector & computeMotion(dynamicgraph::Vector &res, const int &time)
DYNAMIC_GRAPH_DLLAPI SignalArray< int > sotNOSIGNAL
std::vector< sotMotionParam > motionParams
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(MotionPeriod, "MotionPeriod")