Skip to content

Commit 58efe02

Browse files
[tools] Change names for consistency and helps the graph display.
1 parent 935ac1e commit 58efe02

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/tools/device.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ Device( const std::string& n )
126126
,controlInputType_(CONTROL_INPUT_ONE_INTEGRATION)
127127
,controlSIN( NULL,"Device("+n+")::input(double)::control" )
128128
//,attitudeSIN(NULL,"Device::input(matrixRot)::attitudeIN")
129-
,attitudeSIN(NULL,"Device::input(vector3)::attitudeIN")
130-
,zmpSIN(NULL,"Device::input(vector3)::zmp")
129+
,attitudeSIN(NULL,"Device("+ n +")::input(vector3)::attitudeIN")
130+
,zmpSIN(NULL,"Device("+n+")::input(vector3)::zmp")
131131
,stateSOUT( "Device("+n+")::output(vector)::state" )
132132
,velocitySOUT( "Device("+n+")::output(vector)::velocity" )
133133
,attitudeSOUT( "Device("+n+")::output(matrixRot)::attitude" )
134-
,pseudoTorqueSOUT( "Device::output(vector)::ptorque" )
134+
,pseudoTorqueSOUT( "Device("+n+")::output(vector)::ptorque" )
135135
,previousControlSOUT( "Device("+n+")::output(vector)::previousControl" )
136136
,motorcontrolSOUT( "Device("+n+")::output(vector)::motorcontrol" )
137137
,ZMPPreviousControllerSOUT( "Device("+n+")::output(vector)::zmppreviouscontroller" ), ffPose_(),
@@ -141,13 +141,13 @@ Device( const std::string& n )
141141
/* --- SIGNALS --- */
142142
for( int i=0;i<4;++i ){ withForceSignals[i] = false; }
143143
forcesSOUT[0] =
144-
new Signal<Vector, int>("OpenHRP::output(vector6)::forceRLEG");
144+
new Signal<Vector, int>("Device("+n+")::output(vector6)::forceRLEG");
145145
forcesSOUT[1] =
146-
new Signal<Vector, int>("OpenHRP::output(vector6)::forceLLEG");
146+
new Signal<Vector, int>("Device("+n+")::output(vector6)::forceLLEG");
147147
forcesSOUT[2] =
148-
new Signal<Vector, int>("OpenHRP::output(vector6)::forceRARM");
148+
new Signal<Vector, int>("Device("+n+")::output(vector6)::forceRARM");
149149
forcesSOUT[3] =
150-
new Signal<Vector, int>("OpenHRP::output(vector6)::forceLARM");
150+
new Signal<Vector, int>("Device("+n+")::output(vector6)::forceLARM");
151151

152152
signalRegistration( controlSIN<<stateSOUT<<robotState_<<robotVelocity_
153153
<<velocitySOUT<<attitudeSOUT

0 commit comments

Comments
 (0)