Cliff Geerdes
3312d9892c
LP-76 write calculated PIDs to requested stab bank
2016-06-18 14:08:03 -04:00
Cliff Geerdes
2105a49ca9
LP-76 add UAV defaults and remove UAV inits
2016-06-18 14:08:03 -04:00
Laurent Lalanne
fee9f7e071
LP-339 Only allow switching to AutoTakeOff if disarmed state
2016-06-18 19:10:41 +02:00
Laurent Lalanne
2001e00b26
LP-325 Reduce AlwaysStabilizedWhenArmed accessory threshold.
2016-05-30 15:11:22 +02:00
Laurent Lalanne
afb32d3090
LP-72 Uncrustify after rebase
2016-05-25 13:51:40 +02:00
Cliff Geerdes
5d5968c186
LP-72 channelgroup dsmrcvrport nano
2016-05-25 13:51:37 +02:00
Lalanne Laurent
e79e44bb36
Merged in mindnever/librepilot/LP-309-accessory-switch-arming-timeout-fix (pull request #242 )
...
LP-309 accessory switch arming timeout fix
2016-05-15 22:26:37 +02:00
Vladimir Zidar
e12967e45a
Merge remote-tracking branch 'upstream/next' into LP-291_port_UAVOMSPBridge_from_dRonin
2016-05-15 22:16:47 +02:00
Lalanne Laurent
c6cf612bf4
Merged in corvusvcorax/librepilot/LP-295_OP-1900_fixedwingautotakeoff_rebasenext (pull request #234 )
...
LP-295 fixedwingautotakeoff
2016-05-15 18:42:53 +02:00
Vladimir Zidar
9571960939
LP-291 Fixed PID mapping
2016-05-11 14:54:10 +02:00
Vladimir Zidar
240b299a14
LP-291 Added MSP_PIDNAMES in good hope that mwosd will once implement it. Added pid tuning for Attitude PI. msp_set_pid() will now commit changes to same bank msp_send_pid() got data from. Implemented saving of settings bank data in disarmed state.
2016-05-11 13:35:40 +02:00
Vladimir Zidar
ce14c68a7f
LP-309 uncrustified
2016-05-11 12:05:44 +02:00
Vladimir Zidar
5205d95a8c
LP-309 skip edge detection if not transitioning from fully ARMED/DISARMED state
2016-05-11 12:02:36 +02:00
Vladimir Zidar
633d8d4969
LP-309 Arming should be done at armingInputLevel edge (crossing ARMED_THRESHOLD) instead of level to avoid unwanted re-arming after timeout.
2016-05-10 23:18:57 +02:00
Lalanne Laurent
c3f0d693b5
Merged in alessiomorale/librepilot/amorale/LP-150_slower_attittude_est_cc (pull request #239 )
...
LP-150 slower attittude estimation for CC/CC3D
2016-05-09 12:21:56 +02:00
Alessio Morale
e14e5febe2
LP-150 - prevent stab error conditions
2016-05-03 01:00:28 +02:00
Alessio Morale
6bd6ef5be1
LP-150 - Run attitude estimation at a configurable fraction of gyro sample rate for CC/CC3D
2016-05-03 01:00:06 +02:00
Laurent Lalanne
214ae849a2
LP-233 Add MultiShot 5 - 25µs pulses
2016-05-02 20:24:03 +02:00
Laurent Lalanne
2bda2e2901
LP-233 Simplify, same clock used for all OneShot modes
2016-05-02 20:24:03 +02:00
Laurent Lalanne
78be10ff28
LP-233 Multiply / factor instead of scale
2016-05-02 20:24:03 +02:00
Laurent Lalanne
49107e4007
LP-233 Increase Oneshot output resolution
2016-05-02 20:24:03 +02:00
Laurent Lalanne
32a6de6b79
LP-233 Support OneShot42
2016-05-02 20:24:03 +02:00
Vladimir Zidar
6e2ec8aecc
LP-291 Minor cosmetic change - added missing break in msp_send_alarms().
2016-04-26 11:56:58 +02:00
Vladimir Zidar
2a668d0615
LP-291 Fixed alert severity translation to MSP alarm levels.
2016-04-26 11:54:47 +02:00
Corvus Corax
e1394febb0
LP-295 fixed file headers for all touched files
2016-04-25 18:45:35 +02:00
Corvus Corax
bf80ede401
LP-295: fixed comments and formatting
2016-04-25 18:12:31 +02:00
Corvus Corax
47d2746fba
LP-295: uncrustify
2016-04-25 17:37:06 +02:00
Vladimir Zidar
7925f115df
LP-291 fix coptercontrol build. Oplink uavos are not available there.
2016-04-25 15:15:03 +02:00
Vladimir Zidar
35ccc6a169
LP-291 removed unused msp_send_ident() function
2016-04-25 14:58:46 +02:00
Vladimir Zidar
8dbf9e7d31
LP-291 Changed noise floor level to -110 to be closer to real noise level instead of absolute -127
2016-04-25 13:28:10 +02:00
Vladimir Zidar
84886cbce4
LP-291 fixed typo &acc2 should be &acc3
2016-04-25 12:55:23 +02:00
Vladimir Zidar
33eb434862
LP-291 add missing includes. Uncrustification.
2016-04-24 01:50:41 +02:00
Vladimir Zidar
69a51956e8
LP-291 msp_send_comp_gps(): calculate distance and direction to home using PositionState and TakeOffLocation, same way it is done in GCS.
2016-04-24 01:49:09 +02:00
Vladimir Zidar
fec3924ee0
LP-291 msp_send_altitude(): use PositionState instead of BaroSensor and add VelocityState to provide climb rate
2016-04-24 01:46:13 +02:00
Vladimir Zidar
bb0f15024b
LP-291 msp_send_channels(): include Accessory3
2016-04-24 01:41:42 +02:00
Vladimir Zidar
5d72a9671c
LP-291 msp_send_analog(): Use OPLinkStatus.RSSI if applicable
2016-04-24 01:38:30 +02:00
Corvus Corax
5285689541
Merge branch 'next' into corvuscorax/OP-1900_fixedwingautotakeoff_rebaserc6
2016-04-23 02:08:13 +02:00
Vladimir Zidar
26d63ee7ac
LP-291 fixed @author tags
2016-04-22 22:53:16 +02:00
Vladimir Zidar
f04d44de30
LP-291 Added MSP support to all boards (revolution, revonano, revoproto, discoveryf4bare and coptercontrol)
2016-04-22 03:30:38 +02:00
Vladimir Zidar
365354ea74
LP-291 Changed AlarmString() arguments
2016-04-22 03:30:35 +02:00
Vladimir Zidar
1a870f0c0f
LP-291 Added proper float rounding before casting to uint8_t
2016-04-22 03:30:19 +02:00
Vladimir Zidar
d281d8ce0c
LP-291 Added MSP_SET_PID command.
2016-04-22 03:30:09 +02:00
Vladimir Zidar
db5807e54c
LP-291 Cleaned up flight modes and additional icons. Implemented MSP_PID message.
2016-04-22 03:29:38 +02:00
Vladimir Zidar
d8bdd8bfcf
LP-291 Added TaskInfo entry for UAVOMSPBridge task
2016-04-22 03:26:50 +02:00
Vladimir Zidar
6b5e43a57d
LP-291 Changed default baudrate to 115200
2016-04-22 03:26:47 +02:00
Vladimir Zidar
1e32ccb1d0
LP-291 Initial port
2016-04-22 03:26:41 +02:00
Lalanne Laurent
e6ada50587
Merged in alessiomorale/librepilot/amorale/LP-276_measurement_based_d_term (pull request #218 )
...
[LP-276] Support D Term calculation on measurement only
2016-04-14 11:44:39 +02:00
Alessio Morale
f83c9e2c73
[LP-276] some perf improvements (mainly for f1 targets)
...
(authored by Lalanne Laurent <f5soh@free.fr>)
2016-04-08 22:18:01 +02:00
Philippe Renon
bde5648f51
Merged in mindnever/librepilot/LP-268-OPLink_add-tx-and-rx-packet-rates (pull request #210 )
...
Lp 268 oplink_add tx and rx packet rates
2016-04-04 21:28:25 +02:00
Philippe Renon
d916fde887
Merged in f5soh/librepilot/LP-273_Reset_Mag_Alarm (pull request #214 )
...
LP-273 Reinit Mag alarm while switching to Complementary
2016-04-04 21:26:38 +02:00
Alessio Morale
a513b2c675
[LP-276] Support D Term calculation on measurement only
2016-04-03 21:49:44 +02:00
Laurent Lalanne
b1747c58c2
LP-273 Reinit Mag alarm while switching to Complementary
2016-04-02 00:11:01 +02:00
Vladimir Zidar
8c1b008da1
LP-268 Uncrustified.
2016-03-28 16:03:16 +02:00
Vladimir Zidar
4159449021
LP-268 This adds TX and RX data rates to OPLinkStatus UAVO and fixes small issue in rfm22b driver with rx_seq not being updated.
2016-03-28 16:02:28 +02:00
Laurent Lalanne
3f344bde4d
LP-228 Treat Gimbal outputs only if CamStab module is enabled.
2016-03-16 15:58:38 +01:00
Lalanne Laurent
feee98b305
Merged in f5soh/librepilot/LP-206_AlwaysStabilizeWhenArmed_switch (pull request #190 )
...
LP-206 Add Always stabilized accessory switch
2016-03-12 20:34:00 +01:00
Laurent Lalanne
593cf7bc61
Typo PIOS_RFM22B_GetPairStats()
2016-03-12 17:56:05 +01:00
Laurent Lalanne
6735314852
Uncrustify all
2016-03-12 17:30:24 +01:00
Harold Hankins
315d9ee98d
LP-252 remove extra sendbuffer call
2016-03-10 16:33:12 -05:00
Harold Hankins
fd235d8aa5
LP-252 correct buffer handling
2016-03-10 16:33:12 -05:00
Harold Hankins
352d2c27f0
LP-252 allow compile without watchdog
2016-03-10 16:33:12 -05:00
Harold Hankins
aca8a4db13
LP-252 fix reuse of buffer expected to retain data between calls
2016-03-10 16:33:12 -05:00
Laurent Lalanne
406c381071
LP-206 Add Always stabilized accessory switch - Fix: Allow Accessory3 for arming
2016-03-07 18:26:10 +01:00
Alessio Morale
089c224514
Merged in alessiomorale/librepilot/amorale/LP-96_cpu_idle_counter (pull request #37 )
...
LP-96 Updated CPU idle counter / LP-97 unify CopterControl and Revolution init process
2016-02-19 20:19:05 +01:00
Cliff Geerdes
ed0e879b7c
LP-212 extra parenthesis, throw compile error if local defines are already defined
2016-02-16 16:14:39 -05:00
Cliff Geerdes
a73b7720c5
LP-212 save time and space if PIOS_GPS_MINIMAL
2016-02-16 15:36:08 -05:00
Cliff Geerdes
fac0213987
LP-212 readable #ifs and dji compile for cc3d
2016-02-16 15:36:08 -05:00
Cliff Geerdes
2826cb5cd7
LP-212 forgot to lower camel case GpsTime
2016-02-16 15:36:08 -05:00
Cliff Geerdes
baeb379a82
LP-212 changes from code review
2016-02-16 15:34:59 -05:00
Cliff Geerdes
fad0e9f24c
LP-212 uncrustify and remove junk comments
2016-02-16 15:32:56 -05:00
Cliff Geerdes
2ae1f9c63d
LP-212 DJI GPSMag support
2016-02-16 15:23:36 -05:00
Lalanne Laurent
b3151602b2
Merged in TheOtherCliff/librepilot/theothercliff/LP-145_CC3D_GPS_issue (pull request #123 )
...
LP-145 CC3D GPS issue
2016-02-16 19:13:10 +01:00
Cliff Geerdes
dae9052686
finish renaming load_mag_settings to include hardware type
2016-02-02 09:39:53 -05:00
Cliff Geerdes
f4a088bcfa
change forward error gotos into breaks
2016-02-02 09:17:56 -05:00
Fredrik Arvidsson
e17d809120
Merge branch 'next' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support
2016-01-24 21:11:35 +01:00
Lalanne Laurent
da884f5432
Merged in f5soh/librepilot/LP-214_Camera_tilt_compensation (pull request #158 )
...
LP-214 Camera tilt compensation
2016-01-24 17:56:59 +01:00
Laurent Lalanne
580ef50efb
LP-214 Calc changes
2016-01-24 16:35:40 +01:00
Laurent Lalanne
f20adf00f5
LP-214 Add Fpv Camera tilt compensation
2016-01-24 16:35:32 +01:00
Laurent Lalanne
cd94047619
LP-205 Rate trainer : add Attitude stabilizaton at max angle
2016-01-24 16:26:28 +01:00
Fredrik Arvidsson
d32cc0e7fb
Merge branch 'thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support_15.09' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support
2016-01-09 19:18:48 +01:00
Fredrik Arvidsson
02c981388a
Merge branch 'thread/LP-196_Jeti_Ex_Bus_15.09' into thread/LP-104_LP-196_HoTT_and_Ex.Bus_Support_15.09
...
# Conflicts:
# flight/targets/boards/coptercontrol/board_hw_defs.c
# flight/targets/boards/coptercontrol/firmware/pios_board.c
# flight/targets/boards/revolution/board_hw_defs.c
# flight/targets/boards/revolution/firmware/inc/pios_config.h
# flight/targets/boards/revolution/firmware/pios_board.c
# flight/targets/boards/revonano/firmware/inc/pios_config.h
# flight/targets/boards/revonano/firmware/pios_board.c
# shared/uavobjectdefinition/hwsettings.xml
# shared/uavobjectdefinition/manualcontrolsettings.xml
# shared/uavobjectdefinition/receiveractivity.xml
2016-01-09 16:59:24 +01:00
Fredrik Arvidsson
c48c46b8ef
LP-196 Cleaned up some configuration. Ex.Bus only available on Flexiport.
2016-01-09 16:07:13 +01:00
Fredrik Arvidsson
6a3a822c87
LP-104 Cleaned up configuration. Only Allow HoTT on flexi port.
2016-01-09 15:50:52 +01:00
Lalanne Laurent
4fabce011a
Merged in f5soh/librepilot/LP-204_Fast_invsqrtf_issue (pull request #147 )
...
LP-204 Replace fast_invsqrtf() with invsqrtf() : 1.0f / sqrtf()
2016-01-09 12:59:47 +01:00
Fredrik Arvidsson
bc80c66c2b
LP-196 Removed some leftover code and definitions.
2016-01-07 14:22:52 +01:00
Fredrik Arvidsson
359266ab7a
LP-104 Removed support for HoTT on Main port on coptercontrol target since it does not work.
2016-01-07 13:01:46 +01:00
Philippe Renon
6b39fc0800
uncrustify
2016-01-04 21:41:45 +01:00
Laurent Lalanne
71a0a563f1
LP-204 Replace fast_invsqrtf() with invsqrtf() : 1.0f / sqrtf()
2015-12-26 14:26:36 +01:00
Fredrik Arvidsson
3e920bc5bc
LP-196 Added driver for Jeti EX.Bus protocol. Added support for CopterControl target on Main and Flexi port. This is WIP and not tested yet.
2015-12-26 12:29:04 +01:00
Fredrik Arvidsson
7a95050381
LP-104 Added missing code to receiver.c to detect receiver activity. This probably caused a crash on any activity of the HoTT receiver.
...
Added 40 bytes to the receiver stack.
Added options to receiver activity.xml uavo definition.
2015-12-20 13:36:45 +01:00
Laurent Lalanne
309f5db956
LP-191 Receiver activity : Increase min range value and allow all Sbus
...
channels scanning.
2015-12-04 20:36:51 +01:00
Cliff Geerdes
bb04d62756
LP-145 uncrustify and comments
2015-11-15 18:42:47 -05:00
Cliff Geerdes
44a57cb308
LP-145 reduce UBX false positive red X from 1 in 256 NMEA packets to 1 in 64k
2015-11-15 18:13:51 -05:00
Cliff Geerdes
f0ef594cdb
LP-145 CC3D GPS reparse and general GPS system health
2015-11-15 03:44:28 -05:00
Laurent Lalanne
2295208abe
LP-182 Add empty line before #ifdef and after #endif
2015-11-14 14:27:12 +01:00
Laurent Lalanne
705bd2a483
LP-182 Set telemetry port baudrate settings or still to default 57600.
2015-11-13 15:18:17 +01:00
Alessio Morale
70faa04b0a
LP-97 - Move board init function declarations to a pios_board_init.h, fix some headers
2015-11-08 18:47:31 +01:00
Cliff Geerdes
e0a805518f
LP-73 uncrustify
2015-10-25 23:59:52 -04:00
Cliff Geerdes
7de55812dd
LP-73 changes for pull request comments
2015-10-24 12:09:22 -04:00
Cliff Geerdes
d9b7a0bb00
LP-73 port extmag to all other boards
2015-10-24 12:09:21 -04:00
Cliff Geerdes
b086d1a021
LP-73 ExtMag fix some more watchdog issues
2015-10-24 12:09:20 -04:00
Cliff Geerdes
d4b0d106f8
LP-73 External Mags on I2C initial coding
2015-10-24 12:09:19 -04:00
Stefan Karlsson
51f0b74e5c
LP-129 Remove broken motor scaling modes
2015-09-24 23:02:09 +02:00
Stefan Karlsson
2ab6390cf5
LP-128 Fix scaleMotor attitude problems
...
The ElevateAndCompress scaling mode doesn't scale linearly as intended
and causes motors to reach the max limit prematurely.
A new mode, MoveAndCompress, has been implemented to get better linear
scaling of the motor output values.
2015-09-22 21:25:56 +02:00
Alessio Morale
f3b44ebd50
Merged in alessiomorale/librepilot/amorale/LP-89_port_150501_fixes (pull request #66 )
...
Amorale/lp 89_port_150501_fixes
2015-09-21 12:35:36 +02:00
Alessio Morale
d20d1ab295
LP-89 - Port OP_15.05.01 fixes. Release notes:
...
--- RELEASE-15.05.01 HOTFIX --- Banana Split ---
This release fixes an important bug. All Revolution hardware running 15.05 should upgrade to 15.05.01. Note that this is a hotfix; it can
simply be flashed without an erase settings. Furthermore, please review your vtolpathfollowersettings:HorizontalVelMax; a value of around 4m/s would be more appropriate for preliminary trialing of a new release and will be changed in future.
Release Notes - OP Next Generation - Version OP15.05.01
** Bug
* [NG-55] - 15.05 PositionHold exhibits fly-away behaviour at the vtolpathfollowersettings maxRollPitch and HorizontalVelMax values.
---
WHATSNEW.txt | 13 ++++++++++-
flight/libraries/pid/pidcontroldown.cpp | 26 ++++++++++-----------
flight/libraries/plans.c | 28 +++++++++++++++++++----
flight/modules/PathFollower/inc/pidcontrolne.h | 1 -
flight/modules/PathFollower/pidcontrolne.cpp | 23 +++++++++++++++----
flight/modules/PathFollower/vtolflycontroller.cpp | 16 ++++++++-----
6 files changed, 77 insertions(+), 30 deletions(-)
2015-09-19 16:05:49 +02:00
a*morale
68ecefa0fd
LP-124 - Rename Pitch/RollRatePid to EasyTuneRatePitch/Roll, UAVO and firmware fixes
2015-09-19 15:03:17 +02:00
Alessio Morale
b6515a2117
LP-123 - EasyTune for yaw should only be enabled if any other (roll/pitch) option is also enabled
2015-09-19 12:04:37 +02:00
Alessio Morale
3e7a53beaf
Merged in f5soh/librepilot/laurent/LP-114_Add_accessory_input_channel (pull request #54 )
...
LP-114 Add accessory input channel
2015-09-15 23:21:04 +02:00
Laurent Lalanne
8885180fde
LP-114 Add Accessory3 as input - TxWizard and Multirotor Accessory
...
mapping
2015-09-11 00:04:31 +02:00
Stefan Karlsson
a7c592b294
LP-115 Fix TPS and Acroplus settings setup
...
Both TPS and Acroplus had settings initialized in SettingsUpdatedCb.
These values comes from stabSettings.stabBank, which isn't initialzed
when SettingsUpdatedCb is first called.
The patch moves the setup of the affected settings values to
BankUpdatedCb, where other bank specific settings are updated.
2015-09-09 01:27:20 +02:00
Alessio Morale
bc89c79b7d
Merged in skarlsso/librepilot/skarlsso/LP-107_scaleMotor_bug (pull request #46 )
...
skarlsso/lp 107_scalemotor_bug
2015-09-08 15:27:51 +02:00
a*morale
792835c009
Uncrustify
2015-09-05 11:49:43 +02:00
Alessio Morale
06f59d2c40
LP-96 - Call CPU idle calibration function from SystemMod
2015-09-03 23:40:35 +02:00
Alessio Morale
b88681c69f
LP-97 - Move the common Init process within the System module (coptercontrol/revolution)
2015-09-03 23:40:24 +02:00
Alessio Morale
3eaf1ef3c3
LP-96 - Implement CPU idle counters and calibration functions
2015-09-03 20:05:25 +02:00
Alessio Morale
fb3e65e057
LP-44 - some optimizations and cleanup
2015-09-03 07:26:40 +02:00
Laurent Lalanne
69125e8e9d
LP-44 Save RAM : Use float UAVO type only when needed. 184bytes saved
2015-09-03 07:26:06 +02:00
Stefan Karlsson
71f6e82399
LP-107 Use scaleChannel for unscaled motor outputs
2015-09-01 21:17:52 +02:00
Stefan Karlsson
f7b8a57e42
LP-107 Replace the scaling function in scaleMotors
...
The previous scaling function used in scaleMotor could end up with
output values below the neutral point.
This patch adds a new scaling mode that will try to scale the output
proportionally while still keep all outputs within neutral and max.
The user can select three different modes:
1) NoScaling - Only cap the output values between neutral and max.
2) AddAndSubtract - The previous output scaling method, which moves the
output values directly proportionally to the amount the max/min motor
is out of the limits.
3) ElevateAndCompress - The new mode, which elevates all motor values by
the percentage needed to bring the min motor to neutral, and then
compress all motor values by the percentage needed to bring the max
motor down to max.
The motor scaling mode can be selected by setting the
FlightModeSettings.MotorScalingMode UAVO field.
2015-08-31 21:29:48 +02:00
Alessio Morale
538a137bf6
Merged in f5soh/librepilot/laurent/LP-92_Feed_forward_remove (pull request #33 )
...
Laurent/lp 92_feed_forward_remove
2015-08-21 13:35:10 +02:00
Alessio Morale
43ca4b01af
Merged in rbekken/librepilot/copyright_update (pull request #32 )
...
Update all changed files against GIT log with copyright headers consistency.
2015-08-21 13:34:37 +02:00
Roy Bekken
ad84547637
Update all changed files against GIT log with copyright headers consistency.
2015-08-19 16:15:58 +02:00
Laurent Lalanne
670dbfe9ce
LP-92 Remove Feed Forward : flight / ground
2015-08-14 10:54:12 +02:00
Alessio Morale
74c69e033c
LP-67 - Fix checkbox yaw recalc checkbox, allow yaw recalc flag changes to trigger a yaw recalc
2015-08-14 10:24:19 +02:00
Alessio Morale
ee461ff303
LP-67 handle full PIDs terms with a single knob for each axis (roll/pitch).
...
The new setting will work this way:
- Input (knob) value is used straight as roll or pitch P term;
- P term is mutliplied by two configurable factors and used as D and I terms;
- (Optionally) Yaw P term is calculated from a mean of roll and pitch P terms multiplied by a configurable factor.
- yaw P term is multiplied by other two configurable factors and used as yaw D and I terms.
2015-08-14 10:24:18 +02:00
alessio morale
05494eebcc
Merged in f5soh/librepilot/laurent/LP-66_FixedWing_Roll_differential (pull request #9 )
...
LP-66 - Add differential Roll mixing to Fixed Wing frames
2015-07-31 14:38:28 +02:00
Alessio Morale
13f02e7d9d
LP-56 - Better txpid option namings, fix tabs-spaces, tooltips. headers, variable namings
2015-07-30 18:23:55 +02:00
Laurent Lalanne
31c30d752f
LP-66 Fixed wing : Roll differential mixing on flight side
2015-07-29 06:36:22 +02:00
Alessio Morale
7b3aed3de9
LP-56 - Allows a single txpid instance to handle Roll&Pitch
...
Also populate combos with current txpid values
2015-07-27 22:45:33 +02:00
Alessio Morale
7973ab9d0a
LP-56 - Use separate roll/picth factors and add firmware support
2015-07-25 00:29:41 +02:00
Alessio Morale
711ef272c1
LP-5 - Use a single Task for telemetry when no radio is available
2015-07-16 01:01:02 +02:00
a*morale
1ef9fc51d6
LP-5 - exclude AH from outerloop
2015-07-15 00:07:51 +02:00
Corvus Corax
96f58605ec
Merge branch 'rel-nano-15.05' into corvuscorax/fixedwingautotakeofftest
2015-06-05 15:17:35 +02:00
abeck70
afc62f61aa
OP-1875 add issing AuxMagsSettings initialise call
2015-06-05 17:28:05 +10:00
Corvus Corax
58e0db791c
OP-1875 reinit ekf on mag source change
2015-06-04 13:49:42 +02:00
Corvus Corax
cc3b10060f
OP-1900 have path_progress updated correctly for leg_remaining and error_below end conditions to work in fixedwingautotakeoff
2015-06-04 12:51:48 +02:00
Corvus Corax
23dab7e0b6
OP-1900 added deceleration check to autotakeoff failsafe
2015-06-04 12:51:48 +02:00
Corvus Corax
23f9f4d9c9
OP-1900 add failsafe to FW pathfollower to fly safely without valid airspeed estimate
2015-06-04 12:51:47 +02:00
Corvus Corax
ccfe39633e
OP-1900 Put Sequencing state machine for vixed wing autotakeoff out of plan.c and into vtolautotakeoffcontroller, removed all special casing for autotakeoff and land from outside of pathfollower itself and code in plans.c - especially cleaned up pathplanner.c and made mode agnostic (which it should be) - added optional rewinding for pathplans
2015-06-04 12:51:47 +02:00
Corvus Corax
4b7edee534
OP-1900 Fixed Constructor calling chain
2015-06-04 12:51:47 +02:00
Corvus Corax
359c2ec560
disable stackoverflow checks on simposix - it doesnt work and the systemalarm prevents arming
2015-06-04 12:51:47 +02:00
Corvus Corax
fe01c6c69e
give me an I!
2015-06-04 12:51:47 +02:00
Corvus Corax
d7f0490522
OP-1900 fixed header file name references
2015-06-04 12:51:46 +02:00
Corvus Corax
9a6cf9d21b
OP-1900 OP-1054 added emergency thrust cutoff feature to main fixed wing autopilot on loss of control
2015-06-04 12:51:46 +02:00
Corvus Corax
aac9159e87
OP-1900 OP-1054 Autotakeoff and Land controllers for fixed wing
2015-06-04 12:51:46 +02:00
Steve Evans
d41808ecaf
Merge branch 'rel-nano-15.05' into steve/OP-1904_Display_current_TxPID_settings_on_OSD
2015-05-30 12:14:47 +01:00
abeck70
c8ff29c404
Merge remote-tracking branch 'origin/steve/OP-1903_Add_TxPID_controls_for_AttitudeSettings' into rel-nano-15.05
2015-05-30 19:31:46 +10:00
abeck70
2ad52f770c
REVONANO store thrustdemand before uavo set
2015-05-29 21:45:41 +10:00
abeck70
0ffd9e764d
REVONANO fix compile error in vtolbrakefsm
2015-05-29 09:04:59 +10:00
abeck70
78b56b29e0
REVONANO Tuning of altvario and braking
2015-05-28 08:47:26 +10:00
abeck70
0ea8260a87
REVONANO Truely disarm on pathfollower guidance alarm
2015-05-26 17:29:51 +10:00
abeck70
4a78602da2
REVONANO Guidance alarm clearing on change of mode
2015-05-25 22:26:06 +10:00
abeck70
bddb9377a4
REVONANO Land and Takeoff uav changes removing abort state.
2015-05-25 22:25:07 +10:00
abeck70
cdf1b88cc0
REVONANO VelocityRoam fixes
...
1. New VelocityRoamHorizontalVelPID to allow tuning of VR independent of pathfollower nav modes
2015-05-25 22:24:06 +10:00
abeck70
c5715b26af
REVONANO Landing fixes
...
1. Forced disarm via guidance alarm critical on disarm state
2. Continue to zero stabi including yaw during disarm state just in case it doesn't actually disarm.
2015-05-25 22:21:53 +10:00
abeck70
7d66a075de
REVONANO Fixes to AutoTakeoff
...
1. Fix autoyaw to 0 attitude on takeoff post launch.
2. An error condition abort now properly disarms and continues to contrain thrust and stabi during disarmed state.
3. Increase thrustdown time from 2 to 5 seconds on an error condition (e.g. if 3 m deviation from takeoff position on NE).
2015-05-25 22:19:01 +10:00
abeck70
50d60649aa
REVONANO Fix BrakeController to use vtol VerticalVelPID instead of LandVerticalVelPID
2015-05-25 22:13:13 +10:00
abeck70
89b40f3173
REVONANO: Landing and disarming fixes
...
Also prevent stabi control in land's disarm state
2015-05-25 08:50:33 +10:00
Steve Evans
a0d6de4e1d
Merge branch 'rel-nano-15.05' into steve/OP-1904_Display_current_TxPID_settings_on_OSD
2015-05-24 13:00:44 +01:00
abeck70
6d68ed66d9
Merge branch 'steve/OP-1905_Fix_broken_telemetry_if_OPLM_in_PPM_only_mode' into abeck/nano-rc3-fixes
2015-05-24 20:44:31 +10:00
abeck70
d8f6a7827e
REVONANO fix velocity mode use of altvario
2015-05-24 20:38:35 +10:00
abeck70
a4cff482b4
REVONANO fix altitudeHoldTask initialisation
2015-05-24 20:38:07 +10:00
abeck70
b89d8813b1
REVONANO Optimise and fix when altvario task is disabled
2015-05-24 20:37:42 +10:00
abeck70
553728ffd8
REVONANO Trial Rate on Yaw during braking instead of AxisLock
2015-05-24 20:36:44 +10:00
abeck70
ba903614c6
REVONANO Improve GPSAssist
...
I decided to not check throttle when re-enabling stabii control. It can feel as though the mode is defective. I would rather someone have immediate always-there ability to overridwe gps hold.
2015-05-24 20:34:28 +10:00
Steve Evans
7e2c27671d
Merge branch 'steve/OP-1905_Fix_broken_telemetry_if_OPLM_in_PPM_only_mode' into steve/OP-1904_Display_current_TxPID_settings_on_OSD
2015-05-24 10:28:47 +01:00
Steve Evans
4f8ffc612f
OP-1905 Fix variable initialisation
2015-05-24 10:24:18 +01:00
Steve Evans
31eae08bba
OP-1905 Fix OPLM in PPM mode blocks telemetry stream if no USB connected
2015-05-24 10:18:54 +01:00
Steve Evans
5a9ee46742
OP-1904 Initial commit
2015-05-23 21:55:19 +01:00
Steve Evans
b2dd03cf23
OP-1903 Add AccelTau, AccelKp and AccelKi to TxPID
2015-05-23 14:00:50 +01:00
abeck70
064a5e831b
OP-1898 VelocityRoam gets its own MaxRollPitch
...
This allows smoother velocityroam flight
2015-05-22 21:23:10 +10:00
abeck70
ee43c53cee
Merge branch 'rel-nano-15.05' into abeck/OP-1898-VR
2015-05-22 18:46:09 +10:00
abeck70
c0c5cd3d16
OP-1464 uncrustify
2015-05-22 18:36:38 +10:00
abeck70
22b2317732
Merge branch 'theothercliff/OP-1464_Handle_Autobaud_code_for_GPS' into rel-nano-15.05
2015-05-22 18:34:17 +10:00
abeck70
55b3b52c4f
OP-1898 VelocityRoam flight mode
...
Replace PositionRoam with VelocityRoam
Make VelocityRoam an explicit flight mode to simplify access
Disable PositionRoam as not supported and not suitable to retain.
2015-05-22 17:34:43 +10:00
Cliff Geerdes
ced0d4725b
OP-1464 Rename things as requested Implement autodisable as advised by Alessio
2015-05-21 04:37:44 -04:00
Cliff Geerdes
55a43d1815
OP-1464 Compile warning discovery Remove AbConfStoreDisable
2015-05-20 01:04:06 -04:00
Cliff Geerdes
244c9e2d5e
Merge branch 'rel-15.05' into theothercliff/OP-1464_Handle_Autobaud_code_for_GPS
2015-05-19 21:57:34 -04:00
Cliff Geerdes
3bbe7274ca
OP-1464 remove commented out or unused code and pretty it up
2015-05-19 21:34:47 -04:00
Cliff Geerdes
1ade8b7f59
OP-1464 remove debug
2015-05-19 20:45:57 -04:00
Cliff Geerdes
de521c9004
OP-1464 tested version with debug still in place
2015-05-19 19:33:31 -04:00
Cliff Geerdes
92295559b0
OP-1464 GPS autobaud - stash while debugging newobject issue
2015-05-18 18:37:53 -04:00
Alessio Morale
3563b1ff0e
REVONANO - Prevent modules to start before init: move most code to pios_initcall.h. System and system-Like modules
2015-05-18 21:29:56 +02:00
Stefan Karlsson
efb6855f6f
REVONANO - Various temp fixes debug code to get nano to read from the flash. Code has been added to make the execution of systemTask wait until initTask has completed.
...
Conflicts:
flight/pios/common/pios_flashfs_objlist.c
2015-05-18 21:29:56 +02:00
Alessio Morale
375f23ff0c
REVONANO - Make debuglog, FlashFS and other bits optional
2015-05-18 18:54:50 +02:00
Laurent Lalanne
3eef68c017
OP-1893 Deadband scale
2015-05-18 16:45:13 +02:00
Alessio Morale
330b396a73
Merge remote-tracking branch 'origin/amorale/OP-1874_notifications_improvements' into HEAD
2015-05-18 10:05:56 +02:00
abeck70
7d603bc6cb
OP-1847 gpsassist fix
...
Set assisted control state to HOLD when Brake controller transitions to HOLD. This impacts throttle stick behavior as it is different during braking and on brake completion in the hold state.
Also cleanuped and removed unused/old code that triggered HOLD in plans.c
2015-05-16 20:33:03 +10:00
abeck70
5d923c4125
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1847-gps-assist-fixes
2015-05-16 19:57:41 +10:00
abeck70
2c3fcd64d1
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into laurent/OP-1869_Analog_airspeed_scaling
2015-05-14 20:21:40 +10:00
abeck70
f4d1fc13ec
OP-1847 gps assist fixes
...
1. Update vtol vertical pids
2. Reduce deadband on throttle in gpsassist auto throttle to avoid large deviations in throttle change from neutral
3. Reinitialise assisted control state on mode change where the flight is the same but only gpsassist is going from disabled to enabled or enabled to disabled.
2015-05-14 20:07:07 +10:00
Laurent Lalanne
8e8d08c4a1
OP-1869 "scale" lower case
2015-05-13 21:55:18 +02:00
Steve Evans
1771d347bb
Merge branch 'steve/OP-1803_s.bus_dropped_frames' into steve/OP-1849_flexio_com_bridge
2015-05-13 20:36:06 +01:00
Steve Evans
fd00cd8210
Merge branch 'next' into steve/OP-1803_s.bus_dropped_frames
2015-05-13 20:29:54 +01:00
abeck70
525aabe54c
uncrustify flight gps updates
2015-05-13 17:36:52 +10:00
abeck70
858354391d
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario
2015-05-12 22:07:21 +10:00
abeck70
794605b3d9
OP-1848 altvario fixes
...
1. CC compile fix
2. on reinit calculate a new thrustdemand after which gyro updates will retrigger subsequent calcs
2015-05-12 22:02:03 +10:00
abeck70
8d2f4722d7
OP-1848 altvario improvements
...
1. Disable velocity pid loop when altvario is not active
2. Add sanity boundf to ensure max min are inforced.
2015-05-12 17:40:28 +10:00
Cliff Geerdes
f1ec9dea33
Merge branch 'next' into theothercliff/OP-1840_GPS_serial_port_needed_features
2015-05-12 01:25:45 -04:00
abeck70
43ec464737
OP-1848 altvario improvements
...
1. Avoid neutral thrust calcs in altvario typically used in forward flight
2. Capture stick state for debugging into altitudeholdstatus
2015-05-10 19:05:36 +10:00
abeck70
0ef6779701
OP-1848 altvario tidyup of NE controllers in pathfollower
...
Change ILimit variable name to Beta in multiple PID loops that now use pid2 implementation.
Change velocity controller yaw from axislock to rate.
2015-05-09 23:03:53 +10:00
abeck70
d6123c018d
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario
2015-05-09 14:31:57 +10:00
abeck70
7fd08ef990
OP-1858 takeoff in nav address code review comments
2015-05-08 22:04:44 +10:00
abeck70
4ccdc46311
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1858-autotakeoff
2015-05-08 21:48:34 +10:00
Steve Evans
6e6b8c8bad
Merge branch 'steve/OP-1803_s.bus_dropped_frames' into steve/OP-1849_flexio_com_bridge
2015-05-08 07:43:16 +01:00
Steve Evans
8689b2d0ca
OP-1803 Don't report error codes as %
2015-05-08 07:38:55 +01:00
abeck70
ddefd11b7f
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario
2015-05-07 11:28:24 +10:00
Cliff Geerdes
193911ba20
OP-1840 another merge conflict
2015-05-05 23:26:08 -04:00
abeck70
143f09d216
Merge remote-tracking branch 'origin/rel-15.02.02' into next
...
Conflicts:
flight/modules/Actuator/actuator.c
2015-05-06 08:35:21 +10:00
Cliff Geerdes
d9ab9e4f27
Merge branch 'next' into theothercliff/OP-1840_GPS_serial_port_needed_features
...
Conflicts:
flight/modules/GPS/GPS.c
2015-05-05 17:05:11 -04:00
abeck70
593cf18c5c
OP-1848 altvario Update dT to speed on sensor update rate
2015-05-05 22:49:39 +10:00
abeck70
0c77d8a21d
OP-1848 altvario
...
Speed up velocity control loop to original speed
2015-05-05 22:39:15 +10:00
abeck70
72b0d053ef
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1858-autotakeoff
2015-05-05 21:53:26 +10:00
abeck70
dd1c6c7600
OP-1848 build fixes after merge with ratetrainer
2015-05-05 21:52:04 +10:00
abeck70
43d193cceb
OP-1848 altvario merge fixes with ratetrainer
2015-05-05 21:48:04 +10:00
abeck70
5bffc73b17
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario
...
Conflicts:
flight/modules/Stabilization/outerloop.c
2015-05-05 21:47:19 +10:00
abeck70
16cc9f1512
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1858-autotakeoff
2015-05-04 21:15:24 +10:00
abeck70
5ca9d979e6
OP-1858 if previous mode was autotakeoff, ignore wp start position and go from current position.
2015-05-04 21:14:54 +10:00
abeck70
2ec40072ab
OP-1863 ratetrainer fix coding error. ratetrainer should now work.
2015-05-04 17:36:04 +10:00
abeck70
c3c80d4aa8
OP-1848 altvario fix build issue for CC
2015-05-04 08:58:07 +10:00
abeck70
a9ad3c5ec1
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario
2015-05-04 08:42:54 +10:00
abeck70
d4561e9cd8
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1863-rate-maxpitch
2015-05-04 08:41:12 +10:00
abeck70
ca03092fb4
OP-1863 ratetrainer update stab handler to support new outerloop directwithlimits mode
2015-05-04 08:40:06 +10:00
Alessio Morale
9dcd6990d3
OP-1874 - Add notification for Critical alarms, add Attitude, modify alarm repetition rates.
...
reduce rate for Magnetometer, Receiver. Include Attitude.
2015-05-03 23:13:53 +02:00
Alessio Morale
c227686854
uncrustify
2015-05-02 20:27:28 +02:00
RS2K
2fca0b1d9b
OP-1835 - Motor Constraints for 15.02.02 - Quick fix to disable clipping. Bit of code not in the original fix I had to deal with.
2015-05-02 13:11:40 -05:00
RS2K
57d062ff67
OP-1835 - Motor Constraints for 15.02.02
...
OP-1835 - Motor Constraints for 15.02.02
2015-05-02 12:55:43 -05:00
Philippe Renon
9a312ef115
uncrustified
2015-05-02 16:46:35 +02:00
Philippe Renon
b4b93bee93
Merge remote-tracking branch 'origin/rvonlehe/OP-1740_UAV0_GetSetFunctionsTakeEnum' into next
2015-05-02 16:34:15 +02:00
abeck70
b479bd5436
OP-1848 altvario TxPID support
2015-05-02 23:57:18 +10:00
abeck70
21c54c3a37
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario
2015-05-01 22:59:36 +10:00
abeck70
b4d727db98
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1863-rate-maxpitch
2015-05-01 21:53:35 +10:00
Laurent Lalanne
11e83bd0e8
OP-1869 Analog Airspeed sensor : Allow scale (voltage divider), change alpha/LowPassFilter behavior
2015-05-01 13:00:36 +02:00
m_thread
c4c60c897b
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next
2015-05-01 09:53:35 +02:00
m_thread
b8653d44da
Merge branch 'thread/OP-1837_SRXL_Cleanup' into next
2015-05-01 09:46:32 +02:00
Cliff Geerdes
dad8f40c4d
OP-1840 Remove reference to unreleased hardware
2015-05-01 02:49:15 -04:00
Cliff Geerdes
c365bd3032
OP-1840 Removed unused debug .h and update comments
2015-05-01 02:46:38 -04:00
abeck70
0eb84cd8f6
OP-1867 pathplanner autoland
...
Setup land with descent rate set from flight mode settings.
2015-04-30 22:54:38 +10:00
Cliff Geerdes
f331ca0daf
OP-1840 CC3D wouldn't build and update some comments
2015-04-30 01:27:19 -04:00
Cliff Geerdes
48bea16ab9
OP-1840 GPS serial improvements initial coding
2015-04-29 23:46:47 -04:00
abeck70
d6de7803e1
OP-1858 autotakeoff pathplanner fixes
2015-04-29 20:27:30 +10:00
abeck70
09e2c6f00e
OP-1863 RateTrainer
...
Initial commit for code review
2015-04-28 21:54:58 +10:00
abeck70
b14a966088
OP-1858 autotakeoff and pathplanner
...
1. Allow arming in pathplanner
2. Typo in comment
2015-04-28 20:54:44 +10:00
abeck70
210b15db4d
OP-1858 autotakeoff in pathplanner
...
1. Allowing arming in pathplanner
2. Takeoff activation requires throttle to be above 30%
3. Takeoff occurs at the current/actual position and rises vertical to the settings altititude.
4. The details of the takeoff waypoint are effectively ignored - this is a simplicifcation to avoid having to have pathplanner inject a flyvector command from the current location to the waypoint
5. We hard code the condition check for autotakeoff as only one mode is supported.
2015-04-27 23:01:47 +10:00
samguns
09a00f8990
Merge branch 'rel-15.02.02' into samguns/zh_CN_GCS
2015-04-27 11:56:25 +08:00
Richard von Lehe
d22b96d24b
OP-1740: Force latest Pathfollower changes to use uavobj enums.
2015-04-26 17:46:49 -05:00
Richard von Lehe
f3611591e0
Merge branch 'next' into rvonlehe/OP-1740_UAV0_GetSetFunctionsTakeEnum
...
Conflicts:
flight/modules/PathFollower/inc/vtollandcontroller.h
flight/modules/PathFollower/vtollandcontroller.cpp
flight/modules/PathFollower/vtollandfsm.cpp
2015-04-26 17:45:36 -05:00
m_thread
b0b1a42aec
OP-1837 This change adds support for the Multiplex SRXL v1 and v2 protocols.
...
Protocol version is autodetected and 12 or 16 channels are supported.
SRXL is available on Flexiport of Revolution board.
2015-04-26 15:04:52 +02:00
Steve Evans
7445add280
OP-1849 Hooks all in place for CDC line state changes to drive port GPIO for DTR
2015-04-26 03:05:47 +01:00