Commit 1f67ba19 authored by Olivier Stasse's avatar Olivier Stasse
Browse files

Fix missing initialization triggering signal FPE errors.

parent 01eb2564
Pipeline #10866 passed with stage
in 16 minutes and 37 seconds
......@@ -37,7 +37,8 @@ using namespace PatternGeneratorJRL;
DoubleStagePreviewControlStrategy::DoubleStagePreviewControlStrategy(
SimplePluginManager *aSPM)
: GlobalStrategyManager(aSPM) {
: GlobalStrategyManager(aSPM),
m_PreviewControlTime(0) {
m_ZMPFrame = ZMPFRAME_WAIST;
// The object to realize the global stage of preview control.
......
......@@ -44,7 +44,9 @@ using namespace PatternGeneratorJRL;
ZMPPreviewControlWithMultiBodyZMP::ZMPPreviewControlWithMultiBodyZMP(
SimplePluginManager *lSPM)
: SimplePlugin(lSPM) {
: SimplePlugin(lSPM),
m_PreviewControlTime(0)
{
m_ComAndFootRealization = 0;
m_PinocchioRobot = 0;
......
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