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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9514:5: error: template argument 1 is invalid
9514 | RCLCPP_WARN(get_logger(), " GNSS fusion is not enabled");
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9514:5: error: ‘’ is not a template [-fpermissive]
9514 | RCLCPP_WARN(get_logger(), " GNSS fusion is not enabled");
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9514:5: error: template argument 1 is invalid
9514 | RCLCPP_WARN(get_logger(), " GNSS fusion is not enabled");
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9514:5: error: ‘’ is not a template [-fpermissive]
9514 | RCLCPP_WARN(get_logger(), " GNSS fusion is not enabled");
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9514:5: error: template argument 1 is invalid
9514 | RCLCPP_WARN(get_logger(), " GNSS fusion is not enabled");
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:17: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’?
9523 | RCLCPP_WARN(get_logger(), " GNSS fusion is not ready");
| ^~~~~~
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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:5: error: template argument 1 is invalid
9523 | RCLCPP_WARN(get_logger(), " GNSS fusion is not ready");
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:5: error: ‘’ is not a template [-fpermissive]
9523 | RCLCPP_WARN(get_logger(), " GNSS fusion is not ready");
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:5: error: template argument 1 is invalid
9523 | RCLCPP_WARN(get_logger(), " GNSS fusion is not ready");
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:5: error: ‘’ is not a template [-fpermissive]
9523 | RCLCPP_WARN(get_logger(), " GNSS fusion is not ready");
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:5: error: template argument 1 is invalid
9523 | RCLCPP_WARN(get_logger(), " * GNSS fusion is not ready");
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: At global scope:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9528:3: error: ‘ll_pt’ does not name a type
9528 | ll_pt.setCoordinates(
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9533:3: error: ‘mFusion’ does not name a type; did you mean ‘union’?
9533 | mFusion.Geo2Camera(ll_pt, sl_pt_cam);
| ^~~
| union
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9536:3: error: ‘res’ does not name a type
9536 | res->map_point.x = sl_pt_cam.getTranslation().x;
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9537:3: error: ‘res’ does not name a type
9537 | res->map_point.y = sl_pt_cam.getTranslation().y;
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9538:3: error: ‘res’ does not name a type
9538 | res->map_point.z = sl_pt_cam.getTranslation().z;
| ^~~
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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9540:3: error: expected unqualified-id before ‘do’
9540 | RCLCPP_INFO(
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9540:3: error: expected unqualified-id before ‘while’
9540 | RCLCPP_INFO(
| ^~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9544:1: error: expected declaration before ‘}’ token
9544 | }
| ^
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9546:6: error: ‘ZedCamera’ has not been declared
9546 | void ZedCamera::callback_clock(const rosgraph_msgs::msg::Clock::SharedPtr msg)
| ^~~~~
In file included from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:23:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: In function ‘void callback_clock(rosgraphmsgs::msg::Clock<std::allocator >::SharedPtr)’:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: error: ‘mDebugSim’ was not declared in this scope
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__)
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: note: in definition of macro ‘DEBUG_SIM’
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~
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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:52: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’?
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’
9548 | DEBUG_SIM(" CLOCK CALLBACK ");
| ^~~~~
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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’
9548 | DEBUG_SIM(" CLOCK CALLBACK ");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’
9548 | DEBUG_SIM(" CLOCK CALLBACK ");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’
9548 | DEBUG_SIM(" CLOCK CALLBACK ");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’
9548 | DEBUG_SIM(" CLOCK CALLBACK ");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’
9548 | DEBUG_SIM(" CLOCK CALLBACK ");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9552:21: error: ‘mLastClock’ was not declared in this scope
9552 | if (msg_time != mLastClock) {
| ^~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9553:7: error: ‘mClockAvailable’ was not declared in this scope
9553 | mClockAvailable = true;
| ^~~~~~~
In file included from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:23:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: error: ‘mDebugSim’ was not declared in this scope
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: note: in definition of macro ‘DEBUG_SIM’
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS)
| ^~~~~
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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:52: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’?
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__)
| ^~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’
9554 | DEBUG_SIM("Received an updated '/clock' message.");
| ^~~~~
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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’
9554 | DEBUG_SIM("Received an updated '/clock' message.");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’
9554 | DEBUG_SIM("Received an updated '/clock' message.");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’
9554 | DEBUG_SIM("Received an updated '/clock' message.");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’
9554 | DEBUG_SIM("Received an updated '/clock' message.");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’
9554 | DEBUG_SIM("Received an updated '/clock' message.");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9556:7: error: ‘mClockAvailable’ was not declared in this scope
9556 | mClockAvailable = false;
| ^~~~~~~
In file included from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:23:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: error: ‘mDebugSim’ was not declared in this scope
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__)
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: note: in definition of macro ‘DEBUG_SIM’
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~
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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:52: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’?
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’
9557 | DEBUG_SIM("Received a NOT updated '/clock' message.");
| ^~~~~
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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’
9557 | DEBUG_SIM("Received a NOT updated '/clock' message.");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’
9557 | DEBUG_SIM("Received a NOT updated '/clock' message.");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’
9557 | DEBUG_SIM("Received a NOT updated '/clock' message.");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’
9557 | DEBUG_SIM("Received a NOT updated '/clock' message.");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS__)
| ^~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’
9557 | DEBUG_SIM("Received a NOT updated '/clock' message.");
| ^~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9559:5: error: ‘mLastClock’ was not declared in this scope
9559 | mLastClock = msg_time;
| ^~~~~~
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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9562:7: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’?
9562 | get_logger(), "Error comparing clock messages: " <<
| ^~~~~~
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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48,
from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22,
from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: template argument 1 is invalid
9561 | RCLCPP_WARN_STREAM(
| ^~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: ‘’ is not a template [-fpermissive]
9561 | RCLCPP_WARN_STREAM(
| ^~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: template argument 1 is invalid
9561 | RCLCPP_WARN_STREAM(
| ^~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: ‘’ is not a template [-fpermissive]
9561 | RCLCPP_WARN_STREAM(
| ^~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: template argument 1 is invalid
9561 | RCLCPP_WARN_STREAM(
| ^~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9564:26: error: ‘mLastClock’ was not declared in this scope
9564 | static_cast(mLastClock.get_clock_type()));
| ^~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9566:5: error: ‘mClockAvailable’ was not declared in this scope
9566 | mClockAvailable = false;
| ^~~~~~~
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: At global scope:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9571:1: error: expected declaration before ‘}’ token
9571 | } // namespace stereolabs
| ^
gmake[2]: [CMakeFiles/zed_camera_component.dir/build.make:104: CMakeFiles/zed_camera_component.dir/src/zed_camera/src/zed_camera_component.cpp.o] Error 1
gmake[1]: [CMakeFiles/Makefile2:164: CMakeFiles/zed_camera_component.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Failed <<< zed_components [11.1s, exited with code 2]
Preliminary Checks
Description
As I simply download and install zed-ros2-wrapper, the build failed.
Steps to Reproduce
...
Expected Result
Build should complete.
Actual Result
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9514:5: error: template argument 1 is invalid 9514 | RCLCPP_WARN(get_logger(), " GNSS fusion is not enabled"); | ^’ is not a template [-fpermissive]
9514 | RCLCPP_WARN(get_logger(), " GNSS fusion is not enabled");
| ^’ is not a template [-fpermissive]
9514 | RCLCPP_WARN(get_logger(), " GNSS fusion is not enabled");
| ^’ is not a template [-fpermissive]
9523 | RCLCPP_WARN(get_logger(), " GNSS fusion is not ready");
| ^’ is not a template [-fpermissive]
9523 | RCLCPP_WARN(get_logger(), " GNSS fusion is not ready");
| ^ >::SharedPtr)’:
/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: error: ‘mDebugSim’ was not declared in this scope
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__)
| ^’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__)
| ^’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS )
| ^’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS )
| ^’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS)
| ^’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__)
| ^’ is not a template [-fpermissive]
27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS )
| ^’ is not a template [-fpermissive]
9561 | RCLCPP_WARN_STREAM(
| ^’ is not a template [-fpermissive]
9561 | RCLCPP_WARN_STREAM(
| ^(mLastClock.get_clock_type()));
| ^
~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9514:5: error: ‘~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9514:5: error: template argument 1 is invalid 9514 | RCLCPP_WARN(get_logger(), " GNSS fusion is not enabled"); | ^~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9514:5: error: ‘~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9514:5: error: template argument 1 is invalid 9514 | RCLCPP_WARN(get_logger(), " GNSS fusion is not enabled"); | ^~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:17: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’? 9523 | RCLCPP_WARN(get_logger(), " GNSS fusion is not ready"); | ^~~~~~ 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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:5: error: template argument 1 is invalid 9523 | RCLCPP_WARN(get_logger(), " GNSS fusion is not ready"); | ^~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:5: error: ‘~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:5: error: template argument 1 is invalid 9523 | RCLCPP_WARN(get_logger(), " GNSS fusion is not ready"); | ^~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:5: error: ‘~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9523:5: error: template argument 1 is invalid 9523 | RCLCPP_WARN(get_logger(), " * GNSS fusion is not ready"); | ^~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: At global scope: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9528:3: error: ‘ll_pt’ does not name a type 9528 | ll_pt.setCoordinates( | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9533:3: error: ‘mFusion’ does not name a type; did you mean ‘union’? 9533 | mFusion.Geo2Camera(ll_pt, sl_pt_cam); | ^~~ | union /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9536:3: error: ‘res’ does not name a type 9536 | res->map_point.x = sl_pt_cam.getTranslation().x; | ^~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9537:3: error: ‘res’ does not name a type 9537 | res->map_point.y = sl_pt_cam.getTranslation().y; | ^~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9538:3: error: ‘res’ does not name a type 9538 | res->map_point.z = sl_pt_cam.getTranslation().z; | ^~~ 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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9540:3: error: expected unqualified-id before ‘do’ 9540 | RCLCPP_INFO( | ^~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9540:3: error: expected unqualified-id before ‘while’ 9540 | RCLCPP_INFO( | ^~~/home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9544:1: error: expected declaration before ‘}’ token 9544 | } | ^ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9546:6: error: ‘ZedCamera’ has not been declared 9546 | void ZedCamera::callback_clock(const rosgraph_msgs::msg::Clock::SharedPtr msg) | ^~~~~ In file included from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:23: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: In function ‘void callback_clock(rosgraphmsgs::msg::Clock<std::allocator~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: note: in definition of macro ‘DEBUG_SIM’ 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS) | ^~~~~ 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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:52: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’? 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS) | ^~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’ 9548 | DEBUG_SIM(" CLOCK CALLBACK "); | ^~~~~ 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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS) | ^~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’ 9548 | DEBUG_SIM(" CLOCK CALLBACK "); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’ 9548 | DEBUG_SIM(" CLOCK CALLBACK "); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS) | ^~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’ 9548 | DEBUG_SIM(" CLOCK CALLBACK "); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’ 9548 | DEBUG_SIM(" CLOCK CALLBACK "); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__) | ^~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9548:3: note: in expansion of macro ‘DEBUG_SIM’ 9548 | DEBUG_SIM(" CLOCK CALLBACK "); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9552:21: error: ‘mLastClock’ was not declared in this scope 9552 | if (msg_time != mLastClock) { | ^~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9553:7: error: ‘mClockAvailable’ was not declared in this scope 9553 | mClockAvailable = true; | ^~~~~~~ In file included from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:23: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: error: ‘mDebugSim’ was not declared in this scope 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS) | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: note: in definition of macro ‘DEBUG_SIM’ 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS) | ^~~~~ 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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:52: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’? 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__) | ^~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’ 9554 | DEBUG_SIM("Received an updated '/clock' message."); | ^~~~~ 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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS) | ^~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’ 9554 | DEBUG_SIM("Received an updated '/clock' message."); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’ 9554 | DEBUG_SIM("Received an updated '/clock' message."); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__) | ^~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’ 9554 | DEBUG_SIM("Received an updated '/clock' message."); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’ 9554 | DEBUG_SIM("Received an updated '/clock' message."); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS) | ^~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9554:7: note: in expansion of macro ‘DEBUG_SIM’ 9554 | DEBUG_SIM("Received an updated '/clock' message."); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9556:7: error: ‘mClockAvailable’ was not declared in this scope 9556 | mClockAvailable = false; | ^~~~~~~ In file included from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:23: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: error: ‘mDebugSim’ was not declared in this scope 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS__) | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:28: note: in definition of macro ‘DEBUG_SIM’ 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS) | ^~~~~ 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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:52: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’? 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS) | ^~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’ 9557 | DEBUG_SIM("Received a NOT updated '/clock' message."); | ^~~~~ 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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS) | ^~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’ 9557 | DEBUG_SIM("Received a NOT updated '/clock' message."); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’ 9557 | DEBUG_SIM("Received a NOT updated '/clock' message."); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), VA_ARGS) | ^~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’ 9557 | DEBUG_SIM("Received a NOT updated '/clock' message."); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: ‘~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’ 9557 | DEBUG_SIM("Received a NOT updated '/clock' message."); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/tools/include/sl_logging.hpp:27:39: error: template argument 1 is invalid 27 | #define DEBUG_SIM(...) if (mDebugSim) RCLCPP_DEBUG(get_logger(), __VA_ARGS__) | ^~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9557:7: note: in expansion of macro ‘DEBUG_SIM’ 9557 | DEBUG_SIM("Received a NOT updated '/clock' message."); | ^~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9559:5: error: ‘mLastClock’ was not declared in this scope 9559 | mLastClock = msg_time; | ^~~~~~ 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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9562:7: error: ‘get_logger’ was not declared in this scope; did you mean ‘rclcpp::get_logger’? 9562 | get_logger(), "Error comparing clock messages: " << | ^~~~~~ 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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /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 /opt/ros/humble/include/tf2_ros/tf2_ros/buffer_interface.h:48, from /opt/ros/humble/include/tf2_ros/tf2_ros/buffer.h:42, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/sl_types.hpp:18, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/include/zed_camera_component.hpp:22, from /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:22: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: template argument 1 is invalid 9561 | RCLCPP_WARN_STREAM( | ^~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: ‘~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: template argument 1 is invalid 9561 | RCLCPP_WARN_STREAM( | ^~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: ‘~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9561:5: error: template argument 1 is invalid 9561 | RCLCPP_WARN_STREAM( | ^~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9564:26: error: ‘mLastClock’ was not declared in this scope 9564 | static_cast~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9566:5: error: ‘mClockAvailable’ was not declared in this scope 9566 | mClockAvailable = false; | ^~~~~~~ /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp: At global scope: /home/dev/ros2_ws/src/zed-ros2-wrapper/zed_components/src/zed_camera/src/zed_camera_component.cpp:9571:1: error: expected declaration before ‘}’ token 9571 | } // namespace stereolabs | ^ gmake[2]: [CMakeFiles/zed_camera_component.dir/build.make:104: CMakeFiles/zed_camera_component.dir/src/zed_camera/src/zed_camera_component.cpp.o] Error 1 gmake[1]: [CMakeFiles/Makefile2:164: CMakeFiles/zed_camera_component.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2Failed <<< zed_components [11.1s, exited with code 2]
ZED Camera model
ZED2i
Environment
Anything else?
No response