Starting >>> canopen_interfaces
Starting >>> lely_core_libraries
Starting >>> canopen_utils
Finished <<< canopen_interfaces [0.51s]
Finished <<< canopen_utils [0.83s]
--- stderr: lely_core_libraries
libtool: warning: relinking 'liblely-tap.la'
libtool: warning: relinking 'liblely-util.la'
libtool: warning: relinking 'liblely-can.la'
libtool: warning: relinking 'liblely-co.la'
libtool: warning: relinking 'liblely-io.la'
libtool: warning: relinking 'liblely-ev.la'
libtool: warning: relinking 'liblely-io2.la'
libtool: warning: relinking 'liblely-coapp.la'
---
Finished <<< lely_core_libraries [14.3s]
Starting >>> canopen_core
--- stderr: canopen_core
/home/drfly/dev_ws/src/ros2_canopen/canopen_core/src/lely_master_bridge.cpp: In member function ‘std::future<bool> ros2_canopen::LelyMasterBridge::async_write_nmt(uint8_t, uint8_t)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_core/src/lely_master_bridge.cpp:224:5: warning: no return statement in function returning non-void [-Wreturn-type]
224 | }
| ^
/home/drfly/dev_ws/src/ros2_canopen/canopen_core/src/lely_master_bridge.cpp: In member function ‘std::future<bool> ros2_canopen::LelyMasterBridge::async_write_nmt(uint8_t, uint8_t)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_core/src/lely_master_bridge.cpp:224:5: warning: no return statement in function returning non-void [-Wreturn-type]
224 | }
| ^
---
Finished <<< canopen_core [3.36s]
Starting >>> canopen_base_driver
--- stderr: canopen_base_driver
/home/drfly/dev_ws/src/ros2_canopen/canopen_base_driver/src/canopen_base_driver.cpp: In member function ‘virtual void ros2_canopen::BaseDriver::remove(lely::ev::Executor&, lely::canopen::AsyncMaster&, uint8_t)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_base_driver/src/canopen_base_driver.cpp:61:18: warning: unused parameter ‘exec’ [-Wunused-parameter]
61 | ev::Executor & exec,
| ~~~~~~~~~~~~~~~^~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_base_driver/src/canopen_base_driver.cpp:62:26: warning: unused parameter ‘master’ [-Wunused-parameter]
62 | canopen::AsyncMaster & master,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_base_driver/src/canopen_base_driver.cpp:63:11: warning: unused parameter ‘node_id’ [-Wunused-parameter]
63 | uint8_t node_id) noexcept
| ~~~~~~~~^~~~~~~
---
Finished <<< canopen_base_driver [2.47s]
Starting >>> canopen_proxy_driver
Finished <<< canopen_proxy_driver [6.74s]
Starting >>> canopen_402_driver
--- stderr: canopen_402_driver
In file included from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/mc_device_driver.hpp:9,
from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:15,
from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/motor.cpp:1:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/base.hpp: In constructor ‘canopen_402::MotorBase::MotorBase(const string&)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/base.hpp:17:34: warning: unused parameter ‘name’ [-Wunused-parameter]
17 | MotorBase(const std::string &name) {}
| ~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:15,
from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/motor.cpp:1:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/mc_device_driver.hpp: In member function ‘void ros2_canopen::MCDeviceDriver::validate_objs()’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/mc_device_driver.hpp:189:28: warning: enumeration value ‘CODataUnkown’ not handled in switch [-Wswitch]
189 | switch (obj->type)
| ^
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/mc_device_driver.hpp:210:28: warning: enumeration value ‘CODataUnkown’ not handled in switch [-Wswitch]
210 | switch (obj->type)
| ^
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/mc_device_driver.hpp:229:24: warning: enumeration value ‘CODataUnkown’ not handled in switch [-Wswitch]
229 | switch (obj->type)
| ^
In file included from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/motor.cpp:1:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In member function ‘virtual bool canopen_402::Mode::setTarget(const double&)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:157:46: warning: unused parameter ‘val’ [-Wunused-parameter]
157 | virtual bool setTarget(const double &val) { return false; }
| ~~~~~~~~~~~~~~^~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In member function ‘bool canopen_402::DefaultHomingMode::error(const string&)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:357:39: warning: unused parameter ‘msg’ [-Wunused-parameter]
357 | bool error(const std::string &msg)
| ~~~~~~~~~~~~~~~~~~~^~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/motor.cpp: In member function ‘virtual uint16_t canopen_402::Motor402::getMode()’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/motor.cpp:296:31: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
296 | return selected_mode_ ? selected_mode_->mode_id_ : MotorBase::No_Mode;
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/motor.cpp:1:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘canopen_402::WordAccessor<MASK>& canopen_402::WordAccessor<MASK>::operator=(const uint16_t&) [with short unsigned int MASK = 624; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/motor.cpp:204:14: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:142:22: warning: unused variable ‘was’ [-Wunused-variable]
142 | uint16_t was = word_;
| ^~~
In file included from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/mc_device_driver.hpp:9,
from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:15,
from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/canopen_402_driver.hpp:10,
from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:1:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/base.hpp: In constructor ‘canopen_402::MotorBase::MotorBase(const string&)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/base.hpp:17:34: warning: unused parameter ‘name’ [-Wunused-parameter]
17 | MotorBase(const std::string &name) {}
| ~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:15,
from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/canopen_402_driver.hpp:10,
from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:1:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/mc_device_driver.hpp: In member function ‘void ros2_canopen::MCDeviceDriver::validate_objs()’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/mc_device_driver.hpp:189:28: warning: enumeration value ‘CODataUnkown’ not handled in switch [-Wswitch]
189 | switch (obj->type)
| ^
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/mc_device_driver.hpp:210:28: warning: enumeration value ‘CODataUnkown’ not handled in switch [-Wswitch]
210 | switch (obj->type)
| ^
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/mc_device_driver.hpp:229:24: warning: enumeration value ‘CODataUnkown’ not handled in switch [-Wswitch]
229 | switch (obj->type)
| ^
In file included from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/canopen_402_driver.hpp:10,
from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:1:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In member function ‘virtual bool canopen_402::Mode::setTarget(const double&)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:157:46: warning: unused parameter ‘val’ [-Wunused-parameter]
157 | virtual bool setTarget(const double &val) { return false; }
| ~~~~~~~~~~~~~~^~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In member function ‘bool canopen_402::DefaultHomingMode::error(const string&)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:357:39: warning: unused parameter ‘msg’ [-Wunused-parameter]
357 | bool error(const std::string &msg)
| ~~~~~~~~~~~~~~~~~~~^~~
In file included from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:1:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/canopen_402_driver.hpp: In member function ‘virtual void ros2_canopen::MotionControllerDriver::on_rpdo(ros2_canopen::COData)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/canopen_402_driver.hpp:77:37: warning: unused parameter ‘data’ [-Wunused-parameter]
77 | virtual void on_rpdo(COData data) override
| ~~~~~~~^~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp: In member function ‘void ros2_canopen::MotionControllerDriver::handle_init(std_srvs::srv::Trigger_Request_<std::allocator<void> >::SharedPtr, std_srvs::srv::Trigger_Response_<std::allocator<void> >::SharedPtr)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:7:54: warning: unused parameter ‘request’ [-Wunused-parameter]
7 | const std_srvs::srv::Trigger::Request::SharedPtr request,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp: In member function ‘void ros2_canopen::MotionControllerDriver::handle_recover(std_srvs::srv::Trigger_Request_<std::allocator<void> >::SharedPtr, std_srvs::srv::Trigger_Response_<std::allocator<void> >::SharedPtr)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:19:54: warning: unused parameter ‘request’ [-Wunused-parameter]
19 | const std_srvs::srv::Trigger::Request::SharedPtr request,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp: In member function ‘void ros2_canopen::MotionControllerDriver::handle_halt(std_srvs::srv::Trigger_Request_<std::allocator<void> >::SharedPtr, std_srvs::srv::Trigger_Response_<std::allocator<void> >::SharedPtr)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:30:54: warning: unused parameter ‘request’ [-Wunused-parameter]
30 | const std_srvs::srv::Trigger::Request::SharedPtr request,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:31:49: warning: unused parameter ‘response’ [-Wunused-parameter]
31 | std_srvs::srv::Trigger::Response::SharedPtr response)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp: In member function ‘void ros2_canopen::MotionControllerDriver::handle_set_mode_position(std_srvs::srv::Trigger_Request_<std::allocator<void> >::SharedPtr, std_srvs::srv::Trigger_Response_<std::allocator<void> >::SharedPtr)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:40:54: warning: unused parameter ‘request’ [-Wunused-parameter]
40 | const std_srvs::srv::Trigger::Request::SharedPtr request,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp: In member function ‘void ros2_canopen::MotionControllerDriver::handle_set_mode_velocity(std_srvs::srv::Trigger_Request_<std::allocator<void> >::SharedPtr, std_srvs::srv::Trigger_Response_<std::allocator<void> >::SharedPtr)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:56:54: warning: unused parameter ‘request’ [-Wunused-parameter]
56 | const std_srvs::srv::Trigger::Request::SharedPtr request,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp: In member function ‘void ros2_canopen::MotionControllerDriver::handle_set_mode_cyclic_position(std_srvs::srv::Trigger_Request_<std::allocator<void> >::SharedPtr, std_srvs::srv::Trigger_Response_<std::allocator<void> >::SharedPtr)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:71:54: warning: unused parameter ‘request’ [-Wunused-parameter]
71 | const std_srvs::srv::Trigger::Request::SharedPtr request,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp: In member function ‘void ros2_canopen::MotionControllerDriver::handle_set_mode_cyclic_velocity(std_srvs::srv::Trigger_Request_<std::allocator<void> >::SharedPtr, std_srvs::srv::Trigger_Response_<std::allocator<void> >::SharedPtr)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:86:54: warning: unused parameter ‘request’ [-Wunused-parameter]
86 | const std_srvs::srv::Trigger::Request::SharedPtr request,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp: In member function ‘void ros2_canopen::MotionControllerDriver::handle_set_mode_torque(std_srvs::srv::Trigger_Request_<std::allocator<void> >::SharedPtr, std_srvs::srv::Trigger_Response_<std::allocator<void> >::SharedPtr)’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:101:54: warning: unused parameter ‘request’ [-Wunused-parameter]
101 | const std_srvs::srv::Trigger::Request::SharedPtr request,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 10; TYPE = short int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData16; short unsigned int OBJ = 24689; unsigned char SUB = 0; short unsigned int CW_MASK = 0; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
226 | virtual bool read(const uint16_t &sw) { return true; }
| ~~~~~~~~~~~~~~~~^~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 9; TYPE = int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData32; short unsigned int OBJ = 24831; unsigned char SUB = 0; short unsigned int CW_MASK = 0; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 8; TYPE = int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData32; short unsigned int OBJ = 24698; unsigned char SUB = 0; short unsigned int CW_MASK = 0; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 7; TYPE = int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData32; short unsigned int OBJ = 24769; unsigned char SUB = 1; short unsigned int CW_MASK = 16; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 4; TYPE = short int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData16; short unsigned int OBJ = 24689; unsigned char SUB = 0; short unsigned int CW_MASK = 0; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 3; TYPE = int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData32; short unsigned int OBJ = 24831; unsigned char SUB = 0; short unsigned int CW_MASK = 0; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 2; TYPE = short int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData16; short unsigned int OBJ = 24642; unsigned char SUB = 0; short unsigned int CW_MASK = 112; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
In file included from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/canopen_402_driver.hpp:10,
from /home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/src/canopen_402_driver.cpp:1:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 10; TYPE = short int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData16; short unsigned int OBJ = 24689; unsigned char SUB = 0; short unsigned int CW_MASK = 0; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
226 | virtual bool read(const uint16_t &sw) { return true; }
| ~~~~~~~~~~~~~~~~^~
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 9; TYPE = int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData32; short unsigned int OBJ = 24831; unsigned char SUB = 0; short unsigned int CW_MASK = 0; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 8; TYPE = int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData32; short unsigned int OBJ = 24698; unsigned char SUB = 0; short unsigned int CW_MASK = 0; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 7; TYPE = int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData32; short unsigned int OBJ = 24769; unsigned char SUB = 1; short unsigned int CW_MASK = 16; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 4; TYPE = short int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData16; short unsigned int OBJ = 24689; unsigned char SUB = 0; short unsigned int CW_MASK = 0; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 3; TYPE = int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData32; short unsigned int OBJ = 24831; unsigned char SUB = 0; short unsigned int CW_MASK = 0; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::read(const uint16_t&) [with short unsigned int ID = 2; TYPE = short int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData16; short unsigned int OBJ = 24642; unsigned char SUB = 0; short unsigned int CW_MASK = 112; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:226:43: warning: unused parameter ‘sw’ [-Wunused-parameter]
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp: In instantiation of ‘canopen_402::WordAccessor<MASK>& canopen_402::WordAccessor<MASK>::operator=(const uint16_t&) [with short unsigned int MASK = 624; uint16_t = short unsigned int]’:
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:231:20: required from ‘bool canopen_402::ModeForwardHelper<ID, TYPE, TPY, OBJ, SUB, CW_MASK>::write(canopen_402::Mode::OpModeAccesser&) [with short unsigned int ID = 10; TYPE = short int; ros2_canopen::CODataTypes TPY = ros2_canopen::COData16; short unsigned int OBJ = 24689; unsigned char SUB = 0; short unsigned int CW_MASK = 0; canopen_402::Mode::OpModeAccesser = canopen_402::WordAccessor<624>]’
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:227:22: required from here
/home/drfly/dev_ws/src/ros2_canopen/canopen_402_driver/include/canopen_402_driver/motor.hpp:142:22: warning: unused variable ‘was’ [-Wunused-variable]
142 | uint16_t was = word_;
| ^~~
---
Finished <<< canopen_402_driver [8.66s]
Starting >>> canopen
Finished <<< canopen [0.10s]
Starting >>> everest
Starting >>> trinamic_pd42_can
Finished <<< everest [0.11s]
Finished <<< trinamic_pd42_can [0.11s]
Summary: 10 packages finished [35.9s]
4 packages had stderr output: canopen_402_driver canopen_base_driver canopen_core lely_core_libraries