Peter Barker
8bc96a2e13
Copter: use compass singleton for logging
7 years ago
Peter Barker
a7a6cfa99f
Copter: correct comment
7 years ago
Peter Barker
70d159cb38
Copter: raise EKF failure even if USB is connected
...
This will let EKF go bad if your PixHawk is connected to your laptop.
This doesn't seem to be a problem for the other vehicles.
This also allows the EKF to go bad in-flight if you happen to have
connected (against AP's recommendations) your companion computer to your
flight controller via USB. Since people do this, it is better to have
the checks than not.
7 years ago
Peter Barker
078d90132c
Copter: use AP_RTC
...
Co-authored-by: patrickelectric@gmail.com
Copter: AP_GPS now sets the system time directly
Copter: use AP_RTC for mission delays
Copter: Remove ap_t bits counter (Patrick José Pereira)
Change bits in ap_t to bool and add a static assert
7 years ago
Peter Barker
e3ddf7dadd
Copter: rename SPRAYER-enabled-define to SPRAYER_ENABLED
7 years ago
Peter Barker
6dd9f50f7c
Copter: move try_send_message handling of RC_CHANNELS up
7 years ago
Peter Barker
04885b127c
Copter: GPS now logs its own data
7 years ago
Peter Barker
2d31a7b318
Copter: remove check for enabled in for Log_Write_Beacon
...
The DataFlash library does this now
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
d633ba8c46
Copter: Add option to disable RPM module
7 years ago
Michael du Breuil
291531e056
Copter: Support new battery failsafes
7 years ago
kozinalexey
8b5f5a5fa0
Copter: fix camera relay trigger
...
camera.update() for automatic shots always called from
void Copter::update_GPS(void), after gps read
copter specific bug
7 years ago
Peter Barker
2749ee9060
Copter: use ins singleton
7 years ago
Randy Mackay
4a74b1b5e5
Copter: replace NTUN with PSC logging
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
bc86ca0e3c
Copter: simplify Log_Write_Proximity
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
c1246c59e0
Copter: disable scheduler tasks for optional features
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
bbd1aa1cab
Copter: Improve interoperation of AC_AVOID_ENABLED and BEACON_ENABLED
7 years ago
night-ghost
adcc309f15
Copter: allow AP_Stats to be optional
7 years ago
Peter Barker
b8e1f03599
Copter: add define for disabling beacon
7 years ago
Peter Barker
9b440d6b25
Copter: add option to disable SmartRTL mode
...
Saves 5.5k of Flash
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
def098bd8a
Copter: obey ADSB_ENABLED == DISABLED
7 years ago
Peter Barker
730adc3f7c
Copter: eliminate perf_update scheduler table shim
7 years ago
Andrew Tridgell
f06fdf330e
Copter: use get_last_loop_time_s() for G_Dt
7 years ago
Andrew Tridgell
e0de4bccdf
Copter: use filtered loop time
7 years ago
Peter Barker
de56ae56e1
Copter: pass log-performance-bit at init time rather than update time
7 years ago
Peter Barker
bfc373aeff
Copter: move logging of PM messages to AP_Scheduler
7 years ago
Peter Barker
375911cd7c
Copter: move PERF: statustext sending into AP_Scheduler
7 years ago
Peter Barker
80a3d63264
Copter: use AP_Scheduler's loop() function
7 years ago
Peter Barker
7f69c5d26d
Copter: use scheduler ticks in place of mainloop_count
7 years ago
Peter Barker
bf6a2b8bb5
Copter: tell PerfInfo the configured loop rate
7 years ago
murata
c31c2a4cf1
Copter: optionalize the winch
7 years ago
Peter Barker
40d74584ac
Copter: remove shims used in scheduler
7 years ago
Andrew Tridgell
daf35f7a30
Copter: pass loop rate to perf_info
7 years ago
Andrew Tridgell
af4f0c29ba
Copter: enable TMODE (ToyMode) support
...
this is for the skyviper button based transmitter control
7 years ago
Andrew Tridgell
15166eff2e
Copter: enable temperature calibration library
7 years ago
Andrew Tridgell
1f76f69d80
Copter: implement per-motor compass compensation
7 years ago
Randy Mackay
2d23e1f7c7
Copter: rename flightmode_ objects to mode_
7 years ago
Peter Barker
5d33cf08e1
Copter: eliminate calc_home_distance_and_bearing
...
Calling update_simple_mode_bearing calls get-heading
rather than the other way around
This will have the advantage of not calculating home bearing
when we stop calling update_simple_mode_bearing unnecesarily
7 years ago
Peter Barker
ef1489e87a
Copter: eliminate mode_requires_gps
7 years ago
Peter Barker
9c60c1de58
Copter: FlightMode - convert SMARTRTL flight mode
7 years ago
Peter Barker
527a536b78
Copter: FlightMode - remove function parameters
...
Use current control_mode in place of parameters
Once conversion is complete these functions will disappear
7 years ago
Randy Mackay
9a03ba1bfb
Copter: move barometer_accumulate to sensors.cpp
...
non-functional change
7 years ago
Peter Barker
04c9e966e0
Copter: use AP::PerfInfo library
7 years ago
Peter Barker
c7216a2740
Copter: call ins periodic function
7 years ago
Randy Mackay
787954fa37
Copter: integrate winch library
...
fixes after peer review:
rename winch-disable to winch-relaxed
add DO_WINCH to do-verify
winch release-length accepts rate
7 years ago
Randy Mackay
44a436642b
Copter: complete rename to SmartRTL
...
Also fix parameter description for CH7_OPT
8 years ago
squilter
4b57a4a231
Copter: rename SafeRTL to SmartRTL
8 years ago
squilter
ba0e08552f
Copter: add SafeRTL flight mode
8 years ago
squilter
00ace08b54
Copter: minor formatting fixes
8 years ago
Peter Barker
30fac9160e
Copter: mavlink PERF messages also spit out average and standard deviation
8 years ago
Peter Barker
02a590024d
Copter: base loop time remaining on variable loop rate
8 years ago