diff --git a/newton-4.00/applications/ndSandbox/demos/ndAdvancedIndustrialRobot.cpp b/newton-4.00/applications/ndSandbox/demos/ndAdvancedIndustrialRobot.cpp index a965978d0..e6d306ac3 100644 --- a/newton-4.00/applications/ndSandbox/demos/ndAdvancedIndustrialRobot.cpp +++ b/newton-4.00/applications/ndSandbox/demos/ndAdvancedIndustrialRobot.cpp @@ -27,7 +27,7 @@ namespace ndAdvancedRobot #define ND_TRAIN_MODEL #define CONTROLLER_NAME "ndRobotArmReach-vpg.dnn" - #define ND_USE_EULERS + //#define ND_USE_EULERS class ndActionVector { @@ -283,6 +283,7 @@ namespace ndAdvancedRobot :ndModelNotify() ,m_effectorMatrixOffset(ndGetIdentityMatrix()) ,m_effectorPositOffset(ndVector::m_wOne) + ,m_controller(nullptr) ,m_controllerTrainer(nullptr) ,m_world(nullptr) ,m_arm_0(nullptr) @@ -307,6 +308,7 @@ namespace ndAdvancedRobot :ndModelNotify() ,m_effectorMatrixOffset(ndGetIdentityMatrix()) ,m_effectorPositOffset(ndVector::m_wOne) + ,m_controller(nullptr) ,m_controllerTrainer(nullptr) ,m_world(nullptr) ,m_arm_0(nullptr)