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

1141 Commits

Author SHA1 Message Date
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
m_thread
9ce00a18f0 REVONANO: Added limit for ComBridge on Nano receiver port.
Fixed Revo Hw config page to handle ComBridge on Receiver port
correctly.
Changed some alignments in GUI.
2015-06-04 22:18:16 +02:00
Corvus Corax
ffe9dde8d0 OP-1900 changed default landing pitch from 15 ° pitch up to 7.5° - 15 is too high and leads to stall on some frames 2015-06-04 13:21:13 +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
c10717d3a2 OP-1900 get rid of highpower error by default again (too many false positives) 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
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
876f8eca1d OP-1900 New settings for autotakeoff/autoland added 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
78b56b29e0 REVONANO Tuning of altvario and braking 2015-05-28 08:47:26 +10:00
abeck70
a232bb393e Merge branch 'samguns/OP-xxxx_Remove_PWM_RX_while_use_OneShot' into abeck/nano-rc4-fixes 2015-05-26 21:03:14 +10:00
samguns
8551048354 REVONANO 1. Sanity check for PWMSync & OneShot while using PWM receiver. 2. Remove CC in hwsettings.xml 2015-05-26 15:01:01 +08: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
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
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
b3817007c4 REVONANO update limits 2015-05-23 22:25:22 +10:00
abeck70
064a5e831b OP-1898 VelocityRoam gets its own MaxRollPitch
This allows smoother velocityroam flight
2015-05-22 21:23:10 +10:00
abeck70
c272c4d4fc OP-1898 VelocityRoam AltVario update tuning values based on FTT feedback 2015-05-22 19:07:06 +10:00
abeck70
ee43c53cee Merge branch 'rel-nano-15.05' into abeck/OP-1898-VR 2015-05-22 18:46:09 +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
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
1ce23d722c REVONANO - Raise the number of leds supported to 10, added limits 2015-05-18 21:30:05 +02:00
m_thread
300a2c38ca REVONANO - Added limits for receiver port enum on nano. 2015-05-18 21:30:02 +02:00
Alessio Morale
15e7286078 MPU9K - merge 9k and 6k settings into a single uavo 2015-05-18 21:29:56 +02:00
Stefan Karlsson
3d0607c4dc Fix broken GPS UAVO 2015-05-18 21:29:56 +02:00
Mathieu Rondonneau
66b06e4c9a REVONANO - Add MPU9250 support 2015-05-18 21:29:42 +02:00
abeck70
f76fee6810 OP-1884 New defaults for GyroTau and Lowpass mpu filter 2015-05-16 22:47:34 +10:00
abeck70
8cb7aeacf7 OP-1882 set thrust control to auto as default 2015-05-16 22:32:22 +10:00
abeck70
1e9f7d9892 OP-1847 update vertical velicity Kp 2015-05-16 22:31:42 +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
abeck70
fd42beeb6d Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into steve/OP-1849_flexio_com_bridge 2015-05-14 17:24:05 +10:00
Cliff Geerdes
4c794ff9ab OP-1840 set ubx autoconfig default to disabled 2015-05-14 02:35:59 -04: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
e0919542e7 OP-1848r-altvario updated Kp, Ki, Kd 2015-05-12 17:45:07 +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
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
829a9c5663 OP-1848 altvario code review comment 2015-05-09 14:42:26 +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
Daniël Koek
20b01a548a OP-1855 changed , to : 2015-05-08 21:28:51 +10:00
abeck70
d97cf3a430 OP-1863 RateTrainer add additional limits to avoid RateTrainer as a thrust mode appearing 2015-05-08 21:16:03 +10: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
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