1515
1616/* Matrix */
1717#include < dynamic-graph/linear-algebra.h>
18- namespace dg = dynamicgraph;
1918
2019/* SOT */
2120#include < dynamic-graph/all-signals.h>
@@ -39,44 +38,45 @@ namespace dg = dynamicgraph;
3938
4039namespace dynamicgraph {
4140namespace sot {
42- namespace dg = dynamicgraph;
4341
4442/* --------------------------------------------------------------------- */
4543/* --- CLASS ----------------------------------------------------------- */
4644/* --------------------------------------------------------------------- */
4745
48- class SOTCLAMPWORKSPACE_EXPORT ClampWorkspace : public dg ::Entity {
46+ class SOTCLAMPWORKSPACE_EXPORT ClampWorkspace : public dynamicgraph ::Entity {
4947public:
5048 static const std::string CLASS_NAME;
5149 virtual const std::string &getClassName (void ) const { return CLASS_NAME; }
5250
5351 /* --- SIGNALS ------------------------------------------------------------ */
5452public:
55- dg ::SignalPtr<MatrixHomogeneous, int > positionrefSIN;
56- dg ::SignalPtr<MatrixHomogeneous, int > positionSIN;
57- dg ::SignalTimeDependent<dg ::Matrix, int > alphaSOUT;
58- dg ::SignalTimeDependent<dg ::Matrix, int > alphabarSOUT;
59- dg ::SignalTimeDependent<MatrixHomogeneous, int > handrefSOUT;
53+ dynamicgraph ::SignalPtr<MatrixHomogeneous, int > positionrefSIN;
54+ dynamicgraph ::SignalPtr<MatrixHomogeneous, int > positionSIN;
55+ dynamicgraph ::SignalTimeDependent<dynamicgraph ::Matrix, int > alphaSOUT;
56+ dynamicgraph ::SignalTimeDependent<dynamicgraph ::Matrix, int > alphabarSOUT;
57+ dynamicgraph ::SignalTimeDependent<MatrixHomogeneous, int > handrefSOUT;
6058
6159public:
6260 ClampWorkspace (const std::string &name);
6361 virtual ~ClampWorkspace (void ) {}
6462
6563 void update (int time);
6664
67- virtual dg::Matrix &computeOutput (dg::Matrix &res, int time);
68- virtual dg::Matrix &computeOutputBar (dg::Matrix &res, int time);
65+ virtual dynamicgraph::Matrix &computeOutput (dynamicgraph::Matrix &res,
66+ int time);
67+ virtual dynamicgraph::Matrix &computeOutputBar (dynamicgraph::Matrix &res,
68+ int time);
6969 virtual MatrixHomogeneous &computeRef (MatrixHomogeneous &res, int time);
7070
7171 virtual void display (std::ostream &) const ;
7272
7373private:
7474 int timeUpdate;
7575
76- dg ::Matrix alpha;
77- dg ::Matrix alphabar;
76+ dynamicgraph ::Matrix alpha;
77+ dynamicgraph ::Matrix alphabar;
7878 MatrixHomogeneous prefMp;
79- dg ::Vector pd;
79+ dynamicgraph ::Vector pd;
8080 MatrixRotation Rd;
8181 MatrixHomogeneous handref;
8282
0 commit comments