Skip to content

Draft: Temporary: Disable code that does not compile. Do not merge into master!

Rainer Kartmann requested to merge temporary-compile-fix/zero-torque-control into main

To be closed after the error has been fixed.

[ 77%] Building CXX object source/devices/ethercat/sensor_actor_unit/armar7de/CMakeFiles/sensor_actor_unit_armar7de.dir/joint_controller/ZeroTorque.cpp.o
/home/armar-user/code/armarx_integration/devices/ethercat/source/devices/ethercat/sensor_actor_unit/armar7de/joint_controller/ZeroTorque.cpp: In member function ‘virtual void devices::ethercat::sensor_actor_unit::armar7de::joint_controller::ZeroTorqueController::rtRun(const IceUtil::Time&, const IceUtil::Time&)’:
/home/armar-user/code/armarx_integration/devices/ethercat/source/devices/ethercat/sensor_actor_unit/armar7de/joint_controller/ZeroTorque.cpp:80:30: error: ‘class armarx::control::joint_controller::VelocityManipulatingTorqueController’ has no member named ‘setTorqueConfigData’; did you mean ‘getTorqueConfigData’?
             torqueController.setTorqueConfigData(torqueControllerConfig);
                              ^~~~~~~~~~~~~~~~~~~
                              getTorqueConfigData
/home/armar-user/code/armarx_integration/devices/ethercat/source/devices/ethercat/sensor_actor_unit/armar7de/joint_controller/ZeroTorque.cpp: In member function ‘virtual void devices::ethercat::sensor_actor_unit::armar7de::joint_controller::ZeroTorqueController::rtPreActivateController()’:
/home/armar-user/code/armarx_integration/devices/ethercat/source/devices/ethercat/sensor_actor_unit/armar7de/joint_controller/ZeroTorque.cpp:103:63: error: conversion from ‘const VelocityManipulatingTorqueControllerConfigurationPtr’ {aka ‘const std::shared_ptr<armarx::control::joint_controller::VelocityManipulatingTorqueControllerConfiguration>’} to non-scalar type ‘armarx::control::joint_controller::VelocityManipulatingTorqueControllerConfiguration’ requested
                         = torqueController.getTorqueConfigData();
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
source/devices/ethercat/sensor_actor_unit/armar7de/CMakeFiles/sensor_actor_unit_armar7de.dir/build.make:229: recipe for target 'source/devices/ethercat/sensor_actor_unit/armar7de/CMakeFiles/sensor_actor_unit_armar7de.dir/joint_controller/ZeroTorque.cpp.o' failed
make[2]: *** [source/devices/ethercat/sensor_actor_unit/armar7de/CMakeFiles/sensor_actor_unit_armar7de.dir/joint_controller/ZeroTorque.cpp.o] Error 1
CMakeFiles/Makefile2:1707: recipe for target 'source/devices/ethercat/sensor_actor_unit/armar7de/CMakeFiles/sensor_actor_unit_armar7de.dir/all' failed
make[1]: *** [source/devices/ethercat/sensor_actor_unit/armar7de/CMakeFiles/sensor_actor_unit_armar7de.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

Merge request reports

Loading