10 #ifndef __SOT_SMOOTHREACH_H_H
11 #define __SOT_SMOOTHREACH_H_H
18 #include <dynamic-graph/linear-algebra.h>
21 #include <dynamic-graph/all-signals.h>
22 #include <dynamic-graph/entity.h>
29 #if defined(com_freezer_EXPORTS)
30 #define SOTSMOOTHREACH_EXPORT __declspec(dllexport)
32 #define SOTSMOOTHREACH_EXPORT __declspec(dllimport)
35 #define SOTSMOOTHREACH_EXPORT
48 virtual const std::string &
getClassName()
const {
return CLASS_NAME; }
51 dynamicgraph::Vector start, goal;
52 int startTime, lengthTime;
53 bool isStarted, isParam;
57 double smoothFunction(
double x);
64 dynamicgraph::SignalPtr<dynamicgraph::Vector, int>
startSIN;
65 dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int>
goalSOUT;
71 void set(
const dynamicgraph::Vector &goal,
const int &length);
72 const dynamicgraph::Vector &
getGoal(
void);
79 virtual void display(std::ostream &os)
const;
Definition: smooth-reach.hh:45
const dynamicgraph::Vector & getGoal(void)
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > startSIN
Definition: smooth-reach.hh:61
dynamicgraph::Vector & goalSOUT_function(dynamicgraph::Vector &goal, const int &time)
virtual const std::string & getClassName() const
Definition: smooth-reach.hh:48
void set(const dynamicgraph::Vector &goal, const int &length)
void setSmoothing(const int &mode, const double ¶m)
virtual void display(std::ostream &os) const
const int & getStart(void)
SmoothReach(const std::string &name)
virtual ~SmoothReach(void)
Definition: smooth-reach.hh:61
static const std::string CLASS_NAME
Definition: smooth-reach.hh:47
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > goalSOUT
Definition: smooth-reach.hh:65
const int & getLength(void)
Definition: abstract-sot-external-interface.hh:17
#define SOTSMOOTHREACH_EXPORT
Definition: smooth-reach.hh:35