Function rs2_software_sensor_add_motion_stream_ex

Function Documentation

rs2_stream_profile *rs2_software_sensor_add_motion_stream_ex(rs2_sensor *sensor, rs2_motion_stream motion_stream, int is_default, rs2_error **error)

Add motion stream to sensor

Parameters:
  • sensor[in] the software sensor

  • motion_stream[in] all the stream components

  • is_default[in] whether or not the stream should be a default stream for the device

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored