upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches

◆ read_imu_data()

void read_imu_data ( ImuData imu_data,
b3RobotSimulatorClientAPI &  bullet,
int  robot,
const int  imu_link_index,
double  dt 
)
inline

Compute groundtruth IMU quantities from the IMU link state.

Parameters
[out]imu_dataIMU data to update.
[in]bulletBullet client.
[in]robotBullet index of the robot model.
[in]imu_link_indexIndex of the IMU link in the robot.
[in]dtSimulation timestep in [s].