void booz_gps_impl_init(void) { booz_gps_skytraq.status = UNINIT; DEBUG_SERVO1_INIT(); }
static inline void main_init( void ) { mcu_init(); sys_time_init(); imu_init(); ahrs_aligner_init(); ahrs_init(); DEBUG_SERVO1_INIT(); // DEBUG_SERVO2_INIT(); mcu_int_enable(); }
static inline void main_init( void ) { mcu_init(); sys_time_register_timer((1./PERIODIC_FREQUENCY), NULL); imu_init(); ahrs_aligner_init(); ahrs_init(); DEBUG_SERVO1_INIT(); // DEBUG_SERVO2_INIT(); mcu_int_enable(); }
int main(void) { hw_init(); sys_time_init(); overo_link_init(); DEBUG_SERVO1_INIT(); while (1) { if (sys_time_periodic()) main_periodic(); main_event(); } return 0; }