ApolloInput Nova 0.2.0
Standalone virtual gamepad library
Loading...
Searching...
No Matches
apollo::input::ImuSample Struct Reference

Optional inertial measurement unit sample. More...

#include <gamepad.hpp>

Public Attributes

float gyro_x = 0.0F
 Radians per second.
float gyro_y = 0.0F
 Radians per second.
float gyro_z = 0.0F
 Radians per second.
float accel_x = 0.0F
 Meters per second squared.
float accel_y = 0.0F
 Meters per second squared.
float accel_z = 0.0F
 Meters per second squared.
std::uint64_t timestamp_us = 0
 Host timestamp in microseconds.

Detailed Description

Optional inertial measurement unit sample.

Definition at line 158 of file gamepad.hpp.

Member Data Documentation

◆ accel_x

float apollo::input::ImuSample::accel_x = 0.0F

Meters per second squared.

Definition at line 162 of file gamepad.hpp.

◆ accel_y

float apollo::input::ImuSample::accel_y = 0.0F

Meters per second squared.

Definition at line 163 of file gamepad.hpp.

◆ accel_z

float apollo::input::ImuSample::accel_z = 0.0F

Meters per second squared.

Definition at line 164 of file gamepad.hpp.

◆ gyro_x

float apollo::input::ImuSample::gyro_x = 0.0F

Radians per second.

Definition at line 159 of file gamepad.hpp.

◆ gyro_y

float apollo::input::ImuSample::gyro_y = 0.0F

Radians per second.

Definition at line 160 of file gamepad.hpp.

◆ gyro_z

float apollo::input::ImuSample::gyro_z = 0.0F

Radians per second.

Definition at line 161 of file gamepad.hpp.

◆ timestamp_us

std::uint64_t apollo::input::ImuSample::timestamp_us = 0

Host timestamp in microseconds.

Definition at line 165 of file gamepad.hpp.


The documentation for this struct was generated from the following file: