sensor_streaming_params_t

Updated: April 19, 2023

Sensor streaming parameters

Synopsis:

#include <sensor/external_sensor_api.h>
typedef struct sensor_streaming_params_t {
    uint32_t packet_size;
    sensor_format_t out_data_format;
    sensor_coord_system_t dest_coord_system;
} sensor_streaming_params_t;

Data:

uint32_t packet_size
Packet size is the number of sensor data elements in the packet.

For example for sensor in SENSOR_FORMAT_LIDAR_POLAR output format, this would be the number of sensor_lidar_polar_t elements in the payload.

sensor_format_t out_data_format
The output format that's required.
sensor_coord_system_t dest_coord_system
Indicates whether to apply a transform.

Library:

libsensor