15 #ifndef SPINNAKER_CAMERA_DRIVER__CAMERA_LIST_WRAPPER_HPP_ 16 #define SPINNAKER_CAMERA_DRIVER__CAMERA_LIST_WRAPPER_HPP_ 19 #include <Spinnaker.h> 22 #include <sensor_msgs/msg/image.hpp> 54 Spinnaker::CameraList camera_list,
59 Spinnaker::CameraList camera_list,
60 const std::vector<CameraSettings> & camera_settings);
76 void start_capturing();
79 void stop_capturing();
82 std::unique_ptr<sensor_msgs::msg::Image> retreive_image_from_camera(
83 const std::uint32_t camera_index)
const;
93 static std::string get_camera_serial_number(
const Spinnaker::CameraPtr camera);
96 Spinnaker::CameraList m_camera_list{};
98 std::vector<CameraWrapper> m_cameras{};
106 #endif // SPINNAKER_CAMERA_DRIVER__CAMERA_LIST_WRAPPER_HPP_
Definition: camera_list_wrapper.hpp:49
std::size_t get_number_of_cameras() const
Get number of cameras.
Definition: camera_list_wrapper.hpp:86
Encapsulate settings that make sense to pass to a camera.
Definition: camera_settings.hpp:35
std::function< void(std::uint32_t, std::unique_ptr< sensor_msgs::msg::Image >)> ImageCallbackFunction
A typedef for the callback function used to return an image message to the user.
Definition: camera_wrapper.hpp:49
This file defines the lanelet2_map_provider_node class.
Definition: quick_sort.hpp:24