mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 08:41:35 +08:00
fmu trims still not working
This commit is contained in:
committed by
Lorenz Meier
parent
bb52a77194
commit
0ccfcab010
@@ -783,7 +783,8 @@ PX4FMU::update_pwm_trims()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* copy the trim values to the mixer offsets */
|
/* copy the trim values to the mixer offsets */
|
||||||
_mixers->set_trims(values, _max_actuators);
|
unsigned n_out = _mixers->set_trims(values, _max_actuators);
|
||||||
|
PX4_INFO("set %d trims", n_out);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2299,6 +2300,7 @@ PX4FMU::pwm_ioctl(file *filp, int cmd, unsigned long arg)
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
_mixers->groups_required(_groups_required);
|
_mixers->groups_required(_groups_required);
|
||||||
|
PX4_INFO("loaded mixers \n%s\n", buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user