1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
Commit Graph

6234 Commits

Author SHA1 Message Date
Brian Webb
0738c8a78a LP-190: Final testing and bug fixes. 2016-07-12 17:47:16 -07:00
Brian Webb
91ea8966da LP-190: Addes support for OpenLRS receiver protocol to the OPLinkMini. Also updates the OPLink configuration to better support OpenLRS. 2016-07-12 17:47:16 -07:00
Brian Webb
aa21761f4c LP-190: Adds support for OpenLRS protocol to OPLinkMini 2016-07-12 17:47:16 -07:00
Brian Webb
021eb21008 LP-190: Moved openlrsstatus UAVO to OPLinkStatus 2016-07-12 17:46:15 -07:00
Brian Webb
dc17bd9ad8 LP-190: Adds support for OpenLRS receiver to Sparky2 target. 2016-07-12 17:46:15 -07:00
Brian Webb
a0279b272f LP-190: Initial checkin that adds OpenLRS receiver support to Revolution and OPLinkMini. 2016-07-12 17:45:33 -07:00
Cliff Geerdes
06193c60ac LP-340 reduce stack allocation 2016-07-12 18:39:44 -04:00
Cliff Geerdes
69f1964b12 LP-340 uncrustify 2016-07-12 14:48:11 -04:00
Cliff Geerdes
f2f8d8e712 LP-340 code changes 2016-07-12 14:48:11 -04:00
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
Laurent Lalanne
9dd894f4a9 LP-354 Add comments and use byte shift. 2016-07-03 20:02:03 +02:00
Laurent Lalanne
1a6b0a4d70 LP-354 Define Nav5 and Navx5 constants in UBX.h 2016-07-03 18:44:45 +02:00
Alessio Morale
6214c0ea30 Uncrustify 2016-07-03 17:10:46 +02:00
Alessio Morale
036dcbaa21 Merged in f5soh/librepilot/LP-352_Rate_super_expo (pull request #272)
LP-352 Increase expo effect
2016-07-03 17:05:48 +02:00
Philippe Renon
c2c4dae628 Merged in alessiomorale/librepilot/LP-349_pathplanner_warning (pull request #271)
LP-349 - Remove warning if pathplanner has no defined plan
2016-07-03 17:01:19 +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
Alessio Morale
ad1fbaec3f Merged in f5soh/librepilot/LP-339_AutoTakeOff_only_on_ground (pull request #265)
LP-339 Only allow switching to AutoTakeOff if disarmed state
2016-07-03 16:05:29 +02:00
Alessio Morale
a2d2e81220 Merged in mindnever/librepilot/LP-342-pios_exti-improvement (pull request #266)
Lp 342 pios_exti improvement
2016-07-03 16:05:03 +02:00
Alessio Morale
2b9a255dac Merged in mindnever/librepilot/LP-343_extend_PIOS_COM_Available (pull request #267)
LP-343 Change return type from PIOS_COM_Available() to give extended status about RX and TX availability on given COM device.
2016-07-03 16:03:25 +02:00
Alessio Morale
31cdda4c71 Merged in f5soh/librepilot/LP-241_CruiseControl_Rate_stab (pull request #259)
LP-241 Allow CruiseControl + Rate
2016-07-03 15:57:51 +02:00
Laurent Lalanne
831f8265e7 LP-354 Add Ublox AssistNowAutonomous setting, file heading typos 2016-07-03 04:01:31 +02:00
Laurent Lalanne
273fa60c84 LP-352 Increase expo effect like 'superExpo' 2016-07-01 15:30:19 +02:00
Alessio Morale
134bcff0df LP-349 - Remove warning if pathplanner has no defined plan 2016-06-28 23:20:39 +02:00
Alessio Morale
c090b8df38 LP-327 - Raise an alarm to prevent arming if gyro is not yet calibrated (implement the same Revo behaviour) 2016-06-28 23:11:03 +02:00
Alessio Morale
f42c33a922 LP-327 - CC/CC3D Implementation 2016-06-28 23:11:03 +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
Alessio Morale
2ce258e365 LP-327 - Determine if copter is steady checking gyro variance before calibrating its bias 2016-06-28 23:11:03 +02:00
Alessio Morale
9774045699 LP-327 - implement some kind of pseudo variance to be used to determine if copter is steady 2016-06-28 23:10:56 +02:00
Vladimir Zidar
27cc48b362 LP-343 Change return type from PIOS_COM_Available() to give extended status about RX and TX availability on given COM device. 2016-06-22 01:57:08 +02:00
Vladimir Zidar
4aebc7cc5e LP-342 Added EXTI_Init(DISABLE) to PIOS_EXTI_DeInit. 2016-06-22 00:32:56 +02:00
Vladimir Zidar
fabc3e8d69 LP-342 Simplify pios_exti configuration, allow dynamic configuration and reconfiguration. adds PIOS_EXTI_DeInit() 2016-06-22 00:32:47 +02:00
Cliff Geerdes
0d0adae6f7 LP-76 uncrustify all 2016-06-18 14:15:46 -04:00
Cliff Geerdes
ec80904cb2 LP-76 remove a comment from 2 UAVObjects.inc files 2016-06-18 14:15:46 -04:00
Cliff Geerdes
9b6d7b263f LP-76 change (c) to (C) in copyright comments 2016-06-18 14:15:46 -04:00
Cliff Geerdes
f17f44982f LP-76 remove comment about a Nano issue that was probably caused by bad Nano hardware 2016-06-18 14:15:45 -04:00
Cliff Geerdes
63452e45ec LP-76 add blank lines in switch 2016-06-18 14:15:45 -04:00
Cliff Geerdes
e880ce6822 LP-76 remove unneeded and commented out code 2016-06-18 14:15:45 -04:00
Cliff Geerdes
039e95ac4f LP-76 fix MSP merge conflict sort OPTMODULES in alphabetical order 2016-06-18 14:14:04 -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
f05b733434 LP-76 minor cleanup 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
d8e07b090e LP-76 fix drops out of sky in AutoTune mode 2016-06-18 14:08:05 -04:00
Cliff Geerdes
aa06b1793f LP-76 update copyrights 2016-06-18 14:08:05 -04:00
Cliff Geerdes
fd22011bfa LP-76 get ready for PR uncrustify and comments 2016-06-18 14:08:05 -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
78dffae5a1 LP-76 disable stabHandler for AutoTune mode 2016-06-18 14:08:04 -04:00
Cliff Geerdes
faf2fffb5a LP-76 smooth quick PIDs via accessory0-3 and mode switch toggle 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
fee9f7e071 LP-339 Only allow switching to AutoTakeOff if disarmed state 2016-06-18 19:10:41 +02:00
Laurent Lalanne
7ce2d7562e LP-241 Allow CruiseControl + Rate stabilization 2016-06-08 22:40:32 +02:00
Philippe Renon
be3be734b5 Merged in f5soh/librepilot/LP-326_16_PPM_Channels_support (pull request #256)
LP-326 16 PPM channels support
2016-06-08 21:59:08 +02:00
Philippe Renon
7e51749e24 Merged in f5soh/librepilot/LP-325_Reduce_ASWA_threshold (pull request #255)
LP-325 Reduce AlwaysStabilizedWhenArmed accessory threshold.
2016-06-08 21:58:11 +02:00
Lalanne Laurent
b1cc1332ec Merged in mindnever/librepilot/LP-328_hmc5x83_init_fix (pull request #257)
LP-328_hmc5x83_init_fix
2016-06-04 16:50:51 +02:00
Vladimir Zidar
77a28f2066 LP-328 Moved i2c operation PIOS_HMC5x83_ReadMag() from _driver_fetch() to _driver_poll() so that fetch() always get good data 2016-06-02 14:34:38 +02:00
Vladimir Zidar
f27db8b65c LP-328 uncrustified 2016-06-02 12:47:31 +02:00
Vladimir Zidar
10637550d7 LP-328 hmc5x83 learns how to reinitialize after it gets reconnected to the bus 2016-06-02 12:44:45 +02:00
Laurent Lalanne
b6ed0d9c9c LP-326 Increase CC3D Receiver stask size 2016-05-31 08:05:12 +02:00
Laurent Lalanne
fc07b26547 LP-326 Support up to 16 PPM channels 2016-05-31 08:04:41 +02:00
Laurent Lalanne
6f3bcf817e LP-326 Reduce minimal sync pulse lenght to 2700µs 2016-05-31 08:03:15 +02:00
Laurent Lalanne
2001e00b26 LP-325 Reduce AlwaysStabilizedWhenArmed accessory threshold. 2016-05-30 15:11:22 +02:00
Vladimir Zidar
c79f85560d LP-324 Fixed MSP support for Sparky2 target 2016-05-28 23:23:34 +02:00
Laurent Lalanne
713a30a6a1 LP-72 Uncrustify 2016-05-28 18:02:15 +02:00
Cliff Geerdes
4ee65d26f8 LP-72 allow others who have old b01 sparky2 ID to upgrade without using SBL 2016-05-28 17:33:09 +02:00
Cliff Geerdes
c54b88d0f0 LP-72 fixed comments 2016-05-27 17:19:14 +02:00
Laurent Lalanne
e776441c49 LP-72 Fix for receiverPort / Hott 2016-05-26 20:15:57 +02:00
Cliff Geerdes
f5e5ee18bf LP-72 fix MSP on MainPort 2016-05-26 20:01:11 +02:00
Laurent Lalanne
25a95d7ae2 LP-72 Fix for FlexiPort I2C configuration 2016-05-26 06:30:01 +02:00
Cliff Geerdes
32e4354e4b LP-72 fix aux mag orientation so GPSV9 DJI are 0 0 0 2016-05-25 23:22:53 +02:00
Laurent Lalanne
0b5a779bb9 LP-72 Increase driver version 2016-05-25 15:26:09 +02:00
Laurent Lalanne
8616742559 LP-72 USB Hid/Vcp : Windows and Linux support 2016-05-25 13:51:41 +02:00
Laurent Lalanne
2138516dfe LP-72 Various typo fixes - Set PPM input as default 2016-05-25 13:51:41 +02:00
Cliff Geerdes
0628949afd LP-72 uncrustify 2016-05-25 13:51:41 +02:00
Cliff Geerdes
fdc8b10ddf LP-72 use TauLabs USB IDs for Sparky2 so users can cross flash LP and TL without SBL. 2016-05-25 13:51:41 +02:00
Vladimir Zidar
2b760f9d39 LP-72 Fix MS5611 driver to allow booting with unpowered i2c devices hanging the bus 2016-05-25 13:51:41 +02:00
Vladimir Zidar
05d6d983ae LP-72 Fix for f2aa171 that broke revonano build - stm32f411 has no TIM8 2016-05-25 13:51:41 +02:00
Cliff Geerdes
0695e6acb2 LP-72 final update of old sparky2 ID that is not TL compatible 2016-05-25 13:51:41 +02:00
Vladimir Zidar
1d3d784f8b LP-72 Fixes PPM input on receiver port. Added extra interrupt channel init for TIM1 & TIM8. Removed TIM8_UP_IRQHandler, as there is no such irq in stm32f4 line. 2016-05-25 13:51:40 +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
afb32d3090 LP-72 Uncrustify after rebase 2016-05-25 13:51:40 +02:00
Vladimir Zidar
a1a6b130b8 LP-72 Cleaned up SPK2_RcvrPort: removed MSP from hwsettings, added SRXL rcvr port uart definition and initialization. 2016-05-25 13:51:39 +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
Cliff Geerdes
2e65449dcc LP-72 rename revolution.cpp rename revo defines rename revo comments 2016-05-25 13:51:38 +02:00
Cliff Geerdes
acab5c93f1 LP-72 small or cosmetic for PR - more to come 2016-05-25 13:51:38 +02:00
Alessio Morale
b603b10be8 LP-72 - Uncrustify 2016-05-25 13:51:38 +02:00
Alessio Morale
65d2046ccd LP-72 - fix servo definition 2016-05-25 13:51:37 +02:00
Alessio Morale
2e008884f3 LP-72 - Fix bootloader compilation 2016-05-25 13:51:37 +02:00
Alessio Morale
b88cba80ee LP-72 - HW definition cleanup 2016-05-25 13:51:37 +02:00
Alessio Morale
cbe52f3f51 LP-72 - Enable link LED 2016-05-25 13:51:37 +02:00
Alessio Morale
620a3c0c12 LP-72 - fix and cleanup timer mapping 2016-05-25 13:51:37 +02:00
Cliff Geerdes
5d5968c186 LP-72 channelgroup dsmrcvrport nano 2016-05-25 13:51:37 +02:00
Cliff Geerdes
0c76379f0a LP-72 hott exbus DjiGps systemmod comms stacksize 2016-05-25 13:51:37 +02:00
Cliff Geerdes
9450b13fde LP-72 BL wouldnt build because it didnt know DSM structs 2016-05-25 13:51:36 +02:00
Cliff Geerdes
8e9e3c72b4 LP-72 Remove FlexiIO ports from WS2811LED table 2016-05-25 13:51:36 +02:00
Cliff Geerdes
c142e5fbc4 LP-72 Redo servo-ESC outputs 2016-05-25 13:51:36 +02:00
Cliff Geerdes
38da5fc9a5 LP-72 get board booting PPM doesnt work DSM and ADC need testing 2016-05-25 13:51:36 +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
Alessio Morale
0c0b04233b LP-72 initial GCS support needs xml limits and firmware tab board image 2016-05-25 13:51:35 +02:00
Cliff Geerdes
8db5b034a2 LP-72 PPM overlooked setting but PPM is still broken 2016-05-25 13:51:35 +02:00
Cliff Geerdes
8add346167 LP-72 change BOARD TYPE and REVISION different than Revo 2016-05-25 13:51:34 +02:00
Cliff Geerdes
2286dbcdc2 LP-72 get sbus and maybe ppm working on rcvr input 2016-05-25 13:51:34 +02:00
Cliff Geerdes
9bb95e3a84 LP-72 initial sparky2 support needs GCS, 9250 orientation, testing 2016-05-25 13:51:34 +02:00
James Duley
46b4f4ff40 put flight link arguments in a file
to avoid going over windows command limit
2016-05-20 21:38:52 +01:00
James Duley
5e02fb2da7 simposix don't #define false in c++ 2016-05-20 21:30:53 +01: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
1d3569daba Merged in alessiomorale/librepilot/LP-304_perf_counter_improvements (pull request #238)
LP-304 performance counters improvements
2016-05-09 12:23:50 +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
4cbd4ea926 Merged in f5soh/librepilot/LP-233_OneShot42 (pull request #236)
LP-233 Support OneShot42
2016-05-09 10:53:12 +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
Alessio Morale
5156c0c911 LP-304 - Allow further info to be added to PERF_INIT_COUNTER for future feature support.
This may allow in future to extract the counters id list with grep to be handled by gcs or other custom tools
Proposed usage:
PERF_INIT_COUNTER(counterVariable, id, "MODULE NAME","COUNTER DESCRIPTION","UNIT OF MEASURE");
i.e.:
PERF_INIT_COUNTER(counterExecutionTime, 0xAC700001, "ACTUATOR", "Actuator update execution time", "uS");
2016-05-03 00:07:35 +02:00
Alessio Morale
1b254e4182 LP-304 - Prevent errors when dealing with variables used only for instrumentation 2016-05-03 00:07:10 +02:00
Alessio Morale
bf639b486d LP-304 - declare counters as static 2016-05-03 00:06:24 +02:00
Alessio Morale
b00ac8a55a Merged in mindnever/librepilot/LP-293-add-alarmstring-to-alarms-library (pull request #231)
Lp 293 add alarmstring to alarms library
2016-05-02 22:42:46 +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
Laurent Lalanne
c9fff7e16e LP-151 OPLink: Allow custom Device ID or auto generated. 2016-05-01 21:56:50 +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
1f0bf155ce LP-293 make use of NELEMENTS() macro instead of defining own version NELEM() 2016-04-24 02:03:50 +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
85fa65a514 LP-293 Fixed remaining buffer space calculation. Changed name of position variable to less misleading. 2016-04-22 22:47:25 +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
Vladimir Zidar
96ce3db02d LP-293 Added LibrePilot to @author tag 2016-04-22 02:04:21 +02:00
Vladimir Zidar
72582d1100 LP-293 Added severity level parameter to AlarmString(). Reverted alarm sort order to natural severity levels (highest to lowest): ERROR, CRITICAL, WARNING, OK 2016-04-22 01:18:09 +02:00
Vladimir Zidar
8f937e0508 LP-293 Changed alarm strings to match GCS display 2016-04-22 01:17:59 +02:00
Vladimir Zidar
e513db4b4d LP-293 Added state parameter to receive highest severity level. 2016-04-22 01:17:50 +02:00
Vladimir Zidar
91a9c19e1f LP-293 Implemented AlarmString() function to return human readable SystemAlarms data 2016-04-22 01:16:37 +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
Vladimir Zidar
30e7e1f4e6 LP-281 use correct operator 2016-04-07 01:00:42 +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
ffdd62721f LP-238 - Move CPP stuffs within apps/boot-defs.mk. fix targets accordingly 2016-02-20 09:57:02 +01:00
Alessio Morale
9b45435928 Merged in alessiomorale/librepilot/amorale/LP-207_callback_optimizations (pull request #149)
Amorale/lp 207_callback_optimizations
2016-02-19 20:20:25 +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
Philippe Renon
f140dd4109 Merged in mindnever/librepilot/debugconsole_fix (pull request #171)
This commit fixes debug console rx_buffer assertion.
2016-02-19 14:09:03 +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
48a76dd139 Merged in TheOtherCliff/librepilot/theothercliff/LP-83_Bricking_of_Revo_and_Sparky2 (pull request #142)
LP-83 Unbrick Revo and Sparky2
2016-02-16 19:13:57 +01: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
Lalanne Laurent
2527cba04f Merged in f5soh/librepilot/LP-221_Revo_sys_stack_size (pull request #167)
LP-221 Update Revo system stack size same as RevoNano
2016-02-12 07:13:01 +01:00
Alessio Morale
54a4ac9672 LP-207 - Fix naming, fix style 2016-02-07 16:31:15 +01:00
Vladimir Zidar
b1aa5c1c59 Uncrustified 2016-02-03 23:13:19 +01:00
Vladimir Zidar
eff5ab377e This commit fixes debug console rx_buffer assertion. Debug console is tx only, but PIOS_Board_configure_com() was not pepared to handle such case.
Additionally, debug console on flexi port was incorrectly using pios_usart_main_cfg.
2016-02-02 23:14:09 +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
b6a3a32ce4 This upgrades google test to 1.7.0 and fixes some issues in make files. 2016-01-31 22:04:59 +01:00
Fredrik Arvidsson
56bd378183 Merged in james-duley/librepilot/unit_tests (pull request #168)
LP-223: Fix up unit tests
2016-01-30 10:09:19 +01:00
James Duley
010adebba9 LP-223: Fix up unit tests
The were missed when the flight makefiles were moved
2016-01-27 22:17:24 +00:00
Laurent Lalanne
09818d0603 LP-221 Update Revo system stack size same as RevoNano 2016-01-27 14:13:26 +01:00
Fredrik Arvidsson
9e53b35fdc LP-104 LP-196 Signal quality implementation for Graupner HoTT. Uncrustification of flight code. 2016-01-25 00:42:54 +01:00
Fredrik Arvidsson
ffa671da78 LP-196 Adding signal quality calculation to Ex.Bus receiver module. 2016-01-25 00:23:31 +01: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
Lalanne Laurent
27afc79767 Merged in f5soh/librepilot/LP-205_Rate_trainer_wobble (pull request #148)
LP-205 Rate trainer : add Attitude stabilization at max angle
2016-01-24 17:54:34 +01:00
Lalanne Laurent
c9c347300d Merged in f5soh/librepilot/LP-209_OPLM_link_quality_lost_link (pull request #152)
LP-209 Oplm link_quality still good with link lost
2016-01-24 17:52:06 +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
Laurent Lalanne
a0d7af7f55 LP-215 Set correct failsafe values if PPM stream fails. 2016-01-24 16:15:15 +01:00
Laurent Lalanne
db83d1860e LP-209 Update Rssi and LinkQuality values - Set Connected/Disconnected state in both sides - Add checkTimeOut() 2016-01-24 16:15:14 +01:00
Laurent Lalanne
f8f6e454f6 LP-219 Allow up to 12 channel as PPM input, only first 8 channels still used with Oplink. 2016-01-23 16:09:08 +01:00
Fredrik Arvidsson
0d660d33ad LP-104 LP-196 Changes to address review comments and then uncrustification. 2016-01-16 12:19:34 +01:00
Fredrik Arvidsson
c06fb0249f LP-104 LP-196 Uncrustify and some other formatting issues fixed. 2016-01-10 10:12:54 +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
Lalanne Laurent
8fe6ba2e2e Merged in f5soh/librepilot/LP-198_Detect_ppm_signal_lost (pull request #139)
LP-198 Detect ppm signal lost
2016-01-09 12:56:51 +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
c8edd023a2 LP-196 Cleaned up some code. 2016-01-06 17:16:02 +01:00
Fredrik Arvidsson
534ff1ff3c LP-196 Added Auto-Baud-Rate code. Will toggle between high (125 KBaud) and low (250 KBaud) baud rate every EXBUS_BAUD_RATE_LIMIT (set to 64 right now).
Cleaned out some unused variables.
2016-01-05 14:03:15 +01:00
Philippe Renon
6b39fc0800 uncrustify 2016-01-04 21:41:45 +01:00
unknown
d00c169dbb LP-196 Fixed bug in Ex.Bus decoder and changed baud rate for UART to 125 kbaud. 2016-01-03 18:27:14 +01:00
Alessio Morale
b099571e05 LP-207 - Inline some util functions 2015-12-29 23:25:35 +01:00
Alessio Morale
fe217796b5 LP-207 - Implement Fast callback option 2015-12-29 23:25:30 +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
4b8582a3ad LP-196 Added support for targets Revolution and RevoNano. 2015-12-26 13:08:07 +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
879c8fc9b9 LP-104 Correction of @author tag when multiple authors are present. 2015-12-22 18:00:49 +01:00
Fredrik Arvidsson
3d56c4f384 LP-104 Updated copyright headers with LibrePilot 2015-12-22 09:23:57 +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
5273df263c LP-104 Reverted stack size for receiver module after testing. 2015-12-20 21:11:15 +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
Laurent Lalanne
aff3f4bd3a LP-198 Detect PPM signal lost for stm32f4xx familly 2015-12-18 15:12:44 +01:00
Ákos Máté
f2867fbba1 Workaround for the turnigy 9x stock receiver with PPM encoder.
LP-198 The receiver holds the last value on channel 4 and 5, when no signal.
Without the workaround, CC3D can not detect the loss of signal.
2015-12-18 15:09:25 +01:00
Lalanne Laurent
3faa8d621a Merged in f5soh/librepilot/LP-191_Txwizard_more_robust (pull request #133)
LP-191 Receiver activity : Increase min range value and allow all Sbus channels scanning.
2015-12-17 16:54:06 +01:00
Lalanne Laurent
32337668a6 Merged in f5soh/librepilot/LP-195_Update_World_Mag_Model (pull request #135)
LP-195 Update to lasted world mag model : WMM2015
2015-12-17 16:53:18 +01:00
Cliff Geerdes
c65702b1d3 LP-83 fix two known bricking scenarios 2015-12-16 01:46:59 -05:00
Alessio Morale
ff335072d0 Merged in paul_jewell/librepilot/LP-119_fix_pios_msheap (pull request #58)
Changed incorrect #if to #ifdef in pios_msheap.c
2015-12-13 19:11:46 +01:00
Alessio Morale
48653de561 Merged in physicsboy0709/librepilot/add_stm32f427family_support (pull request #91)
LP-149 Add STM32F427/429/437/439 chip support, preparation for brand new board. and minor fixes
2015-12-13 19:11:25 +01:00
Laurent Lalanne
108bd8edb4 LP-195 Update to lasted world mag model : WMM2015 2015-12-13 12:59:25 +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
5cb042e703 LP-73 fw_gpsplatinum build 2015-10-24 14:57:12 -04:00
Cliff Geerdes
d5bdc41fb9 LP-73 finish the merge with next 2015-10-24 13:14:52 -04:00
Cliff Geerdes
04e3bbd4ce LP-73 fix fw_osd build poke wdg in startup 2015-10-24 12:23:13 -04:00
Cliff Geerdes
afc96267d3 LP-73 use simple timed DataAvailable 2015-10-24 12:23:12 -04:00
Cliff Geerdes
7de55812dd LP-73 changes for pull request comments 2015-10-24 12:09:22 -04:00
Cliff Geerdes
a110eeda21 LP-73 Remove changes to CopterControl 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
Tianhe Wang
033180b986 pios_msheap.c edited online with Bitbucket
revert this file, there is already another pull request.
2015-10-13 13:13:11 +00:00
physicsboy0709
1807c5c27e modified: flight/pios/common/libraries/msheap/pios_msheap.c
modified:   flight/pios/stm32f4xx/library.mk
	new file:   flight/pios/stm32f4xx/link_STM32F4xx_RQ_bl_memory.ld
	new file:   flight/pios/stm32f4xx/link_STM32F4xx_RQ_fw_memory.ld
	new file:   flight/pios/stm32f4xx/link_STM32F4xx_RQ_sections.ld
	new file:   flight/pios/stm32f4xx/link_STM32F4xx_RQ_sections_compat.ld
	modified:   flight/pios/stm32f4xx/pios_bl_helper.c
	modified:   flight/pios/stm32f4xx/pios_flash_internal.c
	modified:   flight/pios/stm32f4xx/pios_sys.c
2015-10-12 14:38:30 -04:00
Alessio Morale
b1cc3926df Merged in skarlsso/librepilot/skarlsso/LP-129_remove_broken_scalemotor_modes (pull request #75)
LP-129 Remove broken motor scaling modes
2015-09-27 13:47:29 +02:00
Stefan Karlsson
51f0b74e5c LP-129 Remove broken motor scaling modes 2015-09-24 23:02:09 +02:00
a*morale
84950bd413 Uncrustify 2015-09-24 22:33:57 +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
627185c0ce LP-89 - changes to adhere to LP code style and requirements. 2015-09-19 16:05:49 +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
Alessio Morale
d67f15713f Merged in alessiomorale/librepilot/amorale/LP108_mpu6k_fixes (pull request #45)
LP-108 - Fix Temp calculation, get rid of floatin point operations within ISR
2015-09-15 23:20:08 +02:00
Paul Jewell
5517ff322e Changed incorrect #if to #ifdef in pios_msheap.c 2015-09-13 12:39:03 +01: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
1f09d36638 Merged in f5soh/librepilot/laurent/LP-44_Free_memory_CC3D (pull request #40)
LP-44 Save RAM
2015-09-04 09:47:33 +02:00
Alessio Morale
970ae3df00 LP-97 - Fixes for Osd and discoveryf4bare 2015-09-03 23:40:37 +02:00
Alessio Morale
06f59d2c40 LP-96 - Call CPU idle calibration function from SystemMod 2015-09-03 23:40:35 +02:00
Alessio Morale
4c2557c29a LP-96 - remove unused files 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
James Duley
e308039206 LP-99 Decouple flight build
Moved flight make code into flight/Makefile. This should speed up
rebuilds for GCS and keeps the top level Makefile tidier.

Change-Id: I9d33cb5c223b6a8ed2821435a5d63ecf4b97c6b8
2015-09-02 19:34:58 +12:00
Alessio Morale
a5482a5c2b LP-108 - Fix Temp calculation, get rid of floatin point operations within ISR 2015-09-01 23:32:26 +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
99975bf9b0 LP-92 Reduce Actuator stack size - Increase System stack size for diags 2015-08-14 10:59:53 +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
a66a725fcb Merge pull request #38 from skarlsso/skarlsso/LP-37_memory_wasted_in_pvPortMallocGeneric
LP-37 Fix alignment bug in in pvPortMallocGeneric
2015-07-19 14:09:06 +02:00
Alessio Morale
6a60910e19 LP-05: fix for toplevel makefile changes 2015-07-19 14:07:48 +02:00
Alessio Morale
18bc25aac6 Merge branch 'amorale/LP05-Readd_CC_rebased' of https://github.com/AlessioMorale/LibrePilot into AlessioMorale-amorale/LP05-Readd_CC_rebased
Conflicts:
	ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp
2015-07-19 12:59:50 +02:00
Stefan Karlsson
d57e838ab1 LP-37 Fix alignment bug in in pvPortMallocGeneric
The allocation size was incremented by 'alignment' bytes when
'xWantedSize' was 'alignment' aligned, but not 'portBYTE_ALIGNMENT'
aligned.
2015-07-17 17:04:18 +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
paul Jewell
6b6461c8b4 Replaced OPENPILOT_IS_COOL by TOP_LEVEL_MAKEFILE 2015-07-15 08:06:21 +01:00
a*morale
1ef9fc51d6 LP-5 - exclude AH from outerloop 2015-07-15 00:07:51 +02:00
a*morale
62a585c188 LP-5 - Include missing UAVOs, add removed cc fields into hwsettings 2015-07-15 00:07:50 +02:00
a*morale
dd6c6054e9 Revert "OP-1810 FOC"
This reverts commit 92e50c2ead.

Conflicts:
	Makefile
	ground/openpilotgcs/src/plugins/config/config.pro
	ground/openpilotgcs/src/plugins/config/configgadgetwidget.cpp
	ground/openpilotgcs/src/plugins/config/configoutputwidget.cpp
	ground/openpilotgcs/src/plugins/setupwizard/pages/escpage.cpp
	ground/openpilotgcs/src/plugins/setupwizard/resources/connection-diagrams.svg
	ground/openpilotgcs/src/plugins/uavobjectutil/devicedescriptorstruct.h
2015-07-15 00:07:50 +02:00
Corvus Corax
d80a95fa65 Merge branch 'rel-nano-15.05' into corvuscorax/fixedwingautotakeofftest 2015-06-06 14:55:15 +02:00
Alessio Morale
78921235cb Revert "REVONANO - workaround the issue with usart baud rate rounding changing slightly the Xtal frequency."
This reverts commit 1985f19fc0.
2015-06-06 11:31:02 +02:00
Alessio Morale
c2f3f24df2 Revert "REVONANO - CHange slightly xtal frequency to workaround wrong baud rate calculation"
This reverts commit b492b7e10a.
2015-06-06 11:30:48 +02:00
Corvus Corax
191645c772 Merge branch 'rel-nano-15.05' into corvuscorax/fixedwingautotakeofftest 2015-06-05 21:16:45 +02:00
Alessio Morale
b492b7e10a REVONANO - CHange slightly xtal frequency to workaround wrong baud rate calculation 2015-06-05 19:02:22 +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
eb9a135977 OP-1900 manual induced autotakeoff sequencing safer for multis and fixed wing 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
abeck70
66aeac834b Merge remote-tracking branch 'origin/steve/OP-1904_Display_current_TxPID_settings_on_OSD' into rel-nano-15.05 2015-06-02 08:22:10 +10:00
Alessio Morale
4568588447 REVONANO - remove unused file 2015-06-01 19:07:42 +02:00
Alessio Morale
1985f19fc0 REVONANO - workaround the issue with usart baud rate rounding changing slightly the Xtal frequency.
Remove the former sbus rate issue workaround
2015-06-01 19:07:06 +02:00
Alessio Morale
508d55c9a6 REVONANO - Fix MPU9k Reset 2015-06-01 18:54:14 +02:00
Alessio Morale
564c69ad69 Merge branch 'rel-nano-15.05' of ssh://git.openpilot.org/temp into rel-nano-15.05 2015-06-01 18:23:19 +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