30 KiB
30 KiB
[0.038s] Invoking command in '/home/firmament/codes/24navigation/build/plc_bringup': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/plc_bringup -- -j8 -l8
[0.173s] Consolidate compiler generated dependencies of target decision_move_node
[0.173s] [ 50%] Building CXX object CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:34:50: error: ‘Int8ConstPtr’ in namespace ‘std_msgs::msg’ does not name a type
[2.347s] 34 | void game_progress_callback(const std_msgs::msg::Int8ConstPtr& game_pro)
[2.347s] | ^~~~~~~~~~~~
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void game_progress_callback(const int&)’:
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:37:27: error: base operand of ‘->’ is not a pointer
[2.347s] 37 | game_process = game_pro->data;
[2.347s] | ^~
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: At global scope:
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:46:46: error: ‘Int16ConstPtr’ in namespace ‘std_msgs::msg’ does not name a type
[2.347s] 46 | void outposthp_callback(const std_msgs::msg::Int16ConstPtr& outpost_hp)
[2.347s] | ^~~~~~~~~~~~~
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void outposthp_callback(const int&)’:
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:49:30: error: base operand of ‘->’ is not a pointer
[2.348s] 49 | my_outpost_hp = outpost_hp->data;
[2.348s] | ^~
[2.348s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: At global scope:
[2.348s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:57:51: error: ‘PoseStampedPtr’ in namespace ‘geometry_msgs::msg’ does not name a type; did you mean ‘PoseStamped_’?
[2.348s] 57 | void arial_cmd_callback(const geometry_msgs::msg::PoseStampedPtr& arial_cmd)
[2.348s] | ^~~~~~~~~~~~~~
[2.348s] | PoseStamped_
[2.348s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void arial_cmd_callback(const int&)’:
[2.348s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:59:24: error: base operand of ‘->’ is not a pointer
[2.348s] 59 | double x = arial_cmd->pose.position.x;
[2.348s] | ^~
[2.348s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:60:24: error: base operand of ‘->’ is not a pointer
[2.348s] 60 | double y = arial_cmd->pose.position.y;
[2.348s] | ^~
[2.354s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘int main(int, char**)’:
[2.354s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:99:52: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.355s] 99 | node->get_parameter<float>("start_point_red_x", start_point_red_x);
[2.355s] | ^~~~~~~~~~~~~~~~~
[2.355s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.355s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.355s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.355s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.355s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.355s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.355s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.355s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.355s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:100:52: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.355s] 100 | node->get_parameter<float>("start_point_red_y", start_point_red_y);
[2.355s] | ^~~~~~~~~~~~~~~~~
[2.355s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.356s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.356s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.356s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.356s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.356s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:101:53: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.356s] 101 | node->get_parameter<float>("start_point_blue_x", start_point_blue_x);
[2.356s] | ^~~~~~~~~~~~~~~~~~
[2.356s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.356s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.357s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.357s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.357s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.357s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:102:53: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.357s] 102 | node->get_parameter<float>("start_point_blue_y", start_point_blue_y);
[2.357s] | ^~~~~~~~~~~~~~~~~~
[2.357s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.357s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.357s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.357s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.357s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.357s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.357s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.357s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.358s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:103:47: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.358s] 103 | node->get_parameter<float>("red_attack_x", red_attack_x);
[2.358s] | ^~~~~~~~~~~~
[2.358s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.358s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.358s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.358s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.358s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.358s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:104:47: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.358s] 104 | node->get_parameter<float>("red_attack_y", red_attack_y);
[2.358s] | ^~~~~~~~~~~~
[2.358s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.359s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.359s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.359s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.359s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.359s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:105:48: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.359s] 105 | node->get_parameter<float>("blue_attack_x", blue_attack_x);
[2.359s] | ^~~~~~~~~~~~~
[2.359s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.359s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.359s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.360s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.360s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.360s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:106:48: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.360s] 106 | node->get_parameter<float>("blue_attack_y", blue_attack_y);
[2.360s] | ^~~~~~~~~~~~~
[2.360s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.360s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.360s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.360s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.360s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.360s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.360s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.360s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.360s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:107:48: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.360s] 107 | node->get_parameter<float>("red_defense_x", red_defense_x);
[2.361s] | ^~~~~~~~~~~~~
[2.361s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.361s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.361s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.361s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.361s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.361s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:108:48: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.361s] 108 | node->get_parameter<float>("red_defense_y", red_defense_y);
[2.361s] | ^~~~~~~~~~~~~
[2.361s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.362s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.362s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.362s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.362s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.362s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:109:49: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.362s] 109 | node->get_parameter<float>("blue_defense_x", blue_defense_x);
[2.362s] | ^~~~~~~~~~~~~~
[2.362s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.362s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.362s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.363s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.363s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.363s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:110:49: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.363s] 110 | node->get_parameter<float>("blue_defense_y", blue_defense_y);
[2.363s] | ^~~~~~~~~~~~~~
[2.363s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.363s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.363s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.363s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.363s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.363s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:117:4: error: ‘game_pro_sub’ was not declared in this scope; did you mean ‘game_process’?
[2.363s] 117 | game_pro_sub = node->create_subscription<geometry_msgs::msg::Twist>("/game_progress", rclcpp::QoS(10),
[2.364s] | ^~~~~~~~~~~~
[2.364s] | game_process
[2.364s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:117:65: error: ‘Twist’ is not a member of ‘geometry_msgs::msg’
[2.364s] 117 | ame_pro_sub = node->create_subscription<geometry_msgs::msg::Twist>("/game_progress", rclcpp::QoS(10),
[2.364s] | ^~~~~
[2.364s]
[2.364s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:118:14: error: ‘DecisionMoveNode’ has not been declared
[2.364s] 118 | std::bind(&DecisionMoveNode::game_progress_callback, std::placeholders::_1));
[2.364s] | ^~~~~~~~~~~~~~~~
[2.365s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:4: error: ‘outposthp_sub’ was not declared in this scope; did you mean ‘outpost_low’?
[2.365s] 120 | outposthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
[2.365s] | ^~~~~~~~~~~~~
[2.365s] | outpost_low
[2.365s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:20: error: ‘create_subscription’ was not declared in this scope
[2.365s] 120 | outposthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
[2.365s] | ^~~~~~~~~~~~~~~~~~~
[2.365s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:20: note: suggested alternatives:
[2.365s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:43,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.366s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.366s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:206:1: note: ‘rclcpp::create_subscription’
[2.366s] 206 | create_subscription(
[2.366s] | ^~~~~~~~~~~~~~~~~~~
[2.366s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:56:1: note: ‘rclcpp::detail::create_subscription’
[2.366s] 56 | create_subscription(
[2.366s] | ^~~~~~~~~~~~~~~~~~~
[2.366s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:60: error: ‘Twist’ is not a member of ‘geometry_msgs::msg’
[2.366s] 120 | outposthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
[2.366s] | ^~~~~
[2.366s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:67: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.366s] 120 | posthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
[2.366s] | ^~~~~~~~~~~~~
[2.366s]
[2.366s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:14: error: ‘DecisionMoveNode’ has not been declared
[2.367s] 121 | std::bind(&DecisionMoveNode::outposthp_callback, std::placeholders::_1));
[2.367s] | ^~~~~~~~~~~~~~~~
[2.368s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:123:4: error: ‘arial_cmd_sub’ was not declared in this scope; did you mean ‘arial_cmd_flag’?
[2.369s] 123 | arial_cmd_sub = create_subscription<geometry_msgs::msg::Twist>("/arial_cmd", rclcpp::QoS(10),
[2.369s] | ^~~~~~~~~~~~~
[2.369s] | arial_cmd_flag
[2.369s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:123:60: error: ‘Twist’ is not a member of ‘geometry_msgs::msg’
[2.369s] 123 | arial_cmd_sub = create_subscription<geometry_msgs::msg::Twist>("/arial_cmd", rclcpp::QoS(10),
[2.370s] | ^~~~~
[2.370s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:123:67: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.370s] 123 | al_cmd_sub = create_subscription<geometry_msgs::msg::Twist>("/arial_cmd", rclcpp::QoS(10),
[2.370s] | ^~~~~~~~~~~~
[2.370s]
[2.370s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:124:14: error: ‘DecisionMoveNode’ has not been declared
[2.370s] 124 | std::bind(&DecisionMoveNode::arial_cmd_callback, std::placeholders::_1));
[2.370s] | ^~~~~~~~~~~~~~~~
[2.372s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:129:9: error: unused variable ‘choice’ [-Werror=unused-variable]
[2.372s] 129 | char choice = 'q';
[2.372s] | ^~~~~~
[2.993s] cc1plus: all warnings being treated as errors
[3.012s] gmake[2]: *** [CMakeFiles/decision_move_node.dir/build.make:76: CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o] Error 1
[3.012s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/decision_move_node.dir/all] Error 2
[3.012s] gmake: *** [Makefile:146: all] Error 2
[3.014s] Invoked command in '/home/firmament/codes/24navigation/build/plc_bringup' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/plc_bringup -- -j8 -l8
[0.173s] Consolidate compiler generated dependencies of target decision_move_node
[0.173s] [ 50%] Building CXX object CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:34:50: error: ‘Int8ConstPtr’ in namespace ‘std_msgs::msg’ does not name a type
[2.347s] 34 | void game_progress_callback(const std_msgs::msg::Int8ConstPtr& game_pro)
[2.347s] | ^~~~~~~~~~~~
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void game_progress_callback(const int&)’:
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:37:27: error: base operand of ‘->’ is not a pointer
[2.347s] 37 | game_process = game_pro->data;
[2.347s] | ^~
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: At global scope:
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:46:46: error: ‘Int16ConstPtr’ in namespace ‘std_msgs::msg’ does not name a type
[2.347s] 46 | void outposthp_callback(const std_msgs::msg::Int16ConstPtr& outpost_hp)
[2.347s] | ^~~~~~~~~~~~~
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void outposthp_callback(const int&)’:
[2.347s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:49:30: error: base operand of ‘->’ is not a pointer
[2.348s] 49 | my_outpost_hp = outpost_hp->data;
[2.348s] | ^~
[2.348s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: At global scope:
[2.348s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:57:51: error: ‘PoseStampedPtr’ in namespace ‘geometry_msgs::msg’ does not name a type; did you mean ‘PoseStamped_’?
[2.348s] 57 | void arial_cmd_callback(const geometry_msgs::msg::PoseStampedPtr& arial_cmd)
[2.348s] | ^~~~~~~~~~~~~~
[2.348s] | PoseStamped_
[2.348s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void arial_cmd_callback(const int&)’:
[2.348s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:59:24: error: base operand of ‘->’ is not a pointer
[2.348s] 59 | double x = arial_cmd->pose.position.x;
[2.348s] | ^~
[2.348s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:60:24: error: base operand of ‘->’ is not a pointer
[2.348s] 60 | double y = arial_cmd->pose.position.y;
[2.348s] | ^~
[2.354s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘int main(int, char**)’:
[2.354s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:99:52: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.355s] 99 | node->get_parameter<float>("start_point_red_x", start_point_red_x);
[2.355s] | ^~~~~~~~~~~~~~~~~
[2.355s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.355s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.355s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.355s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.355s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.355s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.355s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.355s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.355s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:100:52: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.355s] 100 | node->get_parameter<float>("start_point_red_y", start_point_red_y);
[2.355s] | ^~~~~~~~~~~~~~~~~
[2.355s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.356s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.356s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.356s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.356s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.356s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:101:53: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.356s] 101 | node->get_parameter<float>("start_point_blue_x", start_point_blue_x);
[2.356s] | ^~~~~~~~~~~~~~~~~~
[2.356s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.356s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.356s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.357s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.357s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.357s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.357s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:102:53: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.357s] 102 | node->get_parameter<float>("start_point_blue_y", start_point_blue_y);
[2.357s] | ^~~~~~~~~~~~~~~~~~
[2.357s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.357s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.357s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.357s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.357s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.357s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.357s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.357s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.358s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:103:47: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.358s] 103 | node->get_parameter<float>("red_attack_x", red_attack_x);
[2.358s] | ^~~~~~~~~~~~
[2.358s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.358s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.358s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.358s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.358s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.358s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.358s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:104:47: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.358s] 104 | node->get_parameter<float>("red_attack_y", red_attack_y);
[2.358s] | ^~~~~~~~~~~~
[2.358s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.359s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.359s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.359s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.359s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.359s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:105:48: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.359s] 105 | node->get_parameter<float>("blue_attack_x", blue_attack_x);
[2.359s] | ^~~~~~~~~~~~~
[2.359s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.359s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.359s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.359s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.360s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.360s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.360s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:106:48: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.360s] 106 | node->get_parameter<float>("blue_attack_y", blue_attack_y);
[2.360s] | ^~~~~~~~~~~~~
[2.360s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.360s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.360s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.360s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.360s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.360s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.360s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.360s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.360s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:107:48: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.360s] 107 | node->get_parameter<float>("red_defense_x", red_defense_x);
[2.361s] | ^~~~~~~~~~~~~
[2.361s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.361s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.361s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.361s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.361s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.361s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:108:48: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.361s] 108 | node->get_parameter<float>("red_defense_y", red_defense_y);
[2.361s] | ^~~~~~~~~~~~~
[2.361s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.361s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.362s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.362s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.362s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.362s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.362s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:109:49: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.362s] 109 | node->get_parameter<float>("blue_defense_x", blue_defense_x);
[2.362s] | ^~~~~~~~~~~~~~
[2.362s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.362s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.362s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.362s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.363s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.363s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.363s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:110:49: error: cannot bind non-const lvalue reference of type ‘float&’ to a value of type ‘double’
[2.363s] 110 | node->get_parameter<float>("blue_defense_y", blue_defense_y);
[2.363s] | ^~~~~~~~~~~~~~
[2.363s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.363s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.363s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.363s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:286:60: note: initializing argument 2 of ‘bool rclcpp::Node::get_parameter(const string&, ParameterT&) const [with ParameterT = float; std::string = std::__cxx11::basic_string<char>]’
[2.363s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.363s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.363s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:117:4: error: ‘game_pro_sub’ was not declared in this scope; did you mean ‘game_process’?
[2.363s] 117 | game_pro_sub = node->create_subscription<geometry_msgs::msg::Twist>("/game_progress", rclcpp::QoS(10),
[2.364s] | ^~~~~~~~~~~~
[2.364s] | game_process
[2.364s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:117:65: error: ‘Twist’ is not a member of ‘geometry_msgs::msg’
[2.364s] 117 | ame_pro_sub = node->create_subscription<geometry_msgs::msg::Twist>("/game_progress", rclcpp::QoS(10),
[2.364s] | ^~~~~
[2.364s]
[2.364s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:118:14: error: ‘DecisionMoveNode’ has not been declared
[2.364s] 118 | std::bind(&DecisionMoveNode::game_progress_callback, std::placeholders::_1));
[2.364s] | ^~~~~~~~~~~~~~~~
[2.365s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:4: error: ‘outposthp_sub’ was not declared in this scope; did you mean ‘outpost_low’?
[2.365s] 120 | outposthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
[2.365s] | ^~~~~~~~~~~~~
[2.365s] | outpost_low
[2.365s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:20: error: ‘create_subscription’ was not declared in this scope
[2.365s] 120 | outposthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
[2.365s] | ^~~~~~~~~~~~~~~~~~~
[2.365s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:20: note: suggested alternatives:
[2.365s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:43,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.365s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.366s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.366s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:206:1: note: ‘rclcpp::create_subscription’
[2.366s] 206 | create_subscription(
[2.366s] | ^~~~~~~~~~~~~~~~~~~
[2.366s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:56:1: note: ‘rclcpp::detail::create_subscription’
[2.366s] 56 | create_subscription(
[2.366s] | ^~~~~~~~~~~~~~~~~~~
[2.366s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:60: error: ‘Twist’ is not a member of ‘geometry_msgs::msg’
[2.366s] 120 | outposthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
[2.366s] | ^~~~~
[2.366s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:67: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.366s] 120 | posthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
[2.366s] | ^~~~~~~~~~~~~
[2.366s]
[2.366s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:14: error: ‘DecisionMoveNode’ has not been declared
[2.367s] 121 | std::bind(&DecisionMoveNode::outposthp_callback, std::placeholders::_1));
[2.367s] | ^~~~~~~~~~~~~~~~
[2.368s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:123:4: error: ‘arial_cmd_sub’ was not declared in this scope; did you mean ‘arial_cmd_flag’?
[2.369s] 123 | arial_cmd_sub = create_subscription<geometry_msgs::msg::Twist>("/arial_cmd", rclcpp::QoS(10),
[2.369s] | ^~~~~~~~~~~~~
[2.369s] | arial_cmd_flag
[2.369s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:123:60: error: ‘Twist’ is not a member of ‘geometry_msgs::msg’
[2.369s] 123 | arial_cmd_sub = create_subscription<geometry_msgs::msg::Twist>("/arial_cmd", rclcpp::QoS(10),
[2.370s] | ^~~~~
[2.370s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:123:67: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.370s] 123 | al_cmd_sub = create_subscription<geometry_msgs::msg::Twist>("/arial_cmd", rclcpp::QoS(10),
[2.370s] | ^~~~~~~~~~~~
[2.370s]
[2.370s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:124:14: error: ‘DecisionMoveNode’ has not been declared
[2.370s] 124 | std::bind(&DecisionMoveNode::arial_cmd_callback, std::placeholders::_1));
[2.370s] | ^~~~~~~~~~~~~~~~
[2.372s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:129:9: error: unused variable ‘choice’ [-Werror=unused-variable]
[2.372s] 129 | char choice = 'q';
[2.372s] | ^~~~~~
[2.993s] cc1plus: all warnings being treated as errors
[3.012s] gmake[2]: *** [CMakeFiles/decision_move_node.dir/build.make:76: CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o] Error 1
[3.012s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/decision_move_node.dir/all] Error 2
[3.012s] gmake: *** [Makefile:146: all] Error 2
[3.014s] Invoked command in '/home/firmament/codes/24navigation/build/plc_bringup' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/plc_bringup -- -j8 -l8