Randy Mackay
b3d20bb8aa
TradHeli: Drift mode to use heli manual throttle
11 years ago
Andrew Tridgell
97df2f64c9
Copter: use common available_memory()
11 years ago
Randy Mackay
d362bb45fd
Copter: move sensor init from setup(to init_ardupilot
...
This fixes a bug in which the external led was not being disabled if the
EPM was enabled (they share pins). The cause of the problem was the EPM
was being initialised before it's parameters had been loaded
11 years ago
Andrew Tridgell
edda76623f
Copter: updates for DataFlash API changes
11 years ago
Randy Mackay
59cea4b88c
Copter: remove CopterLED from main code
11 years ago
Randy Mackay
7ef04bb73b
Copter: rename nav_yaw to control_yaw
11 years ago
Andrew Tridgell
9c812d5028
Copter: added SERIAL2_BAUD and rename SERIAL3_BAUD to SERIAL1_BAUD
11 years ago
Andrew Tridgell
a49710f20e
Copter: added uartD support
...
this also brings GCS_Mavlink.pde closer to the plane implementation
11 years ago
Randy Mackay
a812ef4660
Copter: minor comment update for set_mode
11 years ago
Randy Mackay
8c9ab50ba2
TradHeli: restore CC_COMP and PIRO_COMP
11 years ago
Randy Mackay
527f05ddec
Copter: remove unused init_rate_controllers
11 years ago
Randy Mackay
633e91b7d4
Copter: initialise roll, pitch, yaw modes to stabilize
...
This fixes a bug in which the stabilize throttle controller would be
non-tilt compensated until the user switched to another flight mode and
back again
11 years ago
Randy Mackay
ae87759e6d
TradHeli: add THROTTLE_MANUAL_HELI
...
Move check_dynamic_flight to run as scheduled task
11 years ago
Randy Mackay
46118b59d7
TradHeli: integrate motor lib changes
11 years ago
Robert Lefebvre
c5b119288d
TradHeli: Add Motor Runup check to the auto_arming check.
11 years ago
Jason Short
371dc8c616
Copter: Drift Mode
...
Changes Toy mode declarations to Drift mode.
Requires GPS, Mode 2 transmitter
Drift mode mixes Roll, Pitch and Yaw into a single stick on mode two transmitters.
11 years ago
Randy Mackay
03831cdd28
Copter: GPS ok only when not glitching
...
Removed redundant checks to GPS_ok before setting flight mode to RTL
(this check is already performed inside the set_mode function)
Removed reset of home distance and bearing when GPS lock is lost, it now
remains at the last known value
11 years ago
Randy Mackay
e4d8c673f3
Copter: force gyro calibration on start-up
11 years ago
Andrew Tridgell
6b1f59372c
Copter: show git and firmware version in tlog
11 years ago
Jason Short
520a535c21
Copter: TOY mode updates
11 years ago
Andrew Tridgell
f6f6caafc8
Copter: int gyros on arm, not on first boot
...
this makes first boot much faster
11 years ago
Randy Mackay
7c7f235a97
Copter: ignore flight mode change requests if we're already in the desired mode
11 years ago
Andrew Tridgell
b69f08c03e
Copter: reduce timer speed to 500 on APM2
...
this reduces the cost of timer interrupts
11 years ago
Andrew Tridgell
64d34dc125
Copter: give UARTA 512 bytes
...
this reduces load by allowing more contiguous writes to the serial
buffers
11 years ago
Randy Mackay
9435eb4a15
Copter: remove unused flags and consolidate ap and ap_system
12 years ago
Randy Mackay
0c0de7c53e
Copter: simple mode speedup
...
super simple and simple mode headings separated
g.super_simple converted into a bitmap by flight mode switch position
12 years ago
Randy Mackay
a53d28e018
Copter: remove support for dmp ahrs
12 years ago
Randy Mackay
7cc8a9038f
Copter: move failsafe flags into structure
12 years ago
Randy Mackay
77b5cb5d3f
Copter: correct typo in error #define
12 years ago
Randy Mackay
284aa2217f
Copter: remove old comments
12 years ago
Andrew Tridgell
faddef69e6
Copter: fixed baud rates on APM1
12 years ago
Andrew Tridgell
46688454c4
Copter: removed flash_leds() calls
12 years ago
Andrew Tridgell
754bdbd25f
Copter: use new usb_connected() HAL function
12 years ago
Randy Mackay
98a2ffd65c
Copter: remove redundant reset_i_all from startup
12 years ago
Andrew Tridgell
7c62736e59
Copter: fixed Vcc
12 years ago
Randy Mackay
1abb439051
Copter: move acro's var initialisation to roll-pitch and yaw controller initialisation
12 years ago
Randy Mackay
942ba0476b
Copter: remove manual_attitude and throttle flags
12 years ago
Randy Mackay
b7579bb028
Copter: move init of global nav variables to set_nav_mode
12 years ago
Andrew Tridgell
979636936d
Copter: support reboot to bootloader
12 years ago
Randy Mackay
e985253f1a
Copter: integrate notify
12 years ago
Randy Mackay
7159c539e6
Copter: skip mode change checks when disarmed
...
Note: there will be a follow up commit to move the checks into a
separate function so they can be called just before arming
12 years ago
Randy Mackay
e32342163d
Copter: rename ACRO variables
12 years ago
Randy Mackay
39ab4f62ef
Copter: add SPORT mode
12 years ago
Randy Mackay
12da2d160a
Copter: set landing_complete flag to false on start-up
12 years ago
Randy Mackay
c3daf78340
Copter: reset loiter target when landed
12 years ago
Randy Mackay
7ea971d948
Copter: check set_mode for failure
...
Previously if set_mode failed it would return the copter to stabilize
mode. With this commit set_mode returns a true/false indicating whether
it succeeded or not so the caller can make the decision as to the
appropriate response which could be to stay in the current flight mode
or try another flight mode.
12 years ago
Randy Mackay
41ba4a1ed2
Copter: initialise ch7 and ch8 aux switches
...
This ensures that if you have simple mode or sonar attached to an
auxiliary switch it will be enabled or disabled according to the switch
immediately after start-up
12 years ago
Leonard Hall
64ce9b017d
Copter: Body frame ACRO upgrade
12 years ago
Randy Mackay
345924ddec
WPNav: replace LOITER_ACCEL_MAX with parameter
...
Also removed unused _lean_angle_max variable
12 years ago
Randy Mackay
022148ec0d
Copter: LAND only control horizontal position if we have GPS lock
12 years ago