40     float max_change = 
slew_rate * 0.01f * dt;
    49         printf(
"choke:%u starter:%u ignition:%u\n",
    62         throttle_demand = 0.1;
    74         if (throttle_demand > 0.2) {
    75             printf(
"too much throttle to start: %.2f\n", throttle_demand);
    79                 printf(
"Engine started\n");
    86         if (starter_time_us > 3000*1000UL && !
overheat) {
    88             printf(
"Starter overheat\n");            
    97         throttle_demand = 0.01;
   109         printf(
"Engine stopped\n");
 
int printf(const char *fmt,...)
union SITL::ICEngine::state state
float update(const struct Aircraft::sitl_input &input)
const uint8_t throttle_servo
union SITL::ICEngine::state last_state
const int8_t ignition_servo
float constrain_float(const float amt, const float low, const float high)
const int8_t starter_servo