Skip to content

Commit 30a20f0

Browse files
[Device] Remove ffpose member and accessor.
1 parent 71044ef commit 30a20f0

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

include/sot/core/device.hh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,6 @@ class SOT_CORE_EXPORT Device : public Entity {
144144
dynamicgraph::Signal<dynamicgraph::Vector, int> pseudoTorqueSOUT;
145145
/// \}
146146

147-
protected:
148-
/// Store Position of free flyer joint
149-
MatrixHomogeneous ffPose_;
150-
151-
protected:
152-
/// Get freeflyer pose
153-
const MatrixHomogeneous &freeFlyerPose() const;
154-
155147
public:
156148
virtual void setRoot(const dynamicgraph::Matrix &root);
157149

src/tools/device.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ inline double saturateBounds(double &val, const double &lower,
6969
/* --- CLASS ----------------------------------------------------------- */
7070
/* --------------------------------------------------------------------- */
7171

72-
const MatrixHomogeneous &Device::freeFlyerPose() const { return ffPose_; }
73-
7472
Device::~Device() {
7573
for (unsigned int i = 0; i < 4; ++i) {
7674
delete forcesSOUT[i];
@@ -99,7 +97,7 @@ Device::Device(const std::string &n)
9997
pseudoTorqueSOUT("Device(" + n + ")::output(vector)::ptorque")
10098

10199
,
102-
ffPose_(), lastTimeControlWasRead_(0), controlSize_(0),
100+
lastTimeControlWasRead_(0), controlSize_(0),
103101
forceZero6(6) {
104102
forceZero6.fill(0);
105103
/* --- SIGNALS --- */

0 commit comments

Comments
 (0)