Added LPE to testing, fix LPE logging, add SENS_EN_SF0X

This commit is contained in:
James Goppert
2016-04-14 18:14:22 -04:00
parent 2527a88042
commit 372de3fca9
4 changed files with 73 additions and 47 deletions
@@ -651,9 +651,11 @@ void AttitudeEstimatorQ::task_main()
est.vibe[2] = _voter_accel.get_vibration_offset(est.timestamp, 2);
/* the instance count is not used here */
int est_inst;
//int est_inst;
/* publish to control state topic */
orb_publish_auto(ORB_ID(estimator_status), &_est_state_pub, &est, &est_inst, ORB_PRIO_HIGH);
// TODO handle attitude states in position estimators instead so we can publish all data at once
// or we need to enable more thatn just one estimator_status topic
// orb_publish_auto(ORB_ID(estimator_status), &_est_state_pub, &est, &est_inst, ORB_PRIO_HIGH);
}
}
}
+10
View File
@@ -2871,6 +2871,16 @@ PARAM_DEFINE_INT32(RC_RSSI_PWM_MIN, 2000);
*/
PARAM_DEFINE_INT32(SENS_EN_LL40LS, 0);
/**
* Enable sf0x driver
*
* @reboot_required true
*
* @boolean
* @group Sensor Enable
*/
PARAM_DEFINE_INT32(SENS_EN_SF0X, 0);
/**
* Set the minimum PWM for the MAIN outputs
*