1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00
Commit Graph

1192 Commits

Author SHA1 Message Date
Cliff Geerdes
7553eb4f32 LP-340 Quick code with both timing fixes 2016-07-12 14:48:10 -04:00
Lalanne Laurent
4aba28c296 Merged in alessiomorale/librepilot/LP-327_gyro_cal_steady (pull request #270)
Lp 327_gyro_cal_steady
2016-07-05 19:44:25 +02:00
Alessio Morale
f4bc8e0c33 Merged in f5soh/librepilot/LP-354_Ublox_AssistNowAutonomous (pull request #273)
LP-354 Add Ublox AssistNowAutonomous setting
2016-07-05 19:41:43 +02:00
Alessio Morale
ad0cf537f5 LP-327 - fixes from review 2016-07-03 16:51:36 +02:00
Alessio Morale
c9188fc5a2 Merged in TheOtherCliff/librepilot/theothercliff/LP-76_Port_Autotune_from_dRonin (pull request #198)
Theothercliff/lp 76_port_autotune_from_dronin
2016-07-03 16:09:30 +02:00
Laurent Lalanne
831f8265e7 LP-354 Add Ublox AssistNowAutonomous setting, file heading typos 2016-07-03 04:01:31 +02:00
Alessio Morale
52c2bc6f4a LP-327 - Configurable max allowed variance parameter 2016-06-28 23:11:03 +02:00
Alessio Morale
4cf1af58da LP-327 - Add a parameter to opt-out the board steady logic 2016-06-28 23:11:03 +02:00
Cliff Geerdes
4ab9264015 LP-76 disallow SystemIdent stabilization mode to be selected in GCS 2016-06-18 14:15:45 -04:00
Cliff Geerdes
68c3d5030a LP-76 auto module enable, more sanity checks, SmoothQuick tweaks 2016-06-18 14:08:06 -04:00
Cliff Geerdes
03b06daef6 LP-76 SmoothQuick fixes consilidate settings uncrustify 2016-06-18 14:08:06 -04:00
Cliff Geerdes
4240c8ea5c LP-76 implement new dRonin yaw calculation PR and fix a TL spelling error 2016-06-18 14:08:06 -04:00
Cliff Geerdes
b48ed29fc5 LP-76 easier to understand yaw PID limiting 2016-06-18 14:08:04 -04:00
Cliff Geerdes
a217d0015f LP-76 better yaw-calc yaw by default-yaw overrides-cleanup for review 2016-06-18 14:08:04 -04:00
Cliff Geerdes
ab50008e07 LP-76 fix no control first time during 2 second startup 2016-06-18 14:08:04 -04:00
Cliff Geerdes
db07550303 LP-76 smooth to quick slider on accessoryx untested 2016-06-18 14:08:03 -04:00
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
a1a795df9a LP-312 Hide I2C port also for Discovery and Revoproto 2016-06-08 22:13:01 +02:00
Laurent Lalanne
f658f2ea21 LP-312 Add limits for I2C type mag 2016-06-06 01:23:20 +02:00
Lalanne Laurent
32cebf6d03 Merged in mindnever/librepilot/LP-321_MSP_in_ReceiverPort_menu_for_RevoNano (pull request #249)
LP-321 Add MSP to limits attribute for Nano board
2016-05-28 18:41:32 +02:00
Laurent Lalanne
2138516dfe LP-72 Various typo fixes - Set PPM input as default 2016-05-25 13:51:41 +02:00
Vladimir Zidar
bcea35a8e1 LP-72 Added EX.Bus,HoTT SUMD and HoTT SUMH to RCVRPORT. 2016-05-25 13:51:40 +02:00
Laurent Lalanne
57bc1725c1 LP-72 Fix rebase final issues 2016-05-25 13:51:40 +02:00
Cliff Geerdes
c7f450f82e LP-72 move flexi from rm_ to spk2_ port msp wizard and sbus fixes usagetracker 2016-05-25 13:51:39 +02:00
Laurent Lalanne
ab61317b85 LP-72 HWSettings.xml : Put tabs instead of spaces 2016-05-25 13:51:39 +02:00
Cliff Geerdes
acab5c93f1 LP-72 small or cosmetic for PR - more to come 2016-05-25 13:51:38 +02:00
Cliff Geerdes
5d5968c186 LP-72 channelgroup dsmrcvrport nano 2016-05-25 13:51:37 +02:00
Cliff Geerdes
3115711049 LP-72 DSM PPM Voltage and Current sensors coded but not tested 2016-05-25 13:51:36 +02:00
Cliff Geerdes
c9b2d4d659 LP-72 Get I2CPort working with I2C Aux Mag LP-73 2016-05-25 13:51:36 +02:00
Cliff Geerdes
f230678479 LP-72 handle rcvrport and sbus differences with revo - sparky version of GCS hw tab 2016-05-25 13:51:35 +02:00
Cliff Geerdes
2286dbcdc2 LP-72 get sbus and maybe ppm working on rcvr input 2016-05-25 13:51:34 +02:00
Vladimir Zidar
ff85a49f3b LP-321 Add MSP to limits attribute for Nano board 2016-05-22 00:27:40 +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
Alessio Morale
4cbd4ea926 Merged in f5soh/librepilot/LP-233_OneShot42 (pull request #236)
LP-233 Support OneShot42
2016-05-09 10:53:12 +02:00
Laurent Lalanne
214ae849a2 LP-233 Add MultiShot 5 - 25µs pulses 2016-05-02 20:24:03 +02:00
Laurent Lalanne
32a6de6b79 LP-233 Support OneShot42 2016-05-02 20:24:03 +02:00
Laurent Lalanne
c9fff7e16e LP-151 OPLink: Allow custom Device ID or auto generated. 2016-05-01 21:56:50 +02:00
Corvus Corax
37d9675924 LP-295 fixed uavobject definitions as per pull request comment 2016-04-25 18:05:15 +02:00
Vladimir Zidar
22cf21c335 LP-291 fix minor whitespace issue 2016-04-25 12:57:27 +02:00
Corvus Corax
5285689541 Merge branch 'next' into corvuscorax/OP-1900_fixedwingautotakeoff_rebaserc6 2016-04-23 02:08:13 +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
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
8c860591ff [LP-276] change default 2016-04-08 23:10:48 +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
9cfa3bd44a Merged in f5soh/librepilot/LP-154_CruiseControl_default_100 (pull request #208)
LP-254 Set CruiseControlMaxThrust default to 100
2016-04-04 21:26:23 +02:00
Alessio Morale
a513b2c675 [LP-276] Support D Term calculation on measurement only 2016-04-03 21:49:44 +02:00
Vladimir Zidar
35b673f9b4 LP-268 Changed pps unit to packet/s 2016-03-28 16:03:21 +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
76477e46a3 LP-254 Set CruiseControlMaxThrust default to 100 2016-03-25 22:00:46 +01:00
Laurent Lalanne
e0c56db4e5 LP-267 Disable limits for Fusion Algorithm (GUI) 2016-03-25 17:48:51 +01:00
Laurent Lalanne
f2f189ef18 LP-206 Keep UAVO order for Armed and FlightMode (OSD compatibility) 2016-03-23 00:11:44 +01: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
2ae1f9c63d LP-212 DJI GPSMag support 2016-02-16 15:23:36 -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
Laurent Lalanne
f20adf00f5 LP-214 Add Fpv Camera tilt compensation 2016-01-24 16:35:32 +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
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
Fredrik Arvidsson
08237a1ff5 LP-196 Removed EX.Bus on Main port for CopterControl target since it is not working. 2016-01-06 17:17:02 +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
68ff383637 LP-104 Adding HoTT support for Revolution and Revo Nano. 2015-12-20 23:45:37 +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
Fredrik Arvidsson
e6d4638201 LP-104 Adds support for Graupner HoTT SUMD/SUMH serial protocol used by receivers on Main and Flexi port.
Still work in progress. Only supports CopterControl target and crashes on input :(
2015-12-20 11:08:15 +01:00
Alessio Morale
2522f4bd93 Merged in f5soh/librepilot/laurent/LP-160_Set_default_AccelTau (pull request #97)
LP-160 Set default value for AccelTau
2015-12-13 19:12:07 +01:00
Philippe Renon
7ad68f7d1b LP-183 sanitize uavobject definition files
changed FALSE/TRUE enums to False/True
other minor enum cleanups
2015-12-02 08:52:37 +01:00
Laurent Lalanne
eba2d98f9a LP-160 Set default value for AccelTau - Remove unused const 2015-11-05 17:58:21 +01:00
Cliff Geerdes
911400924e LP-73 convert BoardRotation to int 2015-10-24 12:18:09 -04:00
Cliff Geerdes
7de55812dd LP-73 changes for pull request comments 2015-10-24 12:09:22 -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
a*morale
68ecefa0fd LP-124 - Rename Pitch/RollRatePid to EasyTuneRatePitch/Roll, UAVO and firmware fixes 2015-09-19 15:03:17 +02:00
Laurent Lalanne
8885180fde LP-114 Add Accessory3 as input - TxWizard and Multirotor Accessory
mapping
2015-09-11 00:04:31 +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
Alessio Morale
3eaf1ef3c3 LP-96 - Implement CPU idle counters and calibration functions 2015-09-03 20:05:25 +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
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
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
3cf8f10126 Merged in thread/LP-69_SRXL_CC_Support (pull request #13)
LP-69 Added SRXL support to CopterControl targets.
2015-07-31 14:40:24 +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
m_thread
9ba63ea124 LP-69 Added SRXL support to CopterControl targets. 2015-07-30 15:30:59 +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
a*morale
62a585c188 LP-5 - Include missing UAVOs, add removed cc fields into hwsettings 2015-07-15 00:07:50 +02:00
Corvus Corax
96f58605ec Merge branch 'rel-nano-15.05' into corvuscorax/fixedwingautotakeofftest 2015-06-05 15:17:35 +02:00