fixed rebasing issues

This commit is contained in:
Roman
2016-03-02 09:52:00 +01:00
committed by Lorenz Meier
parent 01ee608117
commit 5abd11c6b9
2 changed files with 0 additions and 9 deletions

View File

@@ -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;

View File

@@ -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)) {