No API existed to get the combined motion data.
The previous API in rs2::motion_frame is get_motion_data() returning rs2_vector which ASSUMES the data type. This should be used with RS2_FORMAT_MOTION_XYZ32F.
I did the same: added get_combined_motion_data() returning rs2_combined_motion. This should be used with RS2_FORMAT_COMBINED_MOTION.
I.e., it is up to the user to call the right one.
No API existed to get the combined motion data. The previous API in
rs2::motion_frame
isget_motion_data()
returningrs2_vector
which ASSUMES the data type. This should be used withRS2_FORMAT_MOTION_XYZ32F
. I did the same: addedget_combined_motion_data()
returningrs2_combined_motion
. This should be used withRS2_FORMAT_COMBINED_MOTION
. I.e., it is up to the user to call the right one.Added Python API.
Tracked on [RSDEV-2243]