58 KiB
58 KiB
[0.049s] 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.185s] Consolidate compiler generated dependencies of target decision_move_node
[0.232s] [ 50%] Building CXX object CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o
[2.415s] /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.415s] 34 | void game_progress_callback(const std_msgs::msg::Int8ConstPtr& game_pro)
[2.415s] | ^~~~~~~~~~~~
[2.415s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void game_progress_callback(const int&)’:
[2.415s] /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.415s] 37 | game_process = game_pro->data;
[2.415s] | ^~
[2.415s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: At global scope:
[2.415s] /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.415s] 46 | void outposthp_callback(const std_msgs::msg::Int16ConstPtr& outpost_hp)
[2.415s] | ^~~~~~~~~~~~~
[2.416s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void outposthp_callback(const int&)’:
[2.416s] /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.416s] 49 | my_outpost_hp = outpost_hp->data;
[2.416s] | ^~
[2.416s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: At global scope:
[2.416s] /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.416s] 57 | void arial_cmd_callback(const geometry_msgs::msg::PoseStampedPtr& arial_cmd)
[2.416s] | ^~~~~~~~~~~~~~
[2.416s] | PoseStamped_
[2.416s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void arial_cmd_callback(const int&)’:
[2.416s] /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.416s] 59 | double x = arial_cmd->pose.position.x;
[2.416s] | ^~
[2.416s] /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.416s] 60 | double y = arial_cmd->pose.position.y;
[2.417s] | ^~
[2.417s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.417s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.417s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:16: error: invalid use of ‘this’ in non-member function
[2.417s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.417s] | ^~~~
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:16: error: invalid use of ‘this’ in non-member function
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: template argument 1 is invalid
[2.418s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.418s] | ^~~~~~~~~~~
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.418s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.418s] | ^~~~~~~~~~~
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: template argument 1 is invalid
[2.418s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.418s] | ^~~~~~~~~~~
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.418s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.418s] | ^~~~~~~~~~~
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: template argument 1 is invalid
[2.418s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.419s] | ^~~~~~~~~~~
[2.419s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.419s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.419s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:16: error: invalid use of ‘this’ in non-member function
[2.419s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.420s] | ^~~~
[2.420s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:16: error: invalid use of ‘this’ in non-member function
[2.420s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.420s] | ^~~~
[2.422s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘int main(int, char**)’:
[2.422s] /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.422s] 99 | node->get_parameter<float>("start_point_red_x", start_point_red_x);
[2.423s] | ^~~~~~~~~~~~~~~~~
[2.423s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.423s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.423s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.423s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.423s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.423s] /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.423s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.423s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.423s] /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.423s] 100 | node->get_parameter<float>("start_point_red_y", start_point_red_y);
[2.423s] | ^~~~~~~~~~~~~~~~~
[2.423s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.423s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.424s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.424s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.424s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.424s] /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.424s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.424s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.424s] /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.424s] 101 | node->get_parameter<float>("start_point_blue_x", start_point_blue_x);
[2.424s] | ^~~~~~~~~~~~~~~~~~
[2.424s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.424s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.424s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.424s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.424s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.424s] /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.424s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.425s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.425s] /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.425s] 102 | node->get_parameter<float>("start_point_blue_y", start_point_blue_y);
[2.425s] | ^~~~~~~~~~~~~~~~~~
[2.425s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.425s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.425s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.425s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.425s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.425s] /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.425s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.425s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.425s] /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.425s] 103 | node->get_parameter<float>("red_attack_x", red_attack_x);
[2.425s] | ^~~~~~~~~~~~
[2.425s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.426s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.426s] /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.426s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.426s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.426s] /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.426s] 104 | node->get_parameter<float>("red_attack_y", red_attack_y);
[2.426s] | ^~~~~~~~~~~~
[2.426s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.426s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.427s] /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.427s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.427s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.427s] /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.427s] 105 | node->get_parameter<float>("blue_attack_x", blue_attack_x);
[2.427s] | ^~~~~~~~~~~~~
[2.427s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.427s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.427s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.427s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.427s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.427s] /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.427s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.427s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.427s] /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.428s] 106 | node->get_parameter<float>("blue_attack_y", blue_attack_y);
[2.428s] | ^~~~~~~~~~~~~
[2.428s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.428s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.428s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.428s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.428s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.428s] /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.428s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.428s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.428s] /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.428s] 107 | node->get_parameter<float>("red_defense_x", red_defense_x);
[2.428s] | ^~~~~~~~~~~~~
[2.428s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.429s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.429s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.429s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.429s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.429s] /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.429s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.429s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.429s] /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.429s] 108 | node->get_parameter<float>("red_defense_y", red_defense_y);
[2.429s] | ^~~~~~~~~~~~~
[2.429s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.429s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.429s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.430s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.430s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.430s] /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.430s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.430s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.430s] /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.430s] 109 | node->get_parameter<float>("blue_defense_x", blue_defense_x);
[2.430s] | ^~~~~~~~~~~~~~
[2.430s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.430s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.430s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.430s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.430s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.430s] /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.430s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.431s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.431s] /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.431s] 110 | node->get_parameter<float>("blue_defense_y", blue_defense_y);
[2.431s] | ^~~~~~~~~~~~~~
[2.431s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.431s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.431s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.431s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.431s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.431s] /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.431s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.431s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.431s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:114:15: error: ‘decision_move_node’ was not declared in this scope
[2.431s] 114 | goal_pub = decision_move_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.431s] | ^~~~~~~~~~~~~~~~~~
[2.432s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:114:83: error: expected primary-expression before ‘>’ token
[2.432s] 114 | _move_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.432s] | ^
[2.432s]
[2.432s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:114:85: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.432s] 114 | ove_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.432s] | ^~~~~~~~~~~~
[2.432s]
[2.433s] /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.433s] 117 | game_pro_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.433s] | ^~~~~~~~~~~~
[2.434s] | game_process
[2.434s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:117:19: error: invalid use of ‘this’ in non-member function
[2.434s] 117 | game_pro_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.434s] | ^~~~
[2.434s] /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.434s] 117 | game_pro_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.434s] | ^~~~~
[2.434s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:118:3: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.434s] 118 | "/game_progress", rclcpp::QoS(10),
[2.434s] | ^~~~~~~~~~~~~~~~
[2.435s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:119:14: error: ‘DecisionMoveNode’ has not been declared
[2.435s] 119 | std::bind(&DecisionMoveNode::game_progress_callback, this, std::placeholders::_1));
[2.435s] | ^~~~~~~~~~~~~~~~
[2.435s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:119:56: error: invalid use of ‘this’ in non-member function
[2.435s] 119 | std::bind(&DecisionMoveNode::game_progress_callback, this, std::placeholders::_1));
[2.435s] | ^~~~
[2.438s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:3: error: ‘outposthp_sub’ was not declared in this scope; did you mean ‘outpost_low’?
[2.438s] 121 | outposthp_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.438s] | ^~~~~~~~~~~~~
[2.438s] | outpost_low
[2.439s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:19: error: invalid use of ‘this’ in non-member function
[2.439s] 121 | outposthp_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.439s] | ^~~~
[2.439s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:65: error: ‘Twist’ is not a member of ‘geometry_msgs::msg’
[2.439s] 121 | outposthp_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.439s] | ^~~~~
[2.439s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:122:3: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.439s] 122 | "/outpost_hp", rclcpp::QoS(10),
[2.439s] | ^~~~~~~~~~~~~
[2.439s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:123:14: error: ‘DecisionMoveNode’ has not been declared
[2.439s] 123 | std::bind(&DecisionMoveNode::outposthp_callback, this, std::placeholders::_1));
[2.439s] | ^~~~~~~~~~~~~~~~
[2.439s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:123:52: error: invalid use of ‘this’ in non-member function
[2.439s] 123 | std::bind(&DecisionMoveNode::outposthp_callback, this, std::placeholders::_1));
[2.439s] | ^~~~
[2.442s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:125:4: error: ‘arial_cmd_sub’ was not declared in this scope; did you mean ‘arial_cmd_flag’?
[2.442s] 125 | arial_cmd_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.442s] | ^~~~~~~~~~~~~
[2.442s] | arial_cmd_flag
[2.442s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:125:20: error: invalid use of ‘this’ in non-member function
[2.442s] 125 | arial_cmd_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.442s] | ^~~~
[2.442s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:125:66: error: ‘Twist’ is not a member of ‘geometry_msgs::msg’
[2.442s] 125 | arial_cmd_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.442s] | ^~~~~
[2.442s]
[2.443s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:126:3: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.443s] 126 | "/arial_cmd", rclcpp::QoS(10),
[2.443s] | ^~~~~~~~~~~~
[2.443s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:127:14: error: ‘DecisionMoveNode’ has not been declared
[2.443s] 127 | std::bind(&DecisionMoveNode::arial_cmd_callback, this, std::placeholders::_1));
[2.443s] | ^~~~~~~~~~~~~~~~
[2.443s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:127:52: error: invalid use of ‘this’ in non-member function
[2.443s] 127 | std::bind(&DecisionMoveNode::arial_cmd_callback, this, std::placeholders::_1));
[2.443s] | ^~~~
[2.443s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.443s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.443s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.444s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.444s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:22: error: invalid use of ‘this’ in non-member function
[2.444s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.444s] | ^~~~
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:22: error: invalid use of ‘this’ in non-member function
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:10: error: template argument 1 is invalid
[2.445s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.445s] | ^~~~~~~~~~~
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:10: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.445s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.445s] | ^~~~~~~~~~~
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:10: error: template argument 1 is invalid
[2.445s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.445s] | ^~~~~~~~~~~
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:10: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.445s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.445s] | ^~~~~~~~~~~
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:10: error: template argument 1 is invalid
[2.446s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.446s] | ^~~~~~~~~~~
[2.446s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.446s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.446s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:22: error: invalid use of ‘this’ in non-member function
[2.447s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.447s] | ^~~~
[2.447s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:22: error: invalid use of ‘this’ in non-member function
[2.447s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.447s] | ^~~~
[2.447s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:218:24: error: no matching function for call to ‘spin_some()’
[2.447s] 218 | rclcpp::spin_some();
[2.447s] | ~~~~~~~~~~~~~~~~~^~
[2.447s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.447s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.447s] /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:35:1: note: candidate: ‘void rclcpp::spin_some(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr)’
[2.447s] 35 | spin_some(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_ptr);
[2.447s] | ^~~~~~~~~
[2.447s] /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:35:1: note: candidate expects 1 argument, 0 provided
[2.447s] /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:39:1: note: candidate: ‘void rclcpp::spin_some(rclcpp::Node::SharedPtr)’
[2.447s] 39 | spin_some(rclcpp::Node::SharedPtr node_ptr);
[2.448s] | ^~~~~~~~~
[2.448s] /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:39:1: note: candidate expects 1 argument, 0 provided
[2.448s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:132:9: error: unused variable ‘choice’ [-Werror=unused-variable]
[2.448s] 132 | char choice = 'q';
[2.448s] | ^~~~~~
[2.448s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.448s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘int moveToGoal_topic(double, double)’:
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:16: error: invalid use of ‘this’ in non-member function
[2.449s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.449s] | ^~~~
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:16: error: invalid use of ‘this’ in non-member function
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:4: error: template argument 1 is invalid
[2.449s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.449s] | ^~~~~~~~~~~
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.449s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.449s] | ^~~~~~~~~~~
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:4: error: template argument 1 is invalid
[2.449s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.449s] | ^~~~~~~~~~~
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.450s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.450s] | ^~~~~~~~~~~
[2.450s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:4: error: template argument 1 is invalid
[2.450s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.450s] | ^~~~~~~~~~~
[2.450s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.451s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.451s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:16: error: invalid use of ‘this’ in non-member function
[2.451s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.451s] | ^~~~
[2.451s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:16: error: invalid use of ‘this’ in non-member function
[2.451s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.451s] | ^~~~
[2.451s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.452s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.452s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.452s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.452s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.452s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:16: error: invalid use of ‘this’ in non-member function
[2.452s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.452s] | ^~~~
[2.452s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:16: error: invalid use of ‘this’ in non-member function
[2.452s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:4: error: template argument 1 is invalid
[2.452s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.452s] | ^~~~~~~~~~~
[2.452s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.452s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.452s] | ^~~~~~~~~~~
[2.452s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:4: error: template argument 1 is invalid
[2.453s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.453s] | ^~~~~~~~~~~
[2.453s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.453s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.453s] | ^~~~~~~~~~~
[2.453s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:4: error: template argument 1 is invalid
[2.453s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.453s] | ^~~~~~~~~~~
[2.453s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.454s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.454s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.454s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.454s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.454s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:16: error: invalid use of ‘this’ in non-member function
[2.454s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.454s] | ^~~~
[2.454s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:16: error: invalid use of ‘this’ in non-member function
[2.454s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.454s] | ^~~~
[2.454s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:243:15: error: ‘decision_move_node’ was not declared in this scope
[2.454s] 243 | goal_pub = decision_move_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.454s] | ^~~~~~~~~~~~~~~~~~
[2.454s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:243:83: error: expected primary-expression before ‘>’ token
[2.454s] 243 | _move_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.455s] | ^
[2.455s]
[2.455s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:243:85: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.455s] 243 | ove_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.455s] | ^~~~~~~~~~~~
[2.455s]
[2.804s] cc1plus: all warnings being treated as errors
[2.821s] gmake[2]: *** [CMakeFiles/decision_move_node.dir/build.make:76: CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o] Error 1
[2.821s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/decision_move_node.dir/all] Error 2
[2.821s] gmake: *** [Makefile:146: all] Error 2
[2.822s] 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.185s] Consolidate compiler generated dependencies of target decision_move_node
[0.232s] [ 50%] Building CXX object CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o
[2.415s] /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.415s] 34 | void game_progress_callback(const std_msgs::msg::Int8ConstPtr& game_pro)
[2.415s] | ^~~~~~~~~~~~
[2.415s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void game_progress_callback(const int&)’:
[2.415s] /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.415s] 37 | game_process = game_pro->data;
[2.415s] | ^~
[2.415s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: At global scope:
[2.415s] /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.415s] 46 | void outposthp_callback(const std_msgs::msg::Int16ConstPtr& outpost_hp)
[2.415s] | ^~~~~~~~~~~~~
[2.416s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void outposthp_callback(const int&)’:
[2.416s] /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.416s] 49 | my_outpost_hp = outpost_hp->data;
[2.416s] | ^~
[2.416s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: At global scope:
[2.416s] /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.416s] 57 | void arial_cmd_callback(const geometry_msgs::msg::PoseStampedPtr& arial_cmd)
[2.416s] | ^~~~~~~~~~~~~~
[2.416s] | PoseStamped_
[2.416s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘void arial_cmd_callback(const int&)’:
[2.416s] /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.416s] 59 | double x = arial_cmd->pose.position.x;
[2.416s] | ^~
[2.416s] /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.416s] 60 | double y = arial_cmd->pose.position.y;
[2.417s] | ^~
[2.417s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.417s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.417s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.417s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:16: error: invalid use of ‘this’ in non-member function
[2.417s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.417s] | ^~~~
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:16: error: invalid use of ‘this’ in non-member function
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: template argument 1 is invalid
[2.418s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.418s] | ^~~~~~~~~~~
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.418s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.418s] | ^~~~~~~~~~~
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: template argument 1 is invalid
[2.418s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.418s] | ^~~~~~~~~~~
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.418s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.418s] | ^~~~~~~~~~~
[2.418s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: template argument 1 is invalid
[2.418s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.419s] | ^~~~~~~~~~~
[2.419s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.419s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.419s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.419s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:16: error: invalid use of ‘this’ in non-member function
[2.419s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.420s] | ^~~~
[2.420s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:16: error: invalid use of ‘this’ in non-member function
[2.420s] 70 | RCLCPP_WARN(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
[2.420s] | ^~~~
[2.422s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘int main(int, char**)’:
[2.422s] /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.422s] 99 | node->get_parameter<float>("start_point_red_x", start_point_red_x);
[2.423s] | ^~~~~~~~~~~~~~~~~
[2.423s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.423s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.423s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.423s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.423s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.423s] /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.423s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.423s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.423s] /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.423s] 100 | node->get_parameter<float>("start_point_red_y", start_point_red_y);
[2.423s] | ^~~~~~~~~~~~~~~~~
[2.423s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.423s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.424s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.424s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.424s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.424s] /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.424s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.424s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.424s] /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.424s] 101 | node->get_parameter<float>("start_point_blue_x", start_point_blue_x);
[2.424s] | ^~~~~~~~~~~~~~~~~~
[2.424s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.424s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.424s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.424s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.424s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.424s] /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.424s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.425s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.425s] /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.425s] 102 | node->get_parameter<float>("start_point_blue_y", start_point_blue_y);
[2.425s] | ^~~~~~~~~~~~~~~~~~
[2.425s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.425s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.425s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.425s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.425s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.425s] /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.425s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.425s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.425s] /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.425s] 103 | node->get_parameter<float>("red_attack_x", red_attack_x);
[2.425s] | ^~~~~~~~~~~~
[2.425s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.426s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.426s] /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.426s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.426s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.426s] /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.426s] 104 | node->get_parameter<float>("red_attack_y", red_attack_y);
[2.426s] | ^~~~~~~~~~~~
[2.426s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.426s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.426s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.427s] /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.427s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.427s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.427s] /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.427s] 105 | node->get_parameter<float>("blue_attack_x", blue_attack_x);
[2.427s] | ^~~~~~~~~~~~~
[2.427s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.427s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.427s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.427s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.427s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.427s] /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.427s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.427s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.427s] /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.428s] 106 | node->get_parameter<float>("blue_attack_y", blue_attack_y);
[2.428s] | ^~~~~~~~~~~~~
[2.428s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.428s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.428s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.428s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.428s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.428s] /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.428s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.428s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.428s] /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.428s] 107 | node->get_parameter<float>("red_defense_x", red_defense_x);
[2.428s] | ^~~~~~~~~~~~~
[2.428s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.429s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.429s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.429s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.429s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.429s] /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.429s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.429s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.429s] /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.429s] 108 | node->get_parameter<float>("red_defense_y", red_defense_y);
[2.429s] | ^~~~~~~~~~~~~
[2.429s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.429s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.429s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.430s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.430s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.430s] /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.430s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.430s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.430s] /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.430s] 109 | node->get_parameter<float>("blue_defense_x", blue_defense_x);
[2.430s] | ^~~~~~~~~~~~~~
[2.430s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.430s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.430s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.430s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.430s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.430s] /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.430s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.431s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.431s] /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.431s] 110 | node->get_parameter<float>("blue_defense_y", blue_defense_y);
[2.431s] | ^~~~~~~~~~~~~~
[2.431s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[2.431s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[2.431s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[2.431s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.431s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.431s] /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.431s] 286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
[2.431s] | ~~~~~~~~~~~~~^~~~~~~~~
[2.431s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:114:15: error: ‘decision_move_node’ was not declared in this scope
[2.431s] 114 | goal_pub = decision_move_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.431s] | ^~~~~~~~~~~~~~~~~~
[2.432s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:114:83: error: expected primary-expression before ‘>’ token
[2.432s] 114 | _move_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.432s] | ^
[2.432s]
[2.432s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:114:85: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.432s] 114 | ove_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.432s] | ^~~~~~~~~~~~
[2.432s]
[2.433s] /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.433s] 117 | game_pro_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.433s] | ^~~~~~~~~~~~
[2.434s] | game_process
[2.434s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:117:19: error: invalid use of ‘this’ in non-member function
[2.434s] 117 | game_pro_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.434s] | ^~~~
[2.434s] /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.434s] 117 | game_pro_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.434s] | ^~~~~
[2.434s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:118:3: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.434s] 118 | "/game_progress", rclcpp::QoS(10),
[2.434s] | ^~~~~~~~~~~~~~~~
[2.435s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:119:14: error: ‘DecisionMoveNode’ has not been declared
[2.435s] 119 | std::bind(&DecisionMoveNode::game_progress_callback, this, std::placeholders::_1));
[2.435s] | ^~~~~~~~~~~~~~~~
[2.435s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:119:56: error: invalid use of ‘this’ in non-member function
[2.435s] 119 | std::bind(&DecisionMoveNode::game_progress_callback, this, std::placeholders::_1));
[2.435s] | ^~~~
[2.438s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:3: error: ‘outposthp_sub’ was not declared in this scope; did you mean ‘outpost_low’?
[2.438s] 121 | outposthp_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.438s] | ^~~~~~~~~~~~~
[2.438s] | outpost_low
[2.439s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:19: error: invalid use of ‘this’ in non-member function
[2.439s] 121 | outposthp_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.439s] | ^~~~
[2.439s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:65: error: ‘Twist’ is not a member of ‘geometry_msgs::msg’
[2.439s] 121 | outposthp_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.439s] | ^~~~~
[2.439s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:122:3: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.439s] 122 | "/outpost_hp", rclcpp::QoS(10),
[2.439s] | ^~~~~~~~~~~~~
[2.439s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:123:14: error: ‘DecisionMoveNode’ has not been declared
[2.439s] 123 | std::bind(&DecisionMoveNode::outposthp_callback, this, std::placeholders::_1));
[2.439s] | ^~~~~~~~~~~~~~~~
[2.439s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:123:52: error: invalid use of ‘this’ in non-member function
[2.439s] 123 | std::bind(&DecisionMoveNode::outposthp_callback, this, std::placeholders::_1));
[2.439s] | ^~~~
[2.442s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:125:4: error: ‘arial_cmd_sub’ was not declared in this scope; did you mean ‘arial_cmd_flag’?
[2.442s] 125 | arial_cmd_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.442s] | ^~~~~~~~~~~~~
[2.442s] | arial_cmd_flag
[2.442s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:125:20: error: invalid use of ‘this’ in non-member function
[2.442s] 125 | arial_cmd_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.442s] | ^~~~
[2.442s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:125:66: error: ‘Twist’ is not a member of ‘geometry_msgs::msg’
[2.442s] 125 | arial_cmd_sub = this->create_subscription<geometry_msgs::msg::Twist>(
[2.442s] | ^~~~~
[2.442s]
[2.443s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:126:3: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.443s] 126 | "/arial_cmd", rclcpp::QoS(10),
[2.443s] | ^~~~~~~~~~~~
[2.443s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:127:14: error: ‘DecisionMoveNode’ has not been declared
[2.443s] 127 | std::bind(&DecisionMoveNode::arial_cmd_callback, this, std::placeholders::_1));
[2.443s] | ^~~~~~~~~~~~~~~~
[2.443s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:127:52: error: invalid use of ‘this’ in non-member function
[2.443s] 127 | std::bind(&DecisionMoveNode::arial_cmd_callback, this, std::placeholders::_1));
[2.443s] | ^~~~
[2.443s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.443s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.443s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.444s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.444s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.444s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:22: error: invalid use of ‘this’ in non-member function
[2.444s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.444s] | ^~~~
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:22: error: invalid use of ‘this’ in non-member function
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:10: error: template argument 1 is invalid
[2.445s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.445s] | ^~~~~~~~~~~
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:10: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.445s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.445s] | ^~~~~~~~~~~
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:10: error: template argument 1 is invalid
[2.445s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.445s] | ^~~~~~~~~~~
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:10: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.445s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.445s] | ^~~~~~~~~~~
[2.445s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:10: error: template argument 1 is invalid
[2.446s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.446s] | ^~~~~~~~~~~
[2.446s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.446s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.446s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.446s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:22: error: invalid use of ‘this’ in non-member function
[2.447s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.447s] | ^~~~
[2.447s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:214:22: error: invalid use of ‘this’ in non-member function
[2.447s] 214 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
[2.447s] | ^~~~
[2.447s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:218:24: error: no matching function for call to ‘spin_some()’
[2.447s] 218 | rclcpp::spin_some();
[2.447s] | ~~~~~~~~~~~~~~~~~^~
[2.447s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.447s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.447s] /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:35:1: note: candidate: ‘void rclcpp::spin_some(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr)’
[2.447s] 35 | spin_some(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_ptr);
[2.447s] | ^~~~~~~~~
[2.447s] /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:35:1: note: candidate expects 1 argument, 0 provided
[2.447s] /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:39:1: note: candidate: ‘void rclcpp::spin_some(rclcpp::Node::SharedPtr)’
[2.447s] 39 | spin_some(rclcpp::Node::SharedPtr node_ptr);
[2.448s] | ^~~~~~~~~
[2.448s] /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:39:1: note: candidate expects 1 argument, 0 provided
[2.448s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:132:9: error: unused variable ‘choice’ [-Werror=unused-variable]
[2.448s] 132 | char choice = 'q';
[2.448s] | ^~~~~~
[2.448s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.448s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.448s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘int moveToGoal_topic(double, double)’:
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:16: error: invalid use of ‘this’ in non-member function
[2.449s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.449s] | ^~~~
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:16: error: invalid use of ‘this’ in non-member function
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:4: error: template argument 1 is invalid
[2.449s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.449s] | ^~~~~~~~~~~
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.449s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.449s] | ^~~~~~~~~~~
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:4: error: template argument 1 is invalid
[2.449s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.449s] | ^~~~~~~~~~~
[2.449s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.450s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.450s] | ^~~~~~~~~~~
[2.450s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:4: error: template argument 1 is invalid
[2.450s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.450s] | ^~~~~~~~~~~
[2.450s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.450s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.451s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.451s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:16: error: invalid use of ‘this’ in non-member function
[2.451s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.451s] | ^~~~
[2.451s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:240:16: error: invalid use of ‘this’ in non-member function
[2.451s] 240 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
[2.451s] | ^~~~
[2.451s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.451s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.452s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.452s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.452s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.452s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.452s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:16: error: invalid use of ‘this’ in non-member function
[2.452s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.452s] | ^~~~
[2.452s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:16: error: invalid use of ‘this’ in non-member function
[2.452s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:4: error: template argument 1 is invalid
[2.452s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.452s] | ^~~~~~~~~~~
[2.452s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.452s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.452s] | ^~~~~~~~~~~
[2.452s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:4: error: template argument 1 is invalid
[2.453s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.453s] | ^~~~~~~~~~~
[2.453s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:4: error: ‘<declaration error>’ is not a template [-fpermissive]
[2.453s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.453s] | ^~~~~~~~~~~
[2.453s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:4: error: template argument 1 is invalid
[2.453s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.453s] | ^~~~~~~~~~~
[2.453s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
[2.453s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
[2.454s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
[2.454s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
[2.454s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[2.454s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
[2.454s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:16: error: invalid use of ‘this’ in non-member function
[2.454s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.454s] | ^~~~
[2.454s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:241:16: error: invalid use of ‘this’ in non-member function
[2.454s] 241 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
[2.454s] | ^~~~
[2.454s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:243:15: error: ‘decision_move_node’ was not declared in this scope
[2.454s] 243 | goal_pub = decision_move_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.454s] | ^~~~~~~~~~~~~~~~~~
[2.454s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:243:83: error: expected primary-expression before ‘>’ token
[2.454s] 243 | _move_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.455s] | ^
[2.455s]
[2.455s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:243:85: error: left operand of comma operator has no effect [-Werror=unused-value]
[2.455s] 243 | ove_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
[2.455s] | ^~~~~~~~~~~~
[2.455s]
[2.804s] cc1plus: all warnings being treated as errors
[2.821s] gmake[2]: *** [CMakeFiles/decision_move_node.dir/build.make:76: CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o] Error 1
[2.821s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/decision_move_node.dir/all] Error 2
[2.821s] gmake: *** [Makefile:146: all] Error 2
[2.822s] 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