Jonathan Hudson
6b3fb82c54
replace WP toggle with discrete commands
2021-07-07 10:26:42 +01:00
Jonathan Hudson
562fc0017a
reimplement stick mission load as toggle; update RC control images and documentation ( #7204 )
2021-06-28 15:48:26 +01:00
Jonathan Hudson
9c6bd6a95f
fix WP MSP regression from #6612
2021-06-26 12:23:46 +01:00
Alexander van Saase
156c947d3c
separate function for only roll/pitch stick deflection
2021-06-09 14:33:34 +02:00
Alexander van Saase
78a839e233
remove level trim deadband setting
2021-06-09 11:13:19 +02:00
Alexander van Saase
81fdf6d5ae
Add sticks restriction to continuous trim
2021-06-05 11:31:16 +02:00
Michel Pastor
fc0e5e2741
Get setting default values from settings.yaml ( #6595 )
...
* Get setting default values from settings.yaml
* settings: Make the generator more robust and versatile
- Add support for resolving types and values in multiple compilers
- Add support for resolving types and values in clang 10
- Add support for using the host compiler for resolving the settings
This allows us to run the generator for the unit tests, since they now
need the settings_generated.h file to get the default setting values
from it.
* Fix regexps in settings.rb and add execution bit
* Fix git revision issue
* Fix issue with settings validation
* Fix issue with targets not defining USE_MAG
Co-authored-by: Alberto García Hierro <alberto@garciahierro.com>
2021-04-07 17:48:09 +02:00
Harry Phillips
99a8084125
Bump parameter group version, add default value
2021-04-04 22:46:22 +01:00
Michel Pastor
0cb3ce4ede
Lower pos_hold_deadband minimum and default ( #5505 )
2020-03-21 23:07:02 +01:00
Pawel Spychalski (DzikuVx)
af5b36b0fe
Unify protocol scaling handling
2020-02-23 20:32:22 +01:00
Pawel Spychalski (DzikuVx)
0ffcac2974
Correctly handle reversible motors in mixer
2020-02-23 19:31:16 +01:00
Pawel Spychalski (DzikuVx)
fd806fa072
Untangle some logic with STATE FIXED_WING and disable some flight modes for ROVERS and BOATS
2020-02-20 11:18:59 +01:00
Pawel Spychalski (DzikuVx)
f480bcf463
Rename settings previously responsible for reversible motors handling
2020-02-19 14:52:54 +01:00
Pawel Spychalski (DzikuVx)
7e47809c9a
Rename FEATURE_3D to FEATURE_REVERSIBLE_MOTORS
2020-02-19 14:01:23 +01:00
Pawel Spychalski (DzikuVx)
cfb65fb064
Introduce new states for new platforms
2020-02-18 20:46:33 +01:00
Pawel Spychalski (DzikuVx)
339b1047e0
Add new stateds
2020-02-18 17:39:38 +01:00
Pawel Spychalski (DzikuVx)
dd5d586a67
Rename state FIXED_WING to AIRPLANE_ROVER_BOAT that is closer to reality
2020-02-18 15:10:16 +01:00
Konstantin (DigitalEntity) Sharlaimov
0246dd7c31
Fix fixed-wing auto-arming
2019-07-09 20:57:22 +02:00
Alberto García Hierro
ca3f21e7a1
Add support for emergency arming
...
Enabling and disabling the arming switch 10 times during a 10s
window will override checks for level, navigation unsafe, compass
not calibrated and some hardware failures (it will only enforce
gyro and acc to be working).
FLASH +224, RAM +24
Fixes #4489 and #4515
2019-05-26 12:01:05 +01:00
Paweł Spychalski
b643a83412
On MR allow airmode to be sticky and activated by throttle threshold ( #4634 )
...
* on MR allow airmode to be sticky and activated by throttle threshold
* fix bug
* make airmode activation threshold configurable
* Keep arimore activation flag as state
* Review changes
2019-04-29 22:23:29 +02:00
Pawel Spychalski (DzikuVx)
6ea467bd4c
Remove sticks arming
2019-04-24 21:08:12 +02:00
Pawel Spychalski (DzikuVx)
1d3d6f5121
MOTOR_STOP removed from Multirotors
2019-04-24 14:11:20 +02:00
Alberto García Hierro
d524d8c8cc
Refactor handling of RC input data
...
- Remove globals rcData and rcRaw
- Use accesor functions to retrieve RX input data
- Refactor rx.c to use an array of structs instead of multiple arrays
- Drop the RC Preview menu from CMS. Implementing this without
globals requires significant flash and the usefulness of this menu
is questionable. If we get complains, we can add it back later.
Flash usage goes down ~250 bytes due to the removed menu. Final
binary is mostly unaffected, since LTO is able to inline the new
accessor functions in most cases.
2019-03-10 21:50:05 +00:00
Pawel Spychalski (DzikuVx)
fbeddfb6a6
Merge remote-tracking branch 'origin/development' into dzikuvx-f7-speedup
2019-02-09 19:59:49 +01:00
Pawel Spychalski (DzikuVx)
ab2b05bab1
some extra speedups
2019-02-02 22:33:12 +01:00
Konstantin Sharlaimov (DigitalEntity)
f8017b9d35
[CALIBRATION] Separate library for zero calibration with variance calculation (time based, with retry); Migrate GYRO and ACC to new calibration; Implement movement threshold for acc calibration to discard shaky measurements
2019-01-27 13:10:47 +01:00
Jonathan Hudson
20c00aadd6
set switch_disarm_delay / .switchDisarmDelayMs default to 250ms for better safety
2018-06-29 22:09:26 +01:00
Michel Pastor
ce8621ee8f
Add battery profiles feature
2018-06-13 15:58:38 +02:00
Konstantin (DigitalEntity) Sharlaimov
d452344c04
Remove MIDRC setting
2018-06-03 20:15:57 +02:00
Konstantin Sharlaimov (DigitalEntity)
8b9d6e092b
Refactor arming; Add configurable switch-disarm delay
2018-04-25 18:27:02 +10:00
Michel Pastor
87566026f7
Improve readability of checkStickPosition()
2018-03-26 15:22:39 +02:00
Michel Pastor
5a4faf5a97
Add feature for enabling/disabling profile selection by TX stick command
2018-02-24 17:44:52 +01:00
giacomo892
fab16951d5
sticks > pos_hold_deadband cleanup
2018-02-08 11:24:11 +01:00
Konstantin (DigitalEntity) Sharlaimov
b240b7571c
Decoupling failsafe and RX code; Making RX code independent of RX provider
2017-09-12 22:43:16 +10:00
Konstantin Sharlaimov (DigitalEntity)
6067f2a869
OSD/CMS/DisplayPort refactoring and some catch-up with BF
2017-08-20 23:57:06 +10:00
Konstantin Sharlaimov (DigitalEntity)
c03c7d6bce
Add bitarray support; Migrage rcModeActivationMask to bitArray
2017-08-08 23:14:10 +10:00
Konstantin Sharlaimov
7e0184c439
Merge pull request #1868 from iNavFlight/de_falcore_default_config
...
FALCORE default config update
2017-07-15 18:36:04 +10:00
Konstantin Sharlaimov (DigitalEntity)
9b090b88b0
More settings
2017-07-05 22:16:03 +10:00
Martin Budden
fd7d770fb1
Whitespace tidy
2017-07-05 07:42:07 +01:00
Konstantin Sharlaimov (DigitalEntity)
e1865ef699
Fix bug with non-working switch-ARM if using mode_range_operator=AND
2017-05-26 01:24:49 +10:00
Konstantin Sharlaimov (DigitalEntity)
6944eeda10
Fix stick pos calcuation and OSD init order to make sure OSD displayport is initialized first
2017-04-29 15:49:37 +10:00
Konstantin Sharlaimov (DigitalEntity)
08be646c9a
Unify stick combo processing
2017-04-16 17:54:15 +10:00
Konstantin Sharlaimov (DigitalEntity)
d3147b71e8
Log last disarm reason to blackbox, report via LTM
2017-04-05 14:49:20 +10:00
Konstantin Sharlaimov (DigitalEntity)
4cdcd71fc5
Limit RC command processing rate
2017-04-04 23:42:40 +10:00
Konstantin Sharlaimov (DigitalEntity)
c9b161593b
Remove failsafe_kill_switch setting; Replace with new KILLSWITCH box mode
2017-03-29 10:08:22 +10:00
Konstantin Sharlaimov (DigitalEntity)
b0dd35417c
Initial cut on storing waypoints in configuration. Not supported on F1 targets
2017-02-08 23:38:37 +10:00
Martin Budden
ec61801c23
Renamed useRcControlsConfig to updateUsedModeActivationConditionFlags
2017-02-08 08:19:18 +00:00
Martin Budden
5fcd222cc7
Split time declarations out of system.h into time.h
2017-02-07 17:01:02 +00:00
Konstantin Sharlaimov (DigitalEntity)
cc2d7b01de
Move 3d_deadband_throttle to rcControlsConfig
2017-02-01 01:02:19 +10:00
Konstantin Sharlaimov (DigitalEntity)
6802606724
Merge remote-tracking branch 'origin/development' into failsafe-stage1-mods
2017-01-29 19:17:42 +10:00