[0.005s] 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.549s] 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.549s] /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.549s] /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.549s] 56 | std::string filename; // ่ฎพๅค‡ๆ–‡ไปถๅ [1.549s] | ^~~~~~~~ [1.549s] /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.549s] 40 | : filename(filename), Node(node_name) // ๅˆๅง‹ๅŒ–ๆˆๅ‘˜ๅ˜้‡ filename [1.549s] | ^ [1.549s] /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.549s] 39 | Joystick_pub::Joystick_pub(const std::string &filename, const std::string &node_name) [1.549s] | ^~~~~~~~~~~~ [1.560s] /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.560s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:162:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜heartbeatโ€™ [1.560s] 162 | message.heartbeat = heartbeat; [1.560s] | ^~~~~~~~~ [1.560s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:163:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜axis0โ€™ [1.560s] 163 | message.axis0 = axis_state[0]; [1.560s] | ^~~~~ [1.560s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:164:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜axis1โ€™ [1.560s] 164 | message.axis1 = axis_state[1]; [1.560s] | ^~~~~ [1.560s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:165:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜axis2โ€™ [1.561s] 165 | message.axis2 = axis_state[2]; [1.561s] | ^~~~~ [1.561s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:166:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜axis3โ€™ [1.561s] 166 | message.axis3 = axis_state[3]; [1.562s] | ^~~~~ [1.562s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:167:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜axis4โ€™ [1.562s] 167 | message.axis4 = axis_state[4]; [1.562s] | ^~~~~ [1.562s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:168:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜axis5โ€™ [1.562s] 168 | message.axis5 = axis_state[5]; [1.562s] | ^~~~~ [1.562s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:170:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button0โ€™; did you mean โ€˜buttonsโ€™? [1.562s] 170 | message.button0 = button_state[0]; [1.562s] | ^~~~~~~ [1.562s] | buttons [1.562s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:171:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button1โ€™; did you mean โ€˜buttonsโ€™? [1.562s] 171 | message.button1 = button_state[1]; [1.562s] | ^~~~~~~ [1.562s] | buttons [1.562s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:172:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button2โ€™; did you mean โ€˜buttonsโ€™? [1.562s] 172 | message.button2 = button_state[2]; [1.562s] | ^~~~~~~ [1.563s] | buttons [1.563s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:173:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button3โ€™; did you mean โ€˜buttonsโ€™? [1.563s] 173 | message.button3 = button_state[3]; [1.563s] | ^~~~~~~ [1.563s] | buttons [1.563s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:174:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button4โ€™; did you mean โ€˜buttonsโ€™? [1.563s] 174 | message.button4 = button_state[4]; [1.563s] | ^~~~~~~ [1.563s] | buttons [1.563s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:175:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button5โ€™; did you mean โ€˜buttonsโ€™? [1.563s] 175 | message.button5 = button_state[5]; [1.563s] | ^~~~~~~ [1.563s] | buttons [1.563s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:176:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button6โ€™; did you mean โ€˜buttonsโ€™? [1.563s] 176 | message.button6 = button_state[6]; [1.563s] | ^~~~~~~ [1.563s] | buttons [1.563s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:177:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button7โ€™; did you mean โ€˜buttonsโ€™? [1.563s] 177 | message.button7 = button_state[7]; [1.563s] | ^~~~~~~ [1.563s] | buttons [1.564s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:178:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button8โ€™; did you mean โ€˜buttonsโ€™? [1.564s] 178 | message.button8 = button_state[8]; [1.564s] | ^~~~~~~ [1.564s] | buttons [1.564s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:179:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button9โ€™; did you mean โ€˜buttonsโ€™? [1.564s] 179 | message.button9 = button_state[9]; [1.564s] | ^~~~~~~ [1.564s] | buttons [1.564s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:180:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button10โ€™; did you mean โ€˜buttonsโ€™? [1.564s] 180 | message.button10 = button_state[10]; [1.564s] | ^~~~~~~~ [1.564s] | buttons [1.564s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:181:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button11โ€™; did you mean โ€˜buttonsโ€™? [1.564s] 181 | message.button11 = button_state[11]; [1.564s] | ^~~~~~~~ [1.564s] | buttons [1.564s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:182:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button12โ€™; did you mean โ€˜buttonsโ€™? [1.564s] 182 | message.button12 = button_state[12]; [1.564s] | ^~~~~~~~ [1.564s] | buttons [1.564s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:183:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button13โ€™; did you mean โ€˜buttonsโ€™? [1.564s] 183 | message.button13 = button_state[13]; [1.564s] | ^~~~~~~~ [1.565s] | buttons [1.565s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:184:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button14โ€™; did you mean โ€˜buttonsโ€™? [1.565s] 184 | message.button14 = button_state[14]; [1.565s] | ^~~~~~~~ [1.565s] | buttons [1.565s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:185:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button15โ€™; did you mean โ€˜buttonsโ€™? [1.565s] 185 | message.button15 = button_state[15]; [1.565s] | ^~~~~~~~ [1.565s] | buttons [1.565s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:186:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button16โ€™; did you mean โ€˜buttonsโ€™? [1.565s] 186 | message.button16 = button_state[16]; [1.565s] | ^~~~~~~~ [1.565s] | buttons [1.565s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:187:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button17โ€™; did you mean โ€˜buttonsโ€™? [1.565s] 187 | message.button17 = button_state[17]; [1.565s] | ^~~~~~~~ [1.565s] | buttons [1.565s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:188:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button18โ€™; did you mean โ€˜buttonsโ€™? [1.565s] 188 | message.button18 = button_state[18]; [1.565s] | ^~~~~~~~ [1.565s] | buttons [1.565s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:189:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button19โ€™; did you mean โ€˜buttonsโ€™? [1.566s] 189 | message.button19 = button_state[19]; [1.566s] | ^~~~~~~~ [1.566s] | buttons [1.566s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:190:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button20โ€™; did you mean โ€˜buttonsโ€™? [1.566s] 190 | message.button20 = button_state[20]; [1.566s] | ^~~~~~~~ [1.566s] | buttons [1.566s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:191:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button21โ€™; did you mean โ€˜buttonsโ€™? [1.566s] 191 | message.button21 = button_state[21]; [1.566s] | ^~~~~~~~ [1.566s] | buttons [1.566s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:192:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button22โ€™; did you mean โ€˜buttonsโ€™? [1.566s] 192 | message.button22 = button_state[22]; [1.566s] | ^~~~~~~~ [1.566s] | buttons [1.566s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:193:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button23โ€™; did you mean โ€˜buttonsโ€™? [1.566s] 193 | message.button23 = button_state[23]; [1.566s] | ^~~~~~~~ [1.566s] | buttons [1.566s] /home/wub/work/1_nzzn/2_code/13_LG/src/Drive/g29_ros2_feedback_drive/src/g29_ros2_feedback/src/joystick.cpp:194:13: error: โ€˜struct sensor_msgs::msg::Joy_ >โ€™ has no member named โ€˜button24โ€™; did you mean โ€˜buttonsโ€™? [1.566s] 194 | message.button24 = button_state[24]; [1.566s] | ^~~~~~~~ [1.567s] | buttons [1.567s] /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.567s] 196 | g29_publisher->publish(message); [1.567s] | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [1.567s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/topic_statistics/subscription_topic_statistics.hpp:31, [1.567s] from /opt/ros/humble/include/rclcpp/rclcpp/subscription.hpp:50, [1.567s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:25, [1.567s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [1.567s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [1.567s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [1.567s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [1.567s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [1.567s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [1.567s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [1.567s] 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.567s] 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.567s] /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.567s] 254 | publish(std::unique_ptr msg) [1.567s] | ^~~~~~~ [1.567s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:254:3: note:  template argument deduction/substitution failed: [1.567s] /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.567s] 196 | g29_publisher->publish(message); [1.567s] | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [1.568s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/topic_statistics/subscription_topic_statistics.hpp:31, [1.568s] from /opt/ros/humble/include/rclcpp/rclcpp/subscription.hpp:50, [1.568s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:25, [1.568s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [1.568s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [1.568s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [1.568s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [1.568s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [1.568s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [1.568s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [1.568s] 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.568s] 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.568s] /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.568s] 295 | publish(const T & msg) [1.568s] | ^~~~~~~ [1.568s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:295:3: note:  template argument deduction/substitution failed: [1.568s] In file included from /usr/include/c++/11/bits/move.h:57, [1.568s] from /usr/include/c++/11/bits/stl_pair.h:59, [1.568s] from /usr/include/c++/11/bits/stl_algobase.h:64, [1.568s] from /usr/include/c++/11/bits/specfun.h:45, [1.568s] from /usr/include/c++/11/cmath:1935, [1.568s] from /usr/include/c++/11/math.h:36, [1.568s] 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.569s] /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.569s] /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.569s] /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.569s] /usr/include/c++/11/type_traits:2579:11: error: no type named โ€˜typeโ€™ in โ€˜struct std::enable_ifโ€™ [1.569s] 2579 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; [1.569s] | ^~~~~~~~~~~ [1.569s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/topic_statistics/subscription_topic_statistics.hpp:31, [1.569s] from /opt/ros/humble/include/rclcpp/rclcpp/subscription.hpp:50, [1.569s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:25, [1.569s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [1.569s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [1.569s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [1.569s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [1.569s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [1.569s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [1.569s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [1.569s] 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.569s] 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.569s] /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.569s] 325 | publish(std::unique_ptr msg) [1.569s] | ^~~~~~~ [1.569s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:325:3: note:  template argument deduction/substitution failed: [1.570s] /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.570s] 196 | g29_publisher->publish(message); [1.570s] | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [1.570s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/topic_statistics/subscription_topic_statistics.hpp:31, [1.570s] from /opt/ros/humble/include/rclcpp/rclcpp/subscription.hpp:50, [1.570s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:25, [1.570s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [1.570s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [1.570s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [1.570s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [1.570s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [1.570s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [1.570s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [1.570s] 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.570s] 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.570s] /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.570s] 367 | publish(const T & msg) [1.570s] | ^~~~~~~ [1.570s] /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:367:3: note:  template argument deduction/substitution failed: [1.570s] /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.570s] 386 | publish(const rcl_serialized_message_t & serialized_msg) [1.570s] | ^~~~~~~ [1.570s] /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.571s] 386 | publish(const rcl_serialized_message_t & serialized_msg) [1.571s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ [1.571s] /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.571s] 392 | publish(const SerializedMessage & serialized_msg) [1.571s] | ^~~~~~~ [1.571s] /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.571s] 392 | publish(const SerializedMessage & serialized_msg) [1.571s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ [1.571s] /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.571s] 406 | publish(rclcpp::LoanedMessage && loaned_msg) [1.571s] | ^~~~~~~ [1.571s] /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.571s] 406 | ublish(rclcpp::LoanedMessage && loaned_msg) [1.571s] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ [1.571s] [2.066s] gmake[2]: *** [CMakeFiles/g29_ros2_feedback_node.dir/build.make:90๏ผšCMakeFiles/g29_ros2_feedback_node.dir/src/joystick.cpp.o] ้”™่ฏฏ 1 [2.066s] gmake[1]: *** [CMakeFiles/Makefile2:137๏ผšCMakeFiles/g29_ros2_feedback_node.dir/all] ้”™่ฏฏ 2 [2.066s] gmake: *** [Makefile:146๏ผšall] ้”™่ฏฏ 2 [2.067s] 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