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