Holds Fusion process data and functions More...
Classes | |
struct | sl_GNSSCalibrationParameters |
DLL-friendly version of GNSSCalibrationParameters (found in ZEDCommon.cs). More... | |
struct | sl_PositionalTrackingFusionParameters |
DLL-friendly version of PositionalTrackingFusionParameters (found in ZEDCommon.cs). More... | |
Functions | |
void | Close () |
void | ReadFusionConfiguration (System.Text.StringBuilder fusionConfiguration, COORDINATE_SYSTEM coordinateSystem, UNIT unit, ref FusionConfiguration[] configs, ref int nbCameras) |
Read a Configuration JSON string to configure a fusion process. More... | |
SENDER_ERROR_CODE | GetSenderState (ref CameraIdentifier uuid) |
Returns the state of a connected data sender. More... | |
FUSION_ERROR_CODE | Init (ref InitFusionParameters initFusionParameters) |
FusionHandler initialisation. Initializes memory/generic datas More... | |
FUSION_ERROR_CODE | Process () |
processes the fusion. More... | |
FUSION_ERROR_CODE | Subscribe (ref CameraIdentifier uuid, CommunicationParameters communicationParameters, ref Vector3 poseTranslation, ref System.Numerics.Quaternion poseRotation) |
adds a camera to the multi camera handler More... | |
FUSION_ERROR_CODE | Unsubscribe (ref CameraIdentifier uuid) |
Remove the specified camera from data provider. More... | |
FUSION_ERROR_CODE | UpdatePose (ref CameraIdentifier uuid, ref Vector3 poseTranslation, ref System.Numerics.Quaternion poseRotation) |
updates the camera World pose More... | |
FUSION_ERROR_CODE | RetrieveImage (Mat mat, ref CameraIdentifier uuid, Resolution resolution=new sl.Resolution()) |
Returns the current sl.VIEW.LEFT of the specified camera, the data is synchronized. More... | |
FUSION_ERROR_CODE | RetrieveMeasure (Mat mat, ref CameraIdentifier uuid, MEASURE measure=MEASURE.DEPTH, Resolution resolution=new sl.Resolution()) |
Returns the current measure of the specified camera, the data is synchronized. More... | |
FUSION_ERROR_CODE | EnableBodyTracking (ref BodyTrackingFusionParameters btfParams) |
enables the body tracking module More... | |
void | DisableBodyTracking () |
disable the body tracking module More... | |
FUSION_ERROR_CODE | RetrieveBodies (ref Bodies bodies, ref BodyTrackingFusionRuntimeParameters rtparams, CameraIdentifier uuid) |
retrieves the body data, can be the fused data (default), or the raw data provided by a specific sender More... | |
FUSION_ERROR_CODE | GetProcessMetrics (ref FusionMetrics metrics) |
gets the metrics of the Fusion process, for the fused data as well as individual camera provider data More... | |
FUSION_ERROR_CODE | EnablePositionalTracking (ref PositionalTrackingFusionParameters ptfParams) |
enables positional tracking module More... | |
POSITIONAL_TRACKING_STATE | GetPosition (ref Pose pose, REFERENCE_FRAME referenceFrame, ref CameraIdentifier uuid, POSITION_TYPE retrieveType) |
Gets the Fused Position of the camera system More... | |
FusedPositionalTrackingStatus | GetFusedPositionalTrackingStatus () |
Gets the current status of fused position. More... | |
void | DisablePositionalTracking () |
Disables the positional tracking More... | |
void | IngestGNSSData (ref GNSSData data) |
ingests GNSS data from an external sensor into the fusion module More... | |
POSITIONAL_TRACKING_STATE | GetCurrentGNSSData (ref GNSSData data) |
returns the current GNSS data More... | |
GNSS_FUSION_STATUS | GetGeoPose (ref GeoPose pose) |
returns the current GeoPose More... | |
GNSS_FUSION_STATUS | GeoToCamera (ref LatLng inLatLng, out Pose outPose) |
Converts latitude / longitude into position in sl::Fusion coordinate system. More... | |
GNSS_FUSION_STATUS | CameraToGeo (ref Pose inPose, out GeoPose outGeoPose) |
Converts a position in sl::Fusion coordinate system in real world coordinate. More... | |
ulong | GetCurrentTimestamp () |
Gets the current timestamp. More... | |
GNSS_FUSION_STATUS | GetCurrentGNSSCalibrationStd (ref float yawStd, ref Vector3 positionStd) |
Get the current calibration uncertainty defined during calibration process More... | |
void | GetGeoTrackingCalibration (ref Vector3 position, ref System.Numerics.Quaternion rotation) |
Get the calibration found between VIO and GNSS More... | |
Static Functions | |
static List< FusionConfiguration > | ReadConfigurationFile (System.Text.StringBuilder jsonConfigFileName, COORDINATE_SYSTEM coordinateSystem, UNIT unit) |
Read a Configuration JSON file to configure a fusion process. More... | |
Holds Fusion process data and functions
|
inline |
|
inlinestatic |
Read a Configuration JSON file to configure a fusion process.
jsonConfigFileName | The name of the JSON file containing the configuration. |
coordinateSystem | The COORDINATE_SYSTEM in which you want the World Pose to be in. |
unit | The UNIT in which you want the World Pose to be in. |
|
inline |
Read a Configuration JSON string to configure a fusion process.
fusionConfiguration | The name of the JSON file containing the configuration. |
coordinateSystem | The COORDINATE_SYSTEM in which you want the World Pose to be in. |
unit | The UNIT in which you want the World Pose to be in. |
configs | An array of FusionConfiguration for all the camera present in the file of size Constant.MAX_FUSED_CAMERAS. |
nbCameras | Number of cameras |
|
inline |
Returns the state of a connected data sender.
uuid | Identifier of the camera. |
|
inline |
FusionHandler initialisation. Initializes memory/generic datas
initFusionParameters |
|
inline |
processes the fusion.
|
inline |
adds a camera to the multi camera handler
uuid | The requested camera identifier. |
communicationParameters | The communication parameters to connect to the camera.. |
poseTranslation | The World position of the camera, regarding the other camera of the setup. |
poseRotation | The World rotation of the camera, regarding the other camera of the setup. |
|
inline |
Remove the specified camera from data provider.
uuid | The requested camera identifier. |
|
inline |
updates the camera World pose
uuid | The requested camera identifier. |
poseTranslation | The World position of the camera, regarding the other camera of the setup. |
poseRotation | The World rotation of the camera, regarding the other camera of the setup. |
|
inline |
Returns the current sl.VIEW.LEFT of the specified camera, the data is synchronized.
mat | the CPU BGRA image of the requested camera. |
uuid | the requested camera identifier. |
resolution | the requested resolution of the output image, can be lower or equal (default) to the original image resolution. |
|
inline |
Returns the current measure of the specified camera, the data is synchronized.
mat | the CPU data of the requested camera. |
uuid | the requested camera identifier. |
type | the requested measure type, by default DEPTH (F32_C1) |
Only MEASURE: DEPTH, XYZ, XYZRGBA, XYZBGRA, XYZARGB, XYZABGR, DEPTH_U16_MM are available.
resolution | the requested resolution of the output image, can be lower or equal (default) to the original image resolution. |
|
inline |
enables the body tracking module
btfParams |
|
inline |
disable the body tracking module
|
inline |
retrieves the body data, can be the fused data (default), or the raw data provided by a specific sender
bodies | |
rtparams | |
uuid |
|
inline |
gets the metrics of the Fusion process, for the fused data as well as individual camera provider data
metrics |
|
inline |
enables positional tracking module
ptfParams |
|
inline |
Gets the Fused Position of the camera system
pose | contains the camera pose in world position (world position is given by the calibration of the cameras system) |
referenceFrame | defines the reference from which you want the pose to be expressed. Default : REFERENCE_FRAME::WORLD. |
coordinateSystem | |
unit | |
uuid | |
retrieveType |
|
inline |
Gets the current status of fused position.
|
inline |
Disables the positional tracking
|
inline |
ingests GNSS data from an external sensor into the fusion module
data | the current GNSS data to combine with the current positional tracking data |
|
inline |
returns the current GNSS data
data | the current GNSS data |
|
inline |
|
inline |
Converts latitude / longitude into position in sl::Fusion coordinate system.
inLatLng | |
outPose |
|
inline |
Converts a position in sl::Fusion coordinate system in real world coordinate.
inPose | |
outGeoPose |
|
inline |
Gets the current timestamp.
|
inline |
Get the current calibration uncertainty defined during calibration process
yawStd | yaw uncertainty |
positionStd | position uncertainty |
|
inline |
Get the calibration found between VIO and GNSS
position | calibration found between VIO and GNSS (Translation) |
rotation | calibration found between VIO and GNSS (Rotation) |