Tom Pittenger
81f8358705
Plane: restart landing by jumping to DO_LAND_START or decrement mission
...
only takes effect on mode change
10 years ago
squilter
583c087eca
Plane: update severities
10 years ago
Andrew Tridgell
019f2af930
Plane: fixed build with HIL disabled
10 years ago
ziltoid2
b9dd6b7aac
Plane: prevent delayed compass HIL data from disabling compass at system startup only
10 years ago
Tom Pittenger
204ff7b158
Plane: move statics into new struct
...
removed default case statements
10 years ago
Tom Pittenger
da8f4f9e95
Plane: reworked is_flying
...
add crash detection, allow disengage via param CRASH_DETECT
improved is_flying behavior
take off, landing and hard-landing improvements
add stillness check to is_flying and log it
minimum airspeed is determined ARSPD_FBW_MIN*0.75
10 years ago
Andrew Tridgell
f2c1010501
Plane: prevent mode switch changes changing WP tracking
...
this fixes a bug where a mode switch change during an AUTO mission
which does not change the flight mode would cause cross tracking to be
reset, so the plane will not correctly follow the desired track
Many thanks to Michael Du Breuil for the log that showed this bug
10 years ago
squilter
c24ba83fb1
Plane: init vehicle capabilities
10 years ago
Andrew Tridgell
6c07795b63
Plane: added HIL_SUPPORT define
...
disable HIL support on APM2 to save flash space
10 years ago
Andrew Tridgell
266857c595
Plane: avoid linking optflow on APM2
...
not used, just taking memory
10 years ago
Andre Kjellstrup
edc32092ce
Plane: Do not run long_failsafe during final or landing.
10 years ago
Andre Kjellstrup
9d525d4382
Plane: Do not run FailSafe if on final approach or landing.
...
A failsafe (Circle, RTL) would easily become a disaster if trigged
during approach or final.
10 years ago
Andrew Tridgell
4aac2c5c96
Plane: trigger OVERRIDE_CHAN in px4io
...
setup the MODESWITCH channel as our OVERRIDE_CHAN, allowing for
instant manual passthru in px4io when OVERRIDE_CHAN goes above 1750
This makes for faster switching, and avoids bugs where a still enabled
FMU channel disables override
10 years ago
Andre Kjellstrup
19aa7caad0
GCS_Failsafe: option to trigger only in AUTO mode.
10 years ago
Andrew Tridgell
bc6a52f8db
Plane: fixed handling of OVERRIDE_CHAN on arming
...
When arming we need to ensure that we don't enable any channels
otherwise PX4IO will think that FMU is active and will stop running
the internal RC mixer
10 years ago
Andrew Tridgell
47f4a5db10
Plane: try to load px4 mixer 10 times on boot
...
this allows for possible temporary failures
10 years ago
Randy Mackay
9ece826c28
Plane: Log_Write_Startup writes parameters
10 years ago
Grant Morphett
2c3cff7f84
Plane: Moving parameter logging to be after all systems have started
10 years ago
Andrew Tridgell
441d96c946
Plane: fixed APM1 build
10 years ago
Andrew Tridgell
b92c2409e4
Plane: added local millis() and micros() to reduce code size a bit
10 years ago
Andrew Tridgell
18c37935c9
Plane: convert from .pde to .cpp files
10 years ago
Randy Mackay
174c55b0af
Plane: add support for 4th mavlink channel
10 years ago
Andrew Tridgell
ff126db1d3
Plane: make GUIDED behaviour match copter
...
we now have to be in GUIDED mode to accept a new GUIDED WP. When
entering GUIDED mode start loitering about the current position
10 years ago
Andrew Tridgell
1a7d831327
Plane: support raw IMU logging
10 years ago
Tom Pittenger
1176146e06
Plane: fix compile warnings for unused functions
10 years ago
Randy Mackay
7e4dd9666c
Plane: fix serial manager integration
10 years ago
Randy Mackay
ab749f884f
Plane: integrate Serial Manager instance
10 years ago
Andrew Tridgell
dd1059cecf
Plane: added arm_motors() and disarm_motors() helper functions
10 years ago
Andrew Tridgell
b0cdf8952b
Plane: added HIL_MODE parameter
...
this allows for HIL with any firmware
10 years ago
Michael Day
b02098e19e
Plane: Make radio trim optional at ground start.
10 years ago
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
10 years ago
Andrew Tridgell
5175f21225
Plane: removed 1D accel calibration
10 years ago
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
10 years ago
Andrew Tridgell
64dfc68784
Plane: log mode on arming
...
this ensures the log is recorded with the right flight mode
10 years ago
Jonathan Challinger
4105edaa87
Plane: use hal.util soft_armed state
10 years ago
Andrew Tridgell
e0db5616a2
Plane: fixed HIL mode in plane
10 years ago
Andrew Tridgell
3edc1ea4db
Plane: tell arming if logging is available
10 years ago
Randy Mackay
ff2a31e3ae
Plane: compile error fix when mount disabled
10 years ago
Randy Mackay
3a1465c9d1
Plane: integrate SerialManager
...
call SerialManager init_console on startup
use SerialManager's set_block_writes_all
10 years ago
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
10 years ago
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
10 years ago
Robert Lefebvre
a2d73b42b9
Plane: Change Mode logging to use DataFlash library method.
10 years ago
Andrew Tridgell
674a7aa8d4
Plane: use set_skip_gyro_cal() in arming library
10 years ago
Dario Lindo Andres
0ea7a7a0cc
Plane: Corrected LOGGING_ENABLED
...
When we configure LOGGING_ENABLED to DISABLED code does not
compile. Now it works!
10 years ago
Andrew Tridgell
8f571f1225
Plane: make optflow available to AHRS
10 years ago
Andrew Tridgell
eb13395967
Plane: cleanup mavlink_system setup
10 years ago
priseborough
898ad7432b
Plane : Only build optical flow with PX4 board
...
Fixes SITL compile errors
10 years ago
priseborough
f047e35167
Plane : Enable optical flow by default if sensor is fitted
10 years ago
priseborough
9707989b9f
Plane : Preliminary optical flow integration
10 years ago
Andrew Tridgell
a519e0abb6
Plane: fix build with new mavlink repo
10 years ago