102
edits
Line 46: | Line 46: | ||
=== Defining the Get method === | === Defining the Get method === | ||
This method gets data from the IMU sensor. It receives a sensor payload parameter that consists of data from the accelerometer (m/s²), gyroscope ( | This method gets data from the IMU sensor. It receives a sensor payload parameter that consists of data from the accelerometer (m/s²), gyroscope (rad/s), and magnetometer (if needed). The data for each axis (x, y, z) includes the corresponding timestamp (in microseconds). The measured values must be saved in the payload to be accessible to the user-space. | ||
<syntaxhighlight lang=c++> | <syntaxhighlight lang=c++> |
edits