Commit 52979dc3 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

[sot-talos-device] Initializing timestep_ inside the constructor.

parent 499f757c
Pipeline #2954 failed with stage
in 24 seconds
......@@ -59,7 +59,6 @@ DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(SoTTalosDevice,"DeviceTalos");
SoTTalosDevice::SoTTalosDevice(std::string RobotName):
dgsot::Device(RobotName),
timestep_(TIMESTEP_DEFAULT),
previousState_ (),
baseff_ (),
accelerometerSOUT_("Device(" + RobotName + ")::output(vector)::accelerometer"),
......@@ -74,7 +73,9 @@ SoTTalosDevice::SoTTalosDevice(std::string RobotName):
gyrometer_ (3)
{
RESETDEBUG5();
timestep_=TIMESTEP_DEFAULT;
sotDEBUGIN(25) ;
for( int i=0;i<4;++i ) { withForceSignals[i] = true; }
signalRegistration (accelerometerSOUT_ << gyrometerSOUT_
<< currentsSOUT_
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment