hello.
Fail at basic install .
ocs2 ok
but when : catkin build legged_controllers legged_unitree_description
Errors << legged_interface:make /home/ylo2/catkin_ws/logs/legged_interface/build.make.001.log
/home/ylo2/catkin_ws/src/legged_control/legged_interface/src/SwitchedModelReferenceManager.cpp: In member function ‘virtual void ocs2::legged_robot::SwitchedModelReferenceManager::setModeSchedule(const ocs2::ModeSchedule&)’:
/home/ylo2/catkin_ws/src/legged_control/legged_interface/src/SwitchedModelReferenceManager.cpp:49:21: error: ‘using element_type = class ocs2::legged_robot::GaitSchedule’ {aka ‘class ocs2::legged_robot::GaitSchedule’} haErrors << legged_interface:make /home/ylo2/catkin_ws/logs/legged_interface/build.make.001.log
/home/ylo2/catkin_ws/src/legged_control/legged_interface/src/SwitchedModelReferenceManager.cpp: In member function ‘virtual void ocs2::legged_robot::SwitchedModelReferenceManager::setModeSchedule(const ocs2::ModeSchedule&)’:
/home/ylo2/catkin_ws/src/legged_control/legged_interface/src/SwitchedModelReferenceManager.cpp:49:21: error: ‘using element_type = class ocs2::legged_robot::GaitSchedule’ {aka ‘class ocs2::legged_robot::GaitSchedule’} has no member named ‘setModeSchedule’; did you mean ‘getModeSchedule’?
49 | gaitSchedulePtr_->setModeSchedule(modeSchedule);
| ^~~~~~~~~~~~~~~
| getModeSchedule
compilation terminated due to -Wfatal-errors.
make[2]: *** [CMakeFiles/legged_interface.dir/build.make:154 : CMakeFiles/legged_interface.dir/src/SwitchedModelReferenceManager.cpp.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
In file included from /home/ylo2/catkin_ws/src/legged_control/legged_interface/src/LeggedInterface.cpp:10:
/home/ylo2/catkin_ws/src/legged_control/legged_interface/include/legged_interface/LeggedInterface.h:14:10: fatal error: ocs2_ipm/IpmSettings.h: Aucun fichier ou dossier de ce type
14 | #include <ocs2_ipm/IpmSettings.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/legged_interface.dir/build.make:180 : CMakeFiles/legged_interface.dir/src/LeggedInterface.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:155 : CMakeFiles/legged_interface.dir/all] Erreur 2
make: *** [Makefile:141 : all] Erreur 2
cd /home/ylo2/catkin_ws/build/legged_interface; catkin build --get-env legged_interface | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -s no member named ‘setModeSchedule’; did you mean ‘getModeSchedule’?
49 | gaitSchedulePtr_->setModeSchedule(modeSchedule);
| ^~~~~~~~~~~~~~~
| getModeSchedule
compilation terminated due to -Wfatal-errors.
make[2]: *** [CMakeFiles/legged_interface.dir/build.make:154 : CMakeFiles/legged_interface.dir/src/SwitchedModelReferenceManager.cpp.o] Erreur 1
make[2]: *** Attente des tâches non terminées....
In file included from /home/ylo2/catkin_ws/src/legged_control/legged_interface/src/LeggedInterface.cpp:10:
/home/ylo2/catkin_ws/src/legged_control/legged_interface/include/legged_interface/LeggedInterface.h:14:10: fatal error: ocs2_ipm/IpmSettings.h: Aucun fichier ou dossier de ce type
14 | #include <ocs2_ipm/IpmSettings.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/legged_interface.dir/build.make:180 : CMakeFiles/legged_interface.dir/src/LeggedInterface.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:155 : CMakeFiles/legged_interface.dir/all] Erreur 2
make: *** [Makefile:141 : all] Erreur 2
cd /home/ylo2/catkin_ws/build/legged_interface; catkin build --get-env legged_interface | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -
terminal says : GaitSchedule’ {aka ‘class ocs2::legged_robot::GaitSchedule’} has no member named ‘setModeSchedule’; did you mean ‘getModeSchedule’?
hello. Fail at basic install . ocs2 ok but when :
catkin build legged_controllers legged_unitree_description
terminal says :
GaitSchedule’ {aka ‘class ocs2::legged_robot::GaitSchedule’} has no member named ‘setModeSchedule’; did you mean ‘getModeSchedule’?