RealSense Cross Platform API
RealSense Cross-platform API
Loading...
Searching...
No Matches
rs_safety_sensor.h
Go to the documentation of this file.
1/* License: Apache 2.0. See LICENSE file in root directory.
2 Copyright(c) 2024 RealSense, Inc. All Rights Reserved. */
3
8
9
10#ifndef LIBREALSENSE_RS2_SAFETY_SENSOR_H
11#define LIBREALSENSE_RS2_SAFETY_SENSOR_H
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#include "rs_types.h"
18
26const rs2_raw_data_buffer* rs2_get_safety_preset(rs2_sensor const* sensor, int index, rs2_error** error);
27
35void rs2_set_safety_preset(rs2_sensor const* sensor, int index, const char* sp_json_str, rs2_error** error);
36
45
52void rs2_set_safety_interface_config(rs2_sensor const* sensor, const char* sic_json_str, rs2_error** error);
53
61
68void rs2_set_application_config(rs2_sensor const* sensor, const char* application_config_json_str, rs2_error** error);
69
70#ifdef __cplusplus
71}
72#endif
73#endif // LIBREALSENSE_RS2_SAFETY_SENSOR_H
void rs2_set_application_config(rs2_sensor const *sensor, const char *application_config_json_str, rs2_error **error)
void rs2_set_safety_preset(rs2_sensor const *sensor, int index, const char *sp_json_str, rs2_error **error)
const rs2_raw_data_buffer * rs2_get_safety_interface_config(rs2_sensor const *sensor, rs2_calib_location loc, rs2_error **error)
const rs2_raw_data_buffer * rs2_get_application_config(rs2_sensor const *sensor, rs2_error **error)
const rs2_raw_data_buffer * rs2_get_safety_preset(rs2_sensor const *sensor, int index, rs2_error **error)
void rs2_set_safety_interface_config(rs2_sensor const *sensor, const char *sic_json_str, rs2_error **error)
Exposes RealSense structs.
struct rs2_sensor rs2_sensor
Definition rs_types.h:300
rs2_calib_location
Definition rs_types.h:256
struct rs2_error rs2_error
Definition rs_types.h:276
struct rs2_raw_data_buffer rs2_raw_data_buffer
Definition rs_types.h:278