Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
sot-talos
Commits
52979dc3
Commit
52979dc3
authored
Feb 21, 2019
by
Olivier Stasse
Browse files
[sot-talos-device] Initializing timestep_ inside the constructor.
parent
499f757c
Pipeline
#2954
failed with stage
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/sot-talos-device.cpp
View file @
52979dc3
...
...
@@ -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_
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment