mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
cleanup
This commit is contained in:
parent
790b60f027
commit
48eaa7513a
@ -11,7 +11,6 @@
|
||||
# @output Motor4 MC motor back right
|
||||
# @output Motor5 Forward thrust motor
|
||||
# @output Servo1 Ailerons (single channel)
|
||||
# @output Servo1 Aileron
|
||||
# @output Servo2 Elevator
|
||||
# @output Servo3 Rudder
|
||||
#
|
||||
|
||||
@ -209,10 +209,6 @@ void Sih::sensor_step()
|
||||
const float dt = (now - _last_run) * 1e-6f;
|
||||
_last_run = now;
|
||||
|
||||
if (fabs(dt - 0.004f) > 1e-6f) {
|
||||
PX4_WARN("weird dt: %f", (double) dt);
|
||||
}
|
||||
|
||||
read_motors(dt);
|
||||
|
||||
generate_force_and_torques(dt);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user