Peter Barker
9bb1224cef
Sub: use scheduler ticks in place of mainloop_count
7 years ago
Peter Barker
044bc9adf0
Sub: tell PerfInfo the configured loop rate
7 years ago
Randy Mackay
81d3a3106e
Sub: global-pos-int uses system time
...
Also takes vel directly from EKF instead of inertial nav shim
7 years ago
Peter Barker
ecb805768b
Sub: remove shims used in scheduler table
7 years ago
Andrew Tridgell
58dfca8ccd
Sub: pass loop rate to perf_info
7 years ago
Michael du Breuil
02a660e0ce
Sub: Move battery logging to AP_BattMonitor
7 years ago
Randy Mackay
8d344ef7b4
Sub: removed defaults for PIDs moved to AC_PosControl
7 years ago
Randy Mackay
6a701b2412
Sub: move pos-control pids to pos-control library
7 years ago
Randy Mackay
cef50d8a30
Sub: velocity pi moved to position control library
7 years ago
Michael du Breuil
2b81058ca1
Sub: Support AP_BattMonitor_Params
7 years ago
Andrew Tridgell
c1504dadab
Sub: use AP_FEATURE_BOARD_DETECT
7 years ago
ChrisBird
0fb679b2b2
Sub: Separate max ascent and descent speeds
...
This is to match a change made to Copter.
It might be relevant to sub in that users may wish to have asymmetrical descent and ascent rates.
New parameters named:
PILOT_SPEED_UP (technically renamed PILOT_VELZ_MAX)
PILOT_SPEED_DN
Removed parameter PILOT_VELZ_MAX (technically renamed to PILOT_SPEED_UP).
Modes impacted:
ALT_HOLD
CIRCLE
POSHOLD
Update a section in GUIDED mode but I don't think it is ever used but update just in case.
It will use the PILOT_SPEED_UP for ascending max velocity. For down it will check if
it is 0, if so then it will PILOT_SPEED_UP instead, if non zero it will use PILOT_SPEED_DN.
This retains current behavior and gives the flexibility to change it if desired.
The above behavior is less of a concern for Sub but to keep it consistent its been implemented it the same way.
7 years ago
dheideman
8b0b96d56e
Sub: Add servo toggle button function
7 years ago
dheideman
8fec2cbea3
Sub: Add momentary servo button function
7 years ago
Daniel Heideman
963d6a7739
Sub: Add momentary relay button function
7 years ago
Peter Barker
ed82421f27
Sub: remove argument to check()
...
Also, fence_check was renamed to check()
7 years ago
Peter Barker
b25a81e09d
Sub: AP_AHRS no longer requires GPS in constructor
7 years ago
Peter Barker
268b8799d0
Sub: stop setting home distance in fence
7 years ago
Andrew Tridgell
4c9f48244e
Sub: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
7 years ago
Peter Barker
4c2a750f06
Sub: fence no longer requires AP_InertialNav
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
63639a0838
Sub: Guided_PosVel mode: reject destination if outside the fence
...
Also: log guided destination and velocity and rename a variable to pos_neu_cm to better reflect the meaning
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
9f6342a1d1
Sub: Move some common functions to AP_Math (NFC)
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
0404d3588d
Sub: Use DEGX100 define instead of hardcoded value (NFC)
7 years ago
Peter Barker
9040bb5f97
Sub: tighten type of result variable in handleMessage
7 years ago
Patrick José Pereira
b724884344
Sub: Remove unnecessary cast in init_rc_out
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Peter Barker
7aaf25afd3
ArduSub: support for units on fields
7 years ago
Randy Mackay
f01b483657
Sub: move barometer_accumulate to sensors.cpp
...
non-functional change
7 years ago
Andrew Tridgell
b16ae19bce
Sub: use cork/push wrapper
7 years ago
Peter Barker
fc3721c123
Sub: add average and stddev time to SCHED_DEBUG output
7 years ago
Peter Barker
901dc46708
Sub: use AP::PerfInfo library
7 years ago
Peter Barker
6d2b0ecc82
Sub: AP_Camera uses GPS singleton
7 years ago
Peter Barker
2fc9b3b5f4
Sub: use gps singleton for GCS functions
7 years ago
Jacob Walser
f28c58ce3b
Sub: Update release notes for 3.5.2
7 years ago
André Kjellstrup
00484073b9
Sub: Option to trig by distance only when in AUTO mode
7 years ago
Peter Barker
c436235b05
Sub: remove defaulting of report value in rc_calibration_checks
7 years ago
Peter Barker
450c8f4f3a
Sub: remove redundant call to ins_checks
...
pre_arm_checks in AP_Arming already makes this call
7 years ago
Peter Barker
7961a8f5c8
Sub: rc calibration checks are called by AP_Arming
7 years ago
dheideman
99f63d63e8
Sub: Add joystick button functions for relays 3 & 4
7 years ago
Peter Barker
6d32fb7f2a
Sub: call ins's periodic function
7 years ago
Jacob Walser
eabc608b2e
Sub: cleanup unused variable
7 years ago
Jacob Walser
1998cf93d2
Sub: JS_LIGHTS_STEP -> JS_LIGHTS_STEPS
7 years ago
Jacob Walser
b7e367e21d
Sub: always neutralize inputs during pilot input failsafe
7 years ago
Jacob Walser
fb2e87032d
Sub: use configured rc input range for lights input instead of hard coded values
7 years ago
dheideman
4e1c7fff37
Sub: Ignore input hold button if disarmed
7 years ago
dheideman
69be1725b6
Sub: Disable input hold on disarm
7 years ago
Jacob Walser
15658f1526
Sub: rework camera tilt input and slew limiting
7 years ago
Jacob Walser
e8326ef120
Sub: remove manual control button debounce timer
...
This was a really long time for a debounce, and
this code belongs to the program actually polling for input.
7 years ago
Jacob Walser
bc0827ffd7
Sub: force GND_EXT_BUS at boot for Pixhawk 1 and 2
7 years ago
Andrew Tridgell
aeb2a628c4
Sub: fix for AP_Motors API change
7 years ago
dheideman
4ed02c3c94
Sub: Change input hold announcements for enable/disable
7 years ago