mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 14:00:34 +08:00
Added LPE to testing, fix LPE logging, add SENS_EN_SF0X
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user