#include <MultiSenseChannel.hh>
Definition at line 46 of file MultiSenseChannel.hh.
◆ ChannelImplementation
Identifiers for the different Channel implementations.
Used for selecting a implementation at runtime
| Enumerator |
|---|
| LEGACY | Use the Legacy MultiSense wire protocol implemented as part of LibMultiSense.
|
Definition at line 52 of file MultiSenseChannel.hh.
◆ Channel() [1/3]
| multisense::Channel::Channel |
( |
| ) |
|
|
default |
◆ Channel() [2/3]
◆ Channel() [3/3]
| multisense::Channel::Channel |
( |
Channel && |
| ) |
|
|
defaultnoexcept |
◆ ~Channel()
| virtual multisense::Channel::~Channel |
( |
| ) |
|
|
virtualdefault |
◆ add_image_frame_callback()
Setup user callback that will be invoked whenever a new image frame is received.
◆ add_imu_frame_callback()
Setup user callback that will be invoked whenever a new imu frame is received.
◆ connect()
Initialize the connection to the camera.
◆ create()
Factory create function which allows for switching between different channel implementations.
◆ disconnect()
Disconnect from the camera.
◆ get_calibration()
Get the current stereo calibration.
The output calibration will correspond to the full-resolution operating mode of the camera
◆ get_config()
Get the current MultiSense configuration.
◆ get_info()
Get the static information associated with the camera.
◆ get_next_image_frame()
A blocking call that waits for one image frame from the camera.
If you’ve set a receive timeout (via Config), it will block until that timeout expires; otherwise, it blocks indefinitely until data arrives.
- Returns
- The newly received ImageFrame, or std::nullopt if timed out (and you used a timeout).
◆ get_next_imu_frame()
| virtual std::optional< ImuFrame > multisense::Channel::get_next_imu_frame |
( |
| ) |
|
|
pure virtual |
A blocking call that waits for one imu frame from the camera.
If you’ve set a receive timeout (via Config), it will block until that timeout expires; otherwise, it blocks indefinitely until data arrives.
- Returns
- The newly received ImuFrame, or std::nullopt if timed out (and you used a timeout).
◆ get_system_status()
Query the current system status.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ set_calibration()
Set the current stereo calibration.
The calibration is expected to be or the full-resolution operating mode of the camera
◆ set_config()
Get set the current MultiSense configuration.
◆ set_device_info()
Set the camera's device info.
This setting is protected via a key since invalid values in the device info can result in internal camera failures
◆ set_network_config()
Update the network configuration of the MultiSense.
This will require a hardware reboot of the MultiSense after it's been successfully applied.
- Parameters
-
| broadcast_interface | If specified a broadcast packet will be sent over the specified interface changing the IP address of all the camera connected to that interface |
◆ start_streams()
Start a collection of data sources streaming from the camera.
◆ stop_streams()
Stop specific data sources from streaming from the camera.
An empty collection of sources will stop all sources
The documentation for this class was generated from the following file: