[0.008s] Invoking command in '/home/wub/work/1_nzzn/2_code/13_LG/build/g29_ros2_feedback': CMAKE_PREFIX_PATH=/home/wub/work/1_nzzn/2_code/13_LG/install/g29_msg:/home/wub/work/1_nzzn/2_code/13_LG/install/g29_ros2_feedback:/opt/ros/humble /usr/bin/cmake --build /home/wub/work/1_nzzn/2_code/13_LG/build/g29_ros2_feedback -- -j12 -l12 [0.035s] Consolidate compiler generated dependencies of target g29_ros2_feedback_node [0.048s] [ 25%] Building CXX object CMakeFiles/g29_ros2_feedback_node.dir/src/joystick.cpp.o [1.535s] In file included from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:34: [1.535s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.h: In constructor โ€˜Joystick_pub::Joystick_pub(const string&, const string&)โ€™: [1.535s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.h:56:17: warning: โ€˜Joystick_pub::filenameโ€™ will be initialized after []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wreorder-Wreorder]8;;] [1.535s] 56 | std::string filename; // ่ฎพๅค‡ๆ–‡ไปถๅ [1.535s] | ^~~~~~~~ [1.535s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:40:41: warning:  base โ€˜rclcpp::Nodeโ€™ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wreorder-Wreorder]8;;] [1.535s] 40 | : filename(filename), Node(node_name) // ๅˆๅง‹ๅŒ–ๆˆๅ‘˜ๅ˜้‡ filename [1.535s] | ^ [1.535s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:39:1: warning:  when initialized here []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wreorder-Wreorder]8;;] [1.535s] 39 | Joystick_pub::Joystick_pub(const std::string &filename, const std::string &node_name) [1.535s] | ^~~~~~~~~~~~ [1.546s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp: In member function โ€˜void Joystick_pub::publish()โ€™: [1.546s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:196:27: error: no matching function for call to โ€˜rclcpp::Publisher > >::publish(sensor_msgs::msg::Joy_ >&)โ€™ [1.546s] 196 | g29_publisher->publish(message); [1.547s] | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [1.547s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/topic_statistics/subscription_topic_statistics.hpp:31, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/subscription.hpp:50, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:25, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [1.547s] from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.h:25, [1.547s] from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:34: [1.547s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:254:3: note: candidate: โ€˜template std::enable_if_t<(rosidl_generator_traits::is_message::value && std::is_same::ros_message_type>::value)> rclcpp::Publisher::publish(std::unique_ptr::rebind_traits::ros_message_type>::allocator_type>::rebind_alloc::ros_message_type>, std::allocator::ros_message_type> >::value, std::default_delete::ros_message_type>, rclcpp::allocator::AllocatorDeleter::rebind_traits::ros_message_type>::allocator_type> >::type>) [with T = T; MessageT = g29_msg::msg::G29Msg_ >; AllocatorT = std::allocator]โ€™ [1.547s] 254 | publish(std::unique_ptr msg) [1.547s] | ^~~~~~~ [1.547s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:254:3: note:  template argument deduction/substitution failed: [1.547s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:196:27: note:  โ€˜sensor_msgs::msg::Joy_ >โ€™ is not derived from โ€˜std::unique_ptr > > >โ€™ [1.547s] 196 | g29_publisher->publish(message); [1.547s] | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [1.547s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/topic_statistics/subscription_topic_statistics.hpp:31, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/subscription.hpp:50, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:25, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [1.547s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [1.548s] from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.h:25, [1.548s] from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:34: [1.548s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:295:3: note: candidate: โ€˜template std::enable_if_t<(rosidl_generator_traits::is_message::value && std::is_same::ros_message_type>::value)> rclcpp::Publisher::publish(const T&) [with T = T; MessageT = g29_msg::msg::G29Msg_ >; AllocatorT = std::allocator]โ€™ [1.548s] 295 | publish(const T & msg) [1.548s] | ^~~~~~~ [1.548s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:295:3: note:  template argument deduction/substitution failed: [1.548s] In file included from /usr/include/c++/11/bits/move.h:57, [1.548s] from /usr/include/c++/11/bits/stl_pair.h:59, [1.548s] from /usr/include/c++/11/bits/stl_algobase.h:64, [1.548s] from /usr/include/c++/11/bits/specfun.h:45, [1.548s] from /usr/include/c++/11/cmath:1935, [1.548s] from /usr/include/c++/11/math.h:36, [1.548s] from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:20: [1.548s] /usr/include/c++/11/type_traits: In substitution of โ€˜template using enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = void]โ€™: [1.548s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:295:3: required by substitution of โ€˜template std::enable_if_t<(rosidl_generator_traits::is_message::value && std::is_same > >::value), void> rclcpp::Publisher > >::publish(const T&) [with T = sensor_msgs::msg::Joy_ >]โ€™ [1.548s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:196:27: required from here [1.548s] /usr/include/c++/11/type_traits:2579:11: error: no type named โ€˜typeโ€™ in โ€˜struct std::enable_ifโ€™ [1.548s] 2579 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; [1.548s] | ^~~~~~~~~~~ [1.548s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/topic_statistics/subscription_topic_statistics.hpp:31, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/subscription.hpp:50, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:25, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [1.548s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [1.548s] from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.h:25, [1.548s] from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:34: [1.548s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:325:3: note: candidate: โ€˜template std::enable_if_t<(typename rclcpp::TypeAdapter::is_specialized::value && std::is_same::custom_type>::value)> rclcpp::Publisher::publish(std::unique_ptr::rebind_traits::custom_type>::allocator_type>::rebind_alloc::custom_type>, std::allocator::custom_type> >::value, std::default_delete::custom_type>, rclcpp::allocator::AllocatorDeleter::rebind_traits::custom_type>::allocator_type> >::type>) [with T = T; MessageT = g29_msg::msg::G29Msg_ >; AllocatorT = std::allocator]โ€™ [1.548s] 325 | publish(std::unique_ptr msg) [1.548s] | ^~~~~~~ [1.548s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:325:3: note:  template argument deduction/substitution failed: [1.548s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:196:27: note:  โ€˜sensor_msgs::msg::Joy_ >โ€™ is not derived from โ€˜std::unique_ptr > > >โ€™ [1.548s] 196 | g29_publisher->publish(message); [1.548s] | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [1.548s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/topic_statistics/subscription_topic_statistics.hpp:31, [1.549s] from /opt/ros/humble/include/rclcpp/rclcpp/subscription.hpp:50, [1.549s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:25, [1.549s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [1.549s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [1.549s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [1.549s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [1.549s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [1.549s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [1.549s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [1.549s] from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.h:25, [1.549s] from /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:34: [1.549s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:367:3: note: candidate: โ€˜template std::enable_if_t<(typename rclcpp::TypeAdapter::is_specialized::value && std::is_same::custom_type>::value)> rclcpp::Publisher::publish(const T&) [with T = T; MessageT = g29_msg::msg::G29Msg_ >; AllocatorT = std::allocator]โ€™ [1.549s] 367 | publish(const T & msg) [1.549s] | ^~~~~~~ [1.549s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:367:3: note:  template argument deduction/substitution failed: [1.549s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:386:3: note: candidate: โ€˜void rclcpp::Publisher::publish(const rcl_serialized_message_t&) [with MessageT = g29_msg::msg::G29Msg_ >; AllocatorT = std::allocator; rcl_serialized_message_t = rcutils_uint8_array_s]โ€™ [1.549s] 386 | publish(const rcl_serialized_message_t & serialized_msg) [1.549s] | ^~~~~~~ [1.549s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:386:44: note:  no known conversion for argument 1 from โ€˜sensor_msgs::msg::Joy_ >โ€™ to โ€˜const rcl_serialized_message_t&โ€™ {aka โ€˜const rcutils_uint8_array_s&โ€™} [1.549s] 386 | publish(const rcl_serialized_message_t & serialized_msg) [1.549s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ [1.549s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:392:3: note: candidate: โ€˜void rclcpp::Publisher::publish(const rclcpp::SerializedMessage&) [with MessageT = g29_msg::msg::G29Msg_ >; AllocatorT = std::allocator]โ€™ [1.549s] 392 | publish(const SerializedMessage & serialized_msg) [1.549s] | ^~~~~~~ [1.549s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:392:37: note:  no known conversion for argument 1 from โ€˜sensor_msgs::msg::Joy_ >โ€™ to โ€˜const rclcpp::SerializedMessage&โ€™ [1.549s] 392 | publish(const SerializedMessage & serialized_msg) [1.549s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ [1.549s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:406:3: note: candidate: โ€˜void rclcpp::Publisher::publish(rclcpp::LoanedMessage::ros_message_type, AllocatorT>&&) [with MessageT = g29_msg::msg::G29Msg_ >; AllocatorT = std::allocator; typename rclcpp::TypeAdapter::ros_message_type = g29_msg::msg::G29Msg_ >]โ€™ [1.549s] 406 | publish(rclcpp::LoanedMessage && loaned_msg) [1.549s] | ^~~~~~~ [1.549s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:406:64: note:  no known conversion for argument 1 from โ€˜sensor_msgs::msg::Joy_ >โ€™ to โ€˜rclcpp::LoanedMessage >, std::allocator >&&โ€™ [1.549s] 406 | ublish(rclcpp::LoanedMessage && loaned_msg) [1.549s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ [1.549s] [2.043s] gmake[2]: *** [CMakeFiles/g29_ros2_feedback_node.dir/build.make:90๏ผšCMakeFiles/g29_ros2_feedback_node.dir/src/joystick.cpp.o] ้”™่ฏฏ 1 [2.043s] gmake[1]: *** [CMakeFiles/Makefile2:137๏ผšCMakeFiles/g29_ros2_feedback_node.dir/all] ้”™่ฏฏ 2 [2.043s] gmake: *** [Makefile:146๏ผšall] ้”™่ฏฏ 2 [2.045s] Invoked command in '/home/wub/work/1_nzzn/2_code/13_LG/build/g29_ros2_feedback' returned '2': CMAKE_PREFIX_PATH=/home/wub/work/1_nzzn/2_code/13_LG/install/g29_msg:/home/wub/work/1_nzzn/2_code/13_LG/install/g29_ros2_feedback:/opt/ros/humble /usr/bin/cmake --build /home/wub/work/1_nzzn/2_code/13_LG/build/g29_ros2_feedback -- -j12 -l12