mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
fixed rebasing issues
This commit is contained in:
@@ -357,14 +357,6 @@ void Ekf2::task_main()
|
||||
if(range_finder_updated) {
|
||||
orb_copy(ORB_ID(distance_sensor), _range_finder_sub, &range_finder);
|
||||
}
|
||||
// Use the control model data to determine if the motors are armed as a surrogate for an on-ground vs in-air status
|
||||
// TODO implement a global vehicle on-ground/in-air check
|
||||
orb_check(_control_mode_sub, &control_mode_updated);
|
||||
|
||||
if (control_mode_updated) {
|
||||
orb_copy(ORB_ID(vehicle_control_mode), _control_mode_sub, &vehicle_control_mode);
|
||||
_ekf->set_arm_status(vehicle_control_mode.flag_armed);
|
||||
}
|
||||
|
||||
// in replay mode we are getting the actual timestamp from the sensor topic
|
||||
hrt_abstime now = 0;
|
||||
|
||||
@@ -1859,7 +1859,6 @@ int sdlog2_thread_main(int argc, char *argv[])
|
||||
log_msg.body.log_AIRS.air_temperature_celsius = buf.airspeed.air_temperature_celsius;
|
||||
LOGBUFFER_WRITE_AND_COUNT(AIRS);
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
|
||||
/* --- ESCs --- */
|
||||
if (copy_if_updated(ORB_ID(esc_status), &subs.esc_sub, &buf.esc)) {
|
||||
|
||||
Reference in New Issue
Block a user