STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
world_t Struct Reference
Collaboration diagram for world_t:
[legend]

Public Attributes

fake_regs_t imu
fake_regs_t highg
fake_baro_t baro
sensors_core_t core
fake_gnss_t gps
gnss_core_t gnss
uint32_t next_gps_us
uint32_t next_pps_us
unsigned n_gnss
uint32_t chunk_start_ms
uint32_t sealed_before_stall_ms
bool stall_seen
card_t card
emmc_log_t log
emmc_log_chunk_t chunks [4]
uint8_t scratch [BS]
flight_state_t state
uint32_t now
uint32_t next_imu
uint32_t next_highg
uint32_t edge_imu
uint32_t edge_highg
uint32_t next_service
rec_t * produced
unsigned n_produced
unsigned n_type [3]
uint32_t first_t [3]
uint32_t last_t [3]
uint32_t backwards [3]
unsigned appended
unsigned refused
faults_t faults

Detailed Description

Definition at line 222 of file flight_e2e.c.

Member Data Documentation

◆ appended

unsigned world_t::appended

Definition at line 242 of file flight_e2e.c.

Referenced by sink().

◆ backwards

uint32_t world_t::backwards[3]

Definition at line 241 of file flight_e2e.c.

Referenced by sink().

◆ baro

fake_baro_t world_t::baro

Definition at line 224 of file flight_e2e.c.

Referenced by set_chips(), and world_init().

◆ card

◆ chunk_start_ms

uint32_t world_t::chunk_start_ms

Definition at line 230 of file flight_e2e.c.

Referenced by sink().

◆ chunks

emmc_log_chunk_t world_t::chunks[4]

Definition at line 235 of file flight_e2e.c.

Referenced by world_init().

◆ core

sensors_core_t world_t::core

Definition at line 225 of file flight_e2e.c.

Referenced by check_fault_imu_silent(), fly(), and world_init().

◆ edge_highg

uint32_t world_t::edge_highg

Definition at line 238 of file flight_e2e.c.

Referenced by fly().

◆ edge_imu

uint32_t world_t::edge_imu

Definition at line 238 of file flight_e2e.c.

Referenced by fly().

◆ faults

faults_t world_t::faults

Definition at line 243 of file flight_e2e.c.

Referenced by set_chips(), sink(), and world_init().

◆ first_t

uint32_t world_t::first_t[3]

Definition at line 241 of file flight_e2e.c.

Referenced by sink().

◆ gnss

gnss_core_t world_t::gnss

Definition at line 227 of file flight_e2e.c.

Referenced by check_gps(), fly(), and world_init().

◆ gps

fake_gnss_t world_t::gps

Definition at line 226 of file flight_e2e.c.

Referenced by check_gps(), fly(), and world_init().

◆ highg

fake_regs_t world_t::highg

Definition at line 223 of file flight_e2e.c.

Referenced by set_chips(), and world_init().

◆ imu

fake_regs_t world_t::imu

Definition at line 223 of file flight_e2e.c.

Referenced by set_chips(), and world_init().

◆ last_t

uint32_t world_t::last_t[3]

Definition at line 241 of file flight_e2e.c.

Referenced by sink().

◆ log

◆ n_gnss

unsigned world_t::n_gnss

Definition at line 229 of file flight_e2e.c.

Referenced by check_gps(), and sink().

◆ n_produced

unsigned world_t::n_produced

Definition at line 240 of file flight_e2e.c.

Referenced by check_emmc_stall(), check_fault_imu_silent(), check_gps(), and sink().

◆ n_type

unsigned world_t::n_type[3]

Definition at line 240 of file flight_e2e.c.

Referenced by check_emmc_stall(), check_fault_imu_silent(), and sink().

◆ next_gps_us

uint32_t world_t::next_gps_us

Definition at line 228 of file flight_e2e.c.

Referenced by fly(), and world_init().

◆ next_highg

uint32_t world_t::next_highg

Definition at line 238 of file flight_e2e.c.

Referenced by fly(), and world_init().

◆ next_imu

uint32_t world_t::next_imu

Definition at line 238 of file flight_e2e.c.

Referenced by fly(), and world_init().

◆ next_pps_us

uint32_t world_t::next_pps_us

Definition at line 228 of file flight_e2e.c.

Referenced by fly(), and world_init().

◆ next_service

uint32_t world_t::next_service

Definition at line 238 of file flight_e2e.c.

Referenced by fly(), and world_init().

◆ now

uint32_t world_t::now

Definition at line 238 of file flight_e2e.c.

Referenced by change_state(), fly(), service_card(), and sink().

◆ produced

rec_t* world_t::produced

◆ refused

unsigned world_t::refused

Definition at line 242 of file flight_e2e.c.

Referenced by sink().

◆ scratch

uint8_t world_t::scratch[BS]

Definition at line 236 of file flight_e2e.c.

Referenced by world_init().

◆ sealed_before_stall_ms

uint32_t world_t::sealed_before_stall_ms

Definition at line 231 of file flight_e2e.c.

Referenced by check_emmc_stall(), and sink().

◆ stall_seen

bool world_t::stall_seen

Definition at line 232 of file flight_e2e.c.

Referenced by check_emmc_stall(), and sink().

◆ state

flight_state_t world_t::state

Definition at line 237 of file flight_e2e.c.

Referenced by feedtwin.session.core.TankSim::_atmosphere_floor(), feedtwin.session.core.Session::_burnout_check(), feedtwin.session.core.TankSim::_chill(), feedtwin.session.core.TankSim::_chill_target(), feedtwin.session.core.TankSim::_collect(), feedtwin.session.core.TankSim::_dewar_load(), feedtwin.session.core.Session::_fire_notes(), feedtwin.session.core.TankSim::_gas_temperature_of(), feedtwin.session.core.Session::_integrate(), feedtwin.session.core.TankSim::_ledger(), feedtwin.session.core.Session::_loading(), feedtwin.session.core.Session::_notes(), feedtwin.session.core.TankSim::_one_step(), feedtwin.session.core.TankSim::_pressurant_floor(), feedtwin.session.core.TankSim::_settled(), feedtwin.session.core.TankSim::_specific_energy_at(), feedtwin.session.core.Session::_supply_press(), feedtwin.session.core.TankSim::_wanted(), feedtwin.session.core.BottleSim::advance(), feedtwin.session.core.TankSim::advance(), feedtwin.session.network_trace.NetworkTrace::append(), change_state(), feedtwin.session.core.Session::command_state(), feedtwin.session.core.TankSim::fill_line_flow(), fly(), feedtwin.session.core.TankSim::outlet_pressure(), feedtwin.session.core.Session::prime(), feedtwin.session.network_trace.NetworkTrace::record(), engine.control.robust_ddp.controller.RobustDDPController::reset(), feedtwin.session.core.Session::signals(), feedtwin.session.core.TankSim::skip_chill(), engine.control.robust_ddp.controller.RobustDDPController::step(), feedtwin.session.core.TankSim::take_back(), test_robust_ddp_actuation.TestActuation::test_compute_actuation_binary(), test_robust_ddp_actuation.TestActuation::test_compute_actuation_clamping(), test_robust_ddp_actuation.TestActuation::test_compute_actuation_pwm(), test_robust_ddp_safety_filter.TestSafetyFilter::test_filter_action_clamping(), test_robust_ddp_safety_filter.TestSafetyFilter::test_filter_action_safe(), test_robust_ddp_safety_filter.TestSafetyFilter::test_filter_action_unsafe_mr(), test_robust_ddp_safety_filter.TestSafetyFilter::test_filter_action_unsafe_ullage(), test_robust_ddp_safety_filter.TestSafetyFilter::test_find_best_safe_action(), and world_init().


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