7.6 KiB
7.6 KiB
[0.346s] Invoking command in '/home/firmament/codes/24navigation/build/rm_serial_driver': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/rm_serial_driver -- -j8 -l8
[0.397s] Consolidate compiler generated dependencies of target rm_serial_driver
[0.398s] [ 40%] Built target rm_serial_driver_node
[0.401s] [ 60%] Building CXX object CMakeFiles/rm_serial_driver.dir/src/rm_serial_driver.cpp.o
[2.930s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp: In member function ‘void rm_serial_driver::RMSerialDriver::receiveData()’:
[2.930s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:108:47: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘robot_color’
[2.930s] 108 | if (!initial_set_param_ || packet.robot_color != previous_receive_color_) {
[2.930s] | ^~~~~~~~~~~
[2.930s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
[2.930s] from /opt/ros/humble/include/rclcpp/rclcpp/experimental/subscription_intra_process_base.hpp:27,
[2.930s] from /opt/ros/humble/include/rclcpp/rclcpp/experimental/ros_message_intra_process_buffer.hpp:25,
[2.930s] from /opt/ros/humble/include/rclcpp/rclcpp/experimental/intra_process_manager.hpp:31,
[2.930s] from /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:35,
[2.931s] from /home/firmament/codes/24navigation/src/rm_serial_driver/include/rm_serial_driver/rm_serial_driver.hpp:7,
[2.931s] from /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:4:
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:109:80: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘robot_color’
[2.931s] 109 | P_INFO(get_logger(), "Setting robot_color to %d...", packet.robot_color);
[2.931s] | ^~~~~~~~~~~
[2.931s]
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:112:64: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘robot_color’
[2.931s] 112 | setParam(rclcpp::Parameter("robot_color", packet.robot_color));
[2.931s] | ^~~~~~~~~~~
[2.931s]
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:113:48: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘robot_color’
[2.931s] 113 | previous_receive_color_ = packet.robot_color;
[2.931s] | ^~~~~~~~~~~
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:123:44: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_x’
[2.931s] 123 | if ((fabsf(last_cmd_x - packet.target_x)>=0.05) || (fabsf(last_cmd_y - packet.target_y)>=0.05))
[2.931s] | ^~~~~~~~
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:123:91: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_y’
[2.931s] 123 | d_x - packet.target_x)>=0.05) || (fabsf(last_cmd_y - packet.target_y)>=0.05))
[2.931s] | ^~~~~~~~
[2.931s]
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:126:54: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_x’
[2.931s] 126 | arial_cmd_msg.pose.position.x = packet.target_x;
[2.931s] | ^~~~~~~~
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:127:54: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_y’
[2.931s] 127 | arial_cmd_msg.pose.position.y = packet.target_y;
[2.931s] | ^~~~~~~~
[2.932s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:130:35: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_x’
[2.932s] 130 | last_cmd_x = packet.target_x;
[2.932s] | ^~~~~~~~
[2.932s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:131:35: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_y’
[2.932s] 131 | last_cmd_y = packet.target_y;
[2.932s] | ^~~~~~~~
[2.932s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:134:41: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘outpost_hp’
[2.932s] 134 | my_outpost_hp.data = packet.outpost_hp;
[2.932s] | ^~~~~~~~~~
[2.932s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:136:36: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘game_progress’
[2.932s] 136 | game_pro.data = packet.game_progress;
[2.932s] | ^~~~~~~~~~~~~
[2.932s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:148:36: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘body_joint_state’
[2.932s] 148 | q.setRPY(0, 0, -packet.body_joint_state);
[2.932s] | ^~~~~~~~~~~~~~~~
[5.062s] gmake[2]: *** [CMakeFiles/rm_serial_driver.dir/build.make:76: CMakeFiles/rm_serial_driver.dir/src/rm_serial_driver.cpp.o] Error 1
[5.062s] gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/rm_serial_driver.dir/all] Error 2
[5.062s] gmake: *** [Makefile:146: all] Error 2
[5.064s] Invoked command in '/home/firmament/codes/24navigation/build/rm_serial_driver' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/rm_serial_driver -- -j8 -l8
[0.397s] Consolidate compiler generated dependencies of target rm_serial_driver
[0.398s] [ 40%] Built target rm_serial_driver_node
[0.401s] [ 60%] Building CXX object CMakeFiles/rm_serial_driver.dir/src/rm_serial_driver.cpp.o
[2.930s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp: In member function ‘void rm_serial_driver::RMSerialDriver::receiveData()’:
[2.930s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:108:47: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘robot_color’
[2.930s] 108 | if (!initial_set_param_ || packet.robot_color != previous_receive_color_) {
[2.930s] | ^~~~~~~~~~~
[2.930s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
[2.930s] from /opt/ros/humble/include/rclcpp/rclcpp/experimental/subscription_intra_process_base.hpp:27,
[2.930s] from /opt/ros/humble/include/rclcpp/rclcpp/experimental/ros_message_intra_process_buffer.hpp:25,
[2.930s] from /opt/ros/humble/include/rclcpp/rclcpp/experimental/intra_process_manager.hpp:31,
[2.930s] from /opt/ros/humble/include/rclcpp/rclcpp/publisher.hpp:35,
[2.931s] from /home/firmament/codes/24navigation/src/rm_serial_driver/include/rm_serial_driver/rm_serial_driver.hpp:7,
[2.931s] from /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:4:
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:109:80: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘robot_color’
[2.931s] 109 | P_INFO(get_logger(), "Setting robot_color to %d...", packet.robot_color);
[2.931s] | ^~~~~~~~~~~
[2.931s]
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:112:64: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘robot_color’
[2.931s] 112 | setParam(rclcpp::Parameter("robot_color", packet.robot_color));
[2.931s] | ^~~~~~~~~~~
[2.931s]
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:113:48: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘robot_color’
[2.931s] 113 | previous_receive_color_ = packet.robot_color;
[2.931s] | ^~~~~~~~~~~
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:123:44: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_x’
[2.931s] 123 | if ((fabsf(last_cmd_x - packet.target_x)>=0.05) || (fabsf(last_cmd_y - packet.target_y)>=0.05))
[2.931s] | ^~~~~~~~
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:123:91: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_y’
[2.931s] 123 | d_x - packet.target_x)>=0.05) || (fabsf(last_cmd_y - packet.target_y)>=0.05))
[2.931s] | ^~~~~~~~
[2.931s]
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:126:54: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_x’
[2.931s] 126 | arial_cmd_msg.pose.position.x = packet.target_x;
[2.931s] | ^~~~~~~~
[2.931s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:127:54: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_y’
[2.931s] 127 | arial_cmd_msg.pose.position.y = packet.target_y;
[2.931s] | ^~~~~~~~
[2.932s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:130:35: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_x’
[2.932s] 130 | last_cmd_x = packet.target_x;
[2.932s] | ^~~~~~~~
[2.932s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:131:35: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘target_y’
[2.932s] 131 | last_cmd_y = packet.target_y;
[2.932s] | ^~~~~~~~
[2.932s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:134:41: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘outpost_hp’
[2.932s] 134 | my_outpost_hp.data = packet.outpost_hp;
[2.932s] | ^~~~~~~~~~
[2.932s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:136:36: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘game_progress’
[2.932s] 136 | game_pro.data = packet.game_progress;
[2.932s] | ^~~~~~~~~~~~~
[2.932s] /home/firmament/codes/24navigation/src/rm_serial_driver/src/rm_serial_driver.cpp:148:36: error: ‘struct rm_serial_driver::ReceivePacket’ has no member named ‘body_joint_state’
[2.932s] 148 | q.setRPY(0, 0, -packet.body_joint_state);
[2.932s] | ^~~~~~~~~~~~~~~~
[5.062s] gmake[2]: *** [CMakeFiles/rm_serial_driver.dir/build.make:76: CMakeFiles/rm_serial_driver.dir/src/rm_serial_driver.cpp.o] Error 1
[5.062s] gmake[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/rm_serial_driver.dir/all] Error 2
[5.062s] gmake: *** [Makefile:146: all] Error 2
[5.064s] Invoked command in '/home/firmament/codes/24navigation/build/rm_serial_driver' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/rm_serial_driver -- -j8 -l8