CameraModuleSpec Struct Reference
|
Space-ng SDK
|
Message specifications and endpoints for the camera module. More...
#include <sol3/camera_module/camera_msg_spec.h>
Public Types | |
| using | CameraControl = core::MessageSpec< msg::CameraControl, core::msg::InterfaceType_INPUT, 0 > |
| using | RawFrame = core::MessageSpec< msg::CameraFrame, core::msg::InterfaceType_OUTPUT, 1 > |
| using | YuvFrame = core::MessageSpec< msg::CameraFrame, core::msg::InterfaceType_OUTPUT, 2 > |
| using | ResizedYuvFrame = core::MessageSpec< msg::CameraFrame, core::msg::InterfaceType_OUTPUT, 3 > |
| using | VideoEncodedPacket = core::MessageSpec< msg::VideoEncodedPacket, core::msg::InterfaceType_OUTPUT, 4 > |
Static Public Attributes | |
| static constexpr char const * | camera_endpoint = "/run/sol3/camera" |
| static constexpr char const * | control_endpoint = "/run/sol3/camera_control" |
| static constexpr char const * | camera_server_config_path |
| The default path the the camera server configuration file. More... | |
Detailed Description
Message specifications and endpoints for the camera module.
Member Typedef Documentation
◆ CameraControl
| using sol3::camera_module::CameraModuleSpec::CameraControl = core::MessageSpec<msg::CameraControl, core::msg::InterfaceType_INPUT, 0> |
Camera control message, received by the camera process and used in each request for a camera frame
◆ RawFrame
| using sol3::camera_module::CameraModuleSpec::RawFrame = core::MessageSpec<msg::CameraFrame, core::msg::InterfaceType_OUTPUT, 1> |
◆ ResizedYuvFrame
| using sol3::camera_module::CameraModuleSpec::ResizedYuvFrame = core::MessageSpec<msg::CameraFrame, core::msg::InterfaceType_OUTPUT, 3> |
◆ VideoEncodedPacket
| using sol3::camera_module::CameraModuleSpec::VideoEncodedPacket = core:: MessageSpec<msg::VideoEncodedPacket, core::msg::InterfaceType_OUTPUT, 4> |
◆ YuvFrame
| using sol3::camera_module::CameraModuleSpec::YuvFrame = core::MessageSpec<msg::CameraFrame, core::msg::InterfaceType_OUTPUT, 2> |
Member Data Documentation
◆ camera_endpoint
|
staticconstexpr |
Default endpoint for which all camera frames are published on We assume there is only one process responsible for publishing frames, and responsible for all cameras On the sol3 base unit, this is a reasonable assumption as only one process can talk to the underlying camera HAL
◆ camera_server_config_path
|
staticconstexpr |
The default path the the camera server configuration file.
◆ control_endpoint
|
staticconstexpr |
The camera control endpoint. The process responsible for talking to the camera HAL, and grabbing frames connects to this endpoint and expects to receive CameraControl messages from it. Only one process may control the camera process at a time.
The documentation for this struct was generated from the following file:
- /workspaces/astro/sol3-sdk/cpp/sol3/camera_module/camera_msg_spec.h
Generated by