Sensors
Defined in: tick_input.rs:80
pub struct Sensors { pub magnetometers: Vec<MagneticFieldBody>, pub gyroscopes: Vec<AngularVelocityBody>, pub star_trackers: Vec<AttitudeBodyToInertial>,}Sensor readings evaluated at the current tick instant.
Each field is a Vec — empty means no sensor of that type is
configured. Index order is stable (config definition order) and
does not change during a simulation run.
Fields
Section titled “Fields”magnetometers
Section titled “magnetometers”magnetometers: [Vec<MagneticFieldBody>](https://doc.rust-lang.org/std/vec/struct.Vec.html)
Magnetometer readings. Pre-evaluated once per tick.
gyroscopes
Section titled “gyroscopes”gyroscopes: [Vec<AngularVelocityBody>](https://doc.rust-lang.org/std/vec/struct.Vec.html)
Gyroscope readings.
star_trackers
Section titled “star_trackers”star_trackers: [Vec<AttitudeBodyToInertial>](https://doc.rust-lang.org/std/vec/struct.Vec.html)
Star tracker readings.
Methods
Section titled “Methods”empty()
Section titled “empty()”fn empty() -> Self
Construct an empty set of readings (no sensors configured).