IMU is only used for VIO approaches (OKVIS, MSCKF or VINS), but not saved in the map. Unless VIO is used, the IMU data is ignored. To add IMU to SensorData it is with
setIMU() function. For an example of usage of IMU with VIO approaches, look at the
rtabmap-euroc_dataset tool.
cheers,
Mathieu