Browse Source

HIL: allow for fast HIL attitude update in HIL_MODE_ATTITUDE

this runs it at the full loop rate
master
Andrew Tridgell 13 years ago
parent
commit
c056c4f0cb
  1. 2
      ArduCopter/ArduCopter.pde

2
ArduCopter/ArduCopter.pde

@ -1170,7 +1170,7 @@ static void read_AHRS(void) @@ -1170,7 +1170,7 @@ static void read_AHRS(void)
{
// Perform IMU calculations and get attitude info
//-----------------------------------------------
#if HIL_MODE == HIL_MODE_SENSORS
#if HIL_MODE != HIL_MODE_DISABLED
// update hil before dcm update
gcs_update();
#endif

Loading…
Cancel
Save