24navigation/log/build_2024-03-24_19-51-55/plc_bringup/stderr.log

448 lines
53 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: PoseStampedPtr in namespace geometry_msgs::msg does not name a type; did you mean PoseStamped_?
57 | void arial_cmd_callback(const geometry_msgs::msg::PoseStampedPtr& arial_cmd)
| ^~~~~~~~~~~~~~
| PoseStamped_
/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: invalid use of this in non-member function
70 | RCLCPP_WARN(this->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:16: error: invalid use of this in non-member function
/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(this->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(this->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(this->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(this->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(this->get_logger(), "Arial CMD Moving to [%f , %f]",x,y);
| ^~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
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: invalid use of this in non-member function
70 | RCLCPP_WARN(this->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:16: error: invalid use of this in non-member function
70 | RCLCPP_WARN(this->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 = this->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: invalid use of this in non-member function
117 | game_pro_sub = this->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:65: error: Twist is not a member of geometry_msgs::msg
117 | ame_pro_sub = this->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:72: 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 | _sub = this->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 = this->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:19: error: invalid use of this in non-member function
120 | outposthp_sub = this->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:65: error: Twist is not a member of geometry_msgs::msg
120 | tposthp_sub = this->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:72: 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 | _sub = this->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 = this->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:20: error: invalid use of this in non-member function
123 | arial_cmd_sub = this->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:66: error: Twist is not a member of geometry_msgs::msg
123 | ial_cmd_sub = this->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:73: 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 | _sub = this->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: invalid use of this in non-member function
211 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
| ^~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:211:22: error: invalid use of this in non-member function
/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(this->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(this->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(this->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(this->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(this->get_logger(), "wating for game start...\n");
| ^~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
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: invalid use of this in non-member function
211 | RCLCPP_INFO(this->get_logger(), "wating for game start...\n");
| ^~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:211:22: error: invalid use of this in non-member function
211 | RCLCPP_INFO(this->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: invalid use of this in non-member function
237 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
| ^~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:237:16: error: invalid use of this in non-member function
/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(this->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(this->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(this->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(this->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(this->get_logger(), "Sending goal location ...\n");
| ^~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
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:16: error: invalid use of this in non-member function
237 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
| ^~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:237:16: error: invalid use of this in non-member function
237 | RCLCPP_INFO(this->get_logger(), "Sending goal location ...\n");
| ^~~~
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:16: error: invalid use of this in non-member function
238 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
| ^~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:238:16: error: invalid use of this in non-member function
/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(this->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(this->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(this->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(this->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(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
| ^~~~~~~~~~~
In file included from /opt/ros/humble/include/rclcpp/rclcpp/logging.hpp:24,
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:16: error: invalid use of this in non-member function
238 | RCLCPP_INFO(this->get_logger(), "Moving to [%f , %f]",xGoal,yGoal);
| ^~~~
/home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:238:16: error: invalid use of this in non-member function
238 | RCLCPP_INFO(this->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