mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-09 22:29:48 +08:00
update OrbbecSDK version to 2.8.8
This commit is contained in:
@@ -54,6 +54,24 @@ OB_EXPORT const char* ob_sensor_type_to_string(OBSensorType type);
|
||||
*/
|
||||
OB_EXPORT const char* ob_imu_rate_type_to_string(OBIMUSampleRate type);
|
||||
|
||||
/**
|
||||
* @brief Convert OBIMUSampleRate to its numeric frequency value in Hz.
|
||||
*
|
||||
* @param[in] type OBIMUSampleRate type.
|
||||
*
|
||||
* @return IMU sample rate value in Hz. Returns 0 for unknown values.
|
||||
*/
|
||||
OB_EXPORT float ob_imu_rate_type_to_value(OBIMUSampleRate type);
|
||||
|
||||
/**
|
||||
* @brief Convert a numeric IMU sample rate value in Hz to OBIMUSampleRate.
|
||||
*
|
||||
* @param[in] value IMU sample rate value in Hz.
|
||||
*
|
||||
* @return Matching OBIMUSampleRate. Returns OB_SAMPLE_RATE_UNKNOWN when no exact SDK rate matches.
|
||||
*/
|
||||
OB_EXPORT OBIMUSampleRate ob_imu_rate_value_to_type(float value);
|
||||
|
||||
/**
|
||||
* @brief Convert OBGyroFullScaleRange to " char* " type and then return.
|
||||
*
|
||||
@@ -90,14 +108,50 @@ OB_EXPORT const char *ob_lidar_scan_rate_type_to_string(OBLiDARScanRate type);
|
||||
OB_EXPORT const char* ob_meta_data_type_to_string(OBFrameMetadataType type);
|
||||
|
||||
/**
|
||||
* @brief Convert OBStreamType to OBSensorType.
|
||||
* @brief Convert OBSensorType to OBStreamType.
|
||||
*
|
||||
* @param[in] type The sensor type to convert.
|
||||
*
|
||||
* @return OBStreamType The corresponding stream type.
|
||||
* @return The corresponding stream type.
|
||||
*/
|
||||
OB_EXPORT OBStreamType ob_sensor_type_to_stream_type(OBSensorType type);
|
||||
|
||||
/**
|
||||
* @brief Convert OBStreamType to OBSensorType.
|
||||
*
|
||||
* @param[in] type The stream type to convert.
|
||||
*
|
||||
* @return The corresponding sensor type.
|
||||
*/
|
||||
OB_EXPORT OBSensorType ob_stream_type_to_sensor_type(OBStreamType type);
|
||||
|
||||
/**
|
||||
* @brief Convert OBStreamType to OBFrameType.
|
||||
*
|
||||
* @param[in] type The stream type to convert.
|
||||
*
|
||||
* @return The corresponding frame type.
|
||||
*/
|
||||
OB_EXPORT OBFrameType ob_stream_type_to_frame_type(OBStreamType type);
|
||||
|
||||
/**
|
||||
* @brief Convert OBFrameType to OBStreamType.
|
||||
*
|
||||
* @param[in] type The frame type to convert.
|
||||
*
|
||||
* @return The corresponding stream type.
|
||||
*/
|
||||
OBStreamType ob_frame_type_to_stream_type(OBFrameType type);
|
||||
|
||||
/**
|
||||
* @brief Convert OBFrameType to OBSensorType.
|
||||
*
|
||||
* @param[in] type The frame type to convert.
|
||||
*
|
||||
* @return The corresponding sensor type.
|
||||
*/
|
||||
OB_EXPORT OBSensorType ob_frame_type_to_sensor_type(OBFrameType type);
|
||||
|
||||
/**
|
||||
* @brief Convert OBFormat to " char* " type and then return.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user