24navigation/log/build_2024-03-24_20-00-04/plc_bringup/stderr.log

468 lines
54 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/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
34 | void game_progress_callback(const std_msgs::msg::Int8ConstPtr& game_pro)
| ^~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function void game_progress_callback(const int&):
/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
37 | game_process = game_pro->data;
| ^~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: At global scope:
/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
46 | void outposthp_callback(const std_msgs::msg::Int16ConstPtr& outpost_hp)
| ^~~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function void outposthp_callback(const int&):
/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
49 | my_outpost_hp = outpost_hp->data;
| ^~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: At global scope:
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:57:51: error: PoseStampedConstPtr in namespace geometry_msgs::msg does not name a type
57 | void arial_cmd_callback(const geometry_msgs::msg::PoseStampedConstPtr& arial_cmd)
| ^~~~~~~~~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function void arial_cmd_callback(const int&):
/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
59 | double x = arial_cmd->pose.position.x;
| ^~
/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
60 | double y = arial_cmd->pose.position.y;
| ^~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:16: error: get_logger was not declared in this scope; did you mean rclcpp::get_logger?
70 | RCLCPP_WARN(get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
| ^~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:23,
from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/logger.hpp:106:17: note: rclcpp::get_logger declared here
106 | friend Logger rclcpp::get_logger(const std::string & name);
| ^~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: template argument 1 is invalid
70 | RCLCPP_WARN(get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: <declaration error> is not a template []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-fpermissive-fpermissive]8;;]
70 | RCLCPP_WARN(get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: template argument 1 is invalid
70 | RCLCPP_WARN(get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: <declaration error> is not a template []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-fpermissive-fpermissive]8;;]
70 | RCLCPP_WARN(get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:70:4: error: template argument 1 is invalid
70 | RCLCPP_WARN(get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function int main(int, char**):
/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
99 | node->get_parameter<float>("start_point_red_x", start_point_red_x);
| ^~~~~~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
100 | node->get_parameter<float>("start_point_red_y", start_point_red_y);
| ^~~~~~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
101 | node->get_parameter<float>("start_point_blue_x", start_point_blue_x);
| ^~~~~~~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
102 | node->get_parameter<float>("start_point_blue_y", start_point_blue_y);
| ^~~~~~~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
103 | node->get_parameter<float>("red_attack_x", red_attack_x);
| ^~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
104 | node->get_parameter<float>("red_attack_y", red_attack_y);
| ^~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
105 | node->get_parameter<float>("blue_attack_x", blue_attack_x);
| ^~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
106 | node->get_parameter<float>("blue_attack_y", blue_attack_y);
| ^~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
107 | node->get_parameter<float>("red_defense_x", red_defense_x);
| ^~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
108 | node->get_parameter<float>("red_defense_y", red_defense_y);
| ^~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
109 | node->get_parameter<float>("blue_defense_x", blue_defense_x);
| ^~~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
110 | node->get_parameter<float>("blue_defense_y", blue_defense_y);
| ^~~~~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/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>]
286 | Node::get_parameter(const std::string & name, ParameterT & parameter) const
| ~~~~~~~~~~~~~^~~~~~~~~
/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
114 | goal_pub = decision_move_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
| ^~~~~~~~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:114:83: error: expected primary-expression before > token
114 | _move_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
| ^
/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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-value-Werror=unused-value]8;;]
114 | ove_node->create_publisher<geometry_msgs::msg::PoseStamped>("/goal_pose", 10);
| ^~~~~~~~~~~~
/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?
117 | game_pro_sub = create_subscription<geometry_msgs::msg::Twist>("/game_progress", rclcpp::QoS(10),
| ^~~~~~~~~~~~
| game_process
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:117:19: error: create_subscription was not declared in this scope
117 | game_pro_sub = create_subscription<geometry_msgs::msg::Twist>("/game_progress", rclcpp::QoS(10),
| ^~~~~~~~~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:117:19: note: suggested alternatives:
In file included from /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:43,
from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:206:1: note:  rclcpp::create_subscription
206 | create_subscription(
| ^~~~~~~~~~~~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:56:1: note:  rclcpp::detail::create_subscription
56 | create_subscription(
| ^~~~~~~~~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:117:59: error: Twist is not a member of geometry_msgs::msg
117 | game_pro_sub = create_subscription<geometry_msgs::msg::Twist>("/game_progress", rclcpp::QoS(10),
| ^~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:117:66: error: left operand of comma operator has no effect []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-value-Werror=unused-value]8;;]
117 | me_pro_sub = create_subscription<geometry_msgs::msg::Twist>("/game_progress", rclcpp::QoS(10),
| ^~~~~~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:118:14: error: DecisionMoveNode has not been declared
118 | std::bind(&DecisionMoveNode::game_progress_callback, this, std::placeholders::_1));
| ^~~~~~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:118:56: error: invalid use of this in non-member function
118 | std::bind(&DecisionMoveNode::game_progress_callback, this, std::placeholders::_1));
| ^~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:3: error: outposthp_sub was not declared in this scope; did you mean outpost_low?
120 | outposthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
| ^~~~~~~~~~~~~
| outpost_low
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:59: error: Twist is not a member of geometry_msgs::msg
120 | outposthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
| ^~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:120:66: error: left operand of comma operator has no effect []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-value-Werror=unused-value]8;;]
120 | posthp_sub = create_subscription<geometry_msgs::msg::Twist>("/outpost_hp", rclcpp::QoS(10),
| ^~~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:14: error: DecisionMoveNode has not been declared
121 | std::bind(&DecisionMoveNode::outposthp_callback, this, std::placeholders::_1));
| ^~~~~~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:52: error: invalid use of this in non-member function
121 | std::bind(&DecisionMoveNode::outposthp_callback, this, std::placeholders::_1));
| ^~~~
/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?
123 | arial_cmd_sub = create_subscription<geometry_msgs::msg::Twist>("/arial_cmd", rclcpp::QoS(10),
| ^~~~~~~~~~~~~
| arial_cmd_flag
/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
123 | arial_cmd_sub = create_subscription<geometry_msgs::msg::Twist>("/arial_cmd", rclcpp::QoS(10),
| ^~~~~
/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 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-value-Werror=unused-value]8;;]
123 | al_cmd_sub = create_subscription<geometry_msgs::msg::Twist>("/arial_cmd", rclcpp::QoS(10),
| ^~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:124:14: error: DecisionMoveNode has not been declared
124 | std::bind(&DecisionMoveNode::arial_cmd_callback, this, std::placeholders::_1));
| ^~~~~~~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:124:52: error: invalid use of this in non-member function
124 | std::bind(&DecisionMoveNode::arial_cmd_callback, this, std::placeholders::_1));
| ^~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:211:22: error: get_logger was not declared in this scope; did you mean rclcpp::get_logger?
211 | RCLCPP_INFO(get_logger(), "wating for game start...\n");
| ^~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:23,
from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/logger.hpp:106:17: note: rclcpp::get_logger declared here
106 | friend Logger rclcpp::get_logger(const std::string & name);
| ^~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:211:10: error: template argument 1 is invalid
211 | RCLCPP_INFO(get_logger(), "wating for game start...\n");
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:211:10: error: <declaration error> is not a template []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-fpermissive-fpermissive]8;;]
211 | RCLCPP_INFO(get_logger(), "wating for game start...\n");
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:211:10: error: template argument 1 is invalid
211 | RCLCPP_INFO(get_logger(), "wating for game start...\n");
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:211:10: error: <declaration error> is not a template []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-fpermissive-fpermissive]8;;]
211 | RCLCPP_INFO(get_logger(), "wating for game start...\n");
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:211:10: error: template argument 1 is invalid
211 | RCLCPP_INFO(get_logger(), "wating for game start...\n");
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:215:24: error: no matching function for call to spin_some()
215 | rclcpp::spin_some();
| ~~~~~~~~~~~~~~~~~^~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:35:1: note: candidate: void rclcpp::spin_some(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr)
35 | spin_some(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_ptr);
| ^~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:35:1: note:  candidate expects 1 argument, 0 provided
/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:39:1: note: candidate: void rclcpp::spin_some(rclcpp::Node::SharedPtr)
39 | spin_some(rclcpp::Node::SharedPtr node_ptr);
| ^~~~~~~~~
/opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:39:1: note:  candidate expects 1 argument, 0 provided
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:129:9: error: unused variable choice []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-variable-Werror=unused-variable]8;;]
129 | char choice = 'q';
| ^~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function int moveToGoal_topic(double, double):
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:237:16: error: get_logger was not declared in this scope; did you mean rclcpp::get_logger?
237 | RCLCPP_INFO(get_logger(), "Sending goal location ...\n");
| ^~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:23,
from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/logger.hpp:106:17: note: rclcpp::get_logger declared here
106 | friend Logger rclcpp::get_logger(const std::string & name);
| ^~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:237:4: error: template argument 1 is invalid
237 | RCLCPP_INFO(get_logger(), "Sending goal location ...\n");
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:237:4: error: <declaration error> is not a template []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-fpermissive-fpermissive]8;;]
237 | RCLCPP_INFO(get_logger(), "Sending goal location ...\n");
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:237:4: error: template argument 1 is invalid
237 | RCLCPP_INFO(get_logger(), "Sending goal location ...\n");
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:237:4: error: <declaration error> is not a template []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-fpermissive-fpermissive]8;;]
237 | RCLCPP_INFO(get_logger(), "Sending goal location ...\n");
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:237:4: error: template argument 1 is invalid
237 | RCLCPP_INFO(get_logger(), "Sending goal location ...\n");
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:238:16: error: get_logger was not declared in this scope; did you mean rclcpp::get_logger?
238 | RCLCPP_INFO(get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
| ^~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:23,
from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/opt/ros/humble/include/rclcpp/rclcpp/logger.hpp:106:17: note: rclcpp::get_logger declared here
106 | friend Logger rclcpp::get_logger(const std::string & name);
| ^~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:40,
from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24,
from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18,
from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20,
from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37,
from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,
from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,
from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1:
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:238:4: error: template argument 1 is invalid
238 | RCLCPP_INFO(get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:238:4: error: <declaration error> is not a template []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-fpermissive-fpermissive]8;;]
238 | RCLCPP_INFO(get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:238:4: error: template argument 1 is invalid
238 | RCLCPP_INFO(get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:238:4: error: <declaration error> is not a template []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-fpermissive-fpermissive]8;;]
238 | RCLCPP_INFO(get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
| ^~~~~~~~~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:238:4: error: template argument 1 is invalid
238 | RCLCPP_INFO(get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
| ^~~~~~~~~~~
cc1plus: all warnings being treated as errors
gmake[2]: *** [CMakeFiles/decision_move_node.dir/build.make:76: CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/decision_move_node.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2