SITL: name parameters being passed to ICEngine contructor

This commit is contained in:
Peter Barker 2019-02-08 18:39:30 +11:00 committed by Tom Pittenger
parent 6c09b268d8
commit badfd1d559
1 changed files with 12 additions and 1 deletions

View File

@ -104,7 +104,18 @@ protected:
float launch_time;
uint64_t launch_start_ms;
ICEngine icengine{2, 14, 12, 13, 100};
const uint8_t throttle_servo = 2;
const int8_t choke_servo = 14;
const int8_t ignition_servo = 12;
const int8_t starter_servo = 13;
const float slewrate = 100;
ICEngine icengine{
throttle_servo,
choke_servo,
ignition_servo,
starter_servo,
slewrate
};
float liftCoeff(float alpha) const;
float dragCoeff(float alpha) const;