Randy Mackay
7e4dd9666c
Plane: fix serial manager integration
2015-04-01 15:13:20 -07:00
Randy Mackay
ab749f884f
Plane: integrate Serial Manager instance
2015-04-01 14:59:26 -07:00
Andrew Tridgell
dd1059cecf
Plane: added arm_motors() and disarm_motors() helper functions
2015-03-17 10:12:00 +11:00
Andrew Tridgell
b0cdf8952b
Plane: added HIL_MODE parameter
...
this allows for HIL with any firmware
2015-03-13 22:52:56 +11:00
Michael Day
b02098e19e
Plane: Make radio trim optional at ground start.
2015-03-13 13:11:44 +11:00
Tom Pittenger
420e9e0d2e
Plane: added INITIAL_MODE which is the mode we boot up into.
...
This is useful when flying without a RX or if you have a RX that
outputs zeros without a detected Txmtr
2015-03-13 13:04:23 +11:00
Andrew Tridgell
5175f21225
Plane: removed 1D accel calibration
2015-03-12 12:50:29 +11:00
Andrew Tridgell
16cdf64d63
Plane: added CLI_ENABLED option
...
this disables using CLI by default, even if compiled in. This is
needed to make standard firmwares work well with companion computers
where the CLI may cause startup issues
2015-03-09 17:58:37 +11:00
Andrew Tridgell
64dfc68784
Plane: log mode on arming
...
this ensures the log is recorded with the right flight mode
2015-02-23 14:15:14 +11:00
Jonathan Challinger
4105edaa87
Plane: use hal.util soft_armed state
2015-02-11 20:57:27 +11:00
Andrew Tridgell
e0db5616a2
Plane: fixed HIL mode in plane
2015-02-10 09:53:30 +11:00
Andrew Tridgell
3edc1ea4db
Plane: tell arming if logging is available
2015-02-06 19:05:02 +11:00
Randy Mackay
ff2a31e3ae
Plane: compile error fix when mount disabled
2015-01-29 14:05:15 +11:00
Randy Mackay
3a1465c9d1
Plane: integrate SerialManager
...
call SerialManager init_console on startup
use SerialManager's set_block_writes_all
2015-01-29 14:05:15 +11:00
Randy Mackay
681d28838f
Plane: integrate mount frontend-backend restructure
...
initialise mount on startup
use mount.has_pan_control method
remove calls to unimplemented mount.configure_cmd
remove call to update_mount_type which is now handled by mount lib
2015-01-29 13:57:18 +11:00
Matthias Badaire
ee00302b62
Plane: Frsky telemtry change move parameter to init of the class
...
Parameter needs to be passed and use at the init of the class frsky telem
2015-01-22 16:49:39 +11:00
Robert Lefebvre
a2d73b42b9
Plane: Change Mode logging to use DataFlash library method.
2015-01-21 14:37:36 +09:00
Andrew Tridgell
674a7aa8d4
Plane: use set_skip_gyro_cal() in arming library
2015-01-20 19:47:59 +11:00
Dario Lindo Andres
0ea7a7a0cc
Plane: Corrected LOGGING_ENABLED
...
When we configure LOGGING_ENABLED to DISABLED code does not
compile. Now it works!
2015-01-17 10:42:11 +13:00
Andrew Tridgell
8f571f1225
Plane: make optflow available to AHRS
2015-01-03 14:16:34 +11:00
Andrew Tridgell
eb13395967
Plane: cleanup mavlink_system setup
2014-12-17 11:30:04 +11:00
priseborough
898ad7432b
Plane : Only build optical flow with PX4 board
...
Fixes SITL compile errors
2014-12-06 18:16:48 +11:00
priseborough
f047e35167
Plane : Enable optical flow by default if sensor is fitted
2014-12-06 18:16:46 +11:00
priseborough
9707989b9f
Plane : Preliminary optical flow integration
2014-12-06 18:16:45 +11:00
Andrew Tridgell
a519e0abb6
Plane: fix build with new mavlink repo
2014-11-18 11:20:08 +11:00
Evan Slatyer
c4093b159f
ArduPlane failsafes: remove rc_override_active
...
- rc_override_active is never set anywhere in the ArduPlane code; it's only used for Copter and Rover. Removing it significantly simplifies the failsafe code.
- modified code has been tested in SITL. Heartbeat and RC failures in AUTO, CRUISE, and RTL modes (covering the three cases in the failsafe check functions) have been simulated with FS_LONG_ACTN = 0, 1, and 2, FS_SHORT_ACTN = 0, 1, and 2, and FS_GCS_ENABL = 0, 1, and 2. In all cases the results are identical to those with the original code.
2014-11-14 11:35:27 +11:00
Andrew Tridgell
7f5cc97769
Plane: changed for new AP_Airspeed API
2014-11-13 21:12:59 +11:00
Andrew Tridgell
0a318d3a68
Plane: move delay callback setup to after compass and airspeed config
...
this ensure parameters sent on startup include compass settings and
airspeed offset
2014-11-08 15:40:35 +11:00
Andrew Tridgell
c494057c98
Plane: add support for generating a PX4 mixer for failsafe
...
this creates APM/MIXER.MIX which will be used if the FMU dies to
provide manual control over RC
2014-11-07 10:39:07 +11:00
Andrew Tridgell
538cf68005
Plane: removed unused function
2014-10-30 18:23:29 +11:00
Michael Day
01f611daa9
Plane: "Go around" operation. Assumes go around behavior follows land wp.
2014-10-24 21:51:46 +11:00
Andrew Tridgell
240e87dc2c
Plane: update for new AP_InertialSensor API
2014-10-24 12:10:38 +11:00
Andrew Tridgell
05c325a12a
Plane: display min as well as max loop delta_t
2014-10-22 18:27:12 +11:00
Andrew Tridgell
f87da51b37
Plane: prevent calling jump_to_landing_sequence() too often
2014-10-20 08:36:20 +11:00
Andrew Tridgell
71d786187e
Plane: make auto takeoff independent of compass
...
this solves a problem of poor initial yaw due to poor compass offsets
causing a takeoff to not be in the direction the plane is pointing. A
summed gyro is used until the GPS speed is above 5m/s for 2 seconds,
then the GPS heading corrected by the summed gyro error is used for L1
based navigation for the rest of the takeoff
2014-10-07 07:17:46 +11:00
Andrew Tridgell
c4b17b74e2
Plane: use handle_set_mode()
2014-10-01 14:19:20 +10:00
Andrew Tridgell
b6319a9d19
Plane: keep an estimate of the rangefinder altitude
...
only accept data when we have had 10 samples in a row in range at 50Hz
2014-08-27 17:14:19 +10:00
Andrew Tridgell
daa32f9b62
Plane: reset steering integrator on mode change and when not moving
...
this prevents an old integrator from causing problems on takeoff
2014-08-25 08:20:37 +10:00
Andrew Tridgell
f2f730ba9b
Plane: added FBWA_TDRAG_CHAN parameter
...
this allows for testing taildragger takeoffs in FBWA mode
2014-08-24 19:39:51 +10:00
Andrew Tridgell
15a7f63d7e
Plane: set GPS non-blocking
...
the new GPS driver only ever needs a non-blocking port
2014-08-19 10:08:17 +10:00
Randy Mackay
7d7272520e
Plane: use baro healthy()
...
Use baro last update time in place of healthy to determine whether HIL
sensor updates have started
2014-08-14 16:03:28 +09:00
Andrew Tridgell
5e997b20f6
Plane: move battery init to after parameter load
2014-08-09 22:50:14 +10:00
Andrew Tridgell
d54bb68270
Plane: prevent cross-track on some WP types
...
when finishing a takeoff or when a user forces a WP change don't do
any cross-tracking. This avoids a problem where the plane tries to
line up with a track completely unrelated to the track currently being
flown
2014-08-04 21:02:13 +10:00
Andrew Tridgell
b64ab07ca4
Plane: added STAB_PITCH_DN_CD parameter
...
this adds some down trim when at throttle levels below the trim
throttle in FBWA mode.
defaults to 200 centi-degrees. I may adjust based on flight tests
2014-08-03 17:17:20 +10:00
Matthias Badaire
57253fc2ee
Rover: Add SERIAL2_PROTOCOL for GCS and FRSky telemtry
...
This allows selection of protocol type on telem2. The default is MAVLink, but can be selected as FrSky protocol
2014-07-29 17:08:20 -07:00
Andrew Tridgell
d18c00d6fc
Plane: split up altitude handling
...
this creates altitude.pde for altitude handling, getting ready to add
terrain following
2014-07-24 21:50:19 +10:00
Andrew Tridgell
ea086fa79c
Plane: added MAV_CMD_DO_INVERTED_FLIGHT support
...
allows for mission control over inverted flight
2014-06-05 16:12:10 +10:00
Andrew Tridgell
1e2b644b1b
Plane: fix for HAL_GPIO_*
2014-06-02 10:42:36 +10:00
Andrew Tridgell
286479ee93
Plane: prevent stalled takeoff with bad TKOFF_TDRAG_SPD1
...
go to level pitch if pitch rises by 10 degrees
2014-05-23 07:30:59 +10:00
Andrew Tridgell
d87619c2f1
Plane: added 4 new parameters to control takeoff
...
this gives flexible control for taildragger takeoff
2014-05-23 07:30:58 +10:00