IMU Sensor - SimX-Research/Simx-Simulator GitHub Wiki
IMU
The SimXai IMU sensor reports the ego vehicle's acceleration in x, y and z axis, as well as the angular velocity in the same axis. The location and orientation of the sensor can be modified in the "x", "y" and "z" axis with respect to the origin of the ego vehicle.
Configuration
{
"type": "IMU",
"listen_port": 8500,
"location": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"rotation": {
"pitch": 0.0,
"roll": 0.0,
"yaw": 0.0
}
}
Output
The total sensor output is 184 bytes, where the first 16 bytes correspond to the SimXai sensor header and the remaining 168 conform to the IMU data output
Note that the simulator returns acceleration relative to the global coordinate frame and angular velocity relative to the vehicle coordinate frame. Below is a table of each element in the message: