Skip to content

Commit c7f33d1

Browse files
Same commit as before but maintaining the same formatting
1 parent 2ad18d3 commit c7f33d1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

include/sot/core/device.hh

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ namespace dynamicgraph {
4848
public:
4949
static const std::string CLASS_NAME;
5050
virtual const std::string& getClassName(void) const {
51-
return CLASS_NAME;
51+
return CLASS_NAME;
5252
}
53-
53+
5454
enum ForceSignalSource
5555
{
56-
FORCE_SIGNAL_RLEG,
57-
FORCE_SIGNAL_LLEG,
58-
FORCE_SIGNAL_RARM,
59-
FORCE_SIGNAL_LARM
56+
FORCE_SIGNAL_RLEG,
57+
FORCE_SIGNAL_LLEG,
58+
FORCE_SIGNAL_RARM,
59+
FORCE_SIGNAL_LARM
6060
};
61-
61+
6262
protected:
6363
ml::Vector state_;
6464
ml::Vector velocity_;
@@ -69,24 +69,24 @@ namespace dynamicgraph {
6969
PeriodicCall periodicCallBefore_;
7070
PeriodicCall periodicCallAfter_;
7171
public:
72-
72+
7373
/* --- CONSTRUCTION --- */
7474
Device(const std::string& name);
7575
/* --- DESTRUCTION --- */
7676
virtual ~Device();
77-
77+
7878
virtual void setStateSize(const unsigned int& size);
7979
virtual void setState(const ml::Vector& st);
8080
void setVelocitySize(const unsigned int& size);
8181
virtual void setVelocity(const ml::Vector & vel);
8282
virtual void setSecondOrderIntegration();
8383
virtual void increment(const double & dt = 5e-2);
84-
84+
8585
public: /* --- DISPLAY --- */
8686
virtual void display(std::ostream& os) const;
8787
SOT_CORE_EXPORT friend std::ostream&
88-
operator<<(std::ostream& os,const Device& r) {
89-
r.display(os); return os;
88+
operator<<(std::ostream& os,const Device& r) {
89+
r.display(os); return os;
9090
}
9191

9292
public: /* --- SIGNALS --- */
@@ -110,11 +110,11 @@ namespace dynamicgraph {
110110

111111
public: /* --- COMMANDS --- */
112112
void commandLine(const std::string&, std::istringstream&,
113-
std::ostream&){}
113+
std::ostream&){}
114114
protected:
115115
/// Compute roll pitch yaw angles of freeflyer joint.
116116
void integrateRollPitchYaw(ml::Vector& state, const ml::Vector& control,
117-
double dt);
117+
double dt);
118118
/// Store Position of free flyer joint
119119
MatrixHomogeneous ffPose_;
120120
/// Compute the new position, from the current control.

0 commit comments

Comments
 (0)