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

723 Commits

Author SHA1 Message Date
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
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
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
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
Steve Evans
5a9ee46742 OP-1904 Initial commit 2015-05-23 21:55:19 +01:00
abeck70
c0c5cd3d16 OP-1464 uncrustify 2015-05-22 18:36:38 +10:00
m_thread
2ce0d5f378 OP-1837 Added SRXL support to nano. 2015-05-21 09:11:55 +02:00
Steve Evans
c3a55d671f OP-1849 DTR on FlexIO pin 3
Conflicts:
	flight/targets/boards/revonano/board_hw_defs.c
2015-05-19 21:35:34 +10:00
Laurent Lalanne
1aceea7532 REVONANO : Enable all Airspeed modules 2015-05-18 23:08:43 +02:00
Alessio Morale
9fa1fe870a OP-1803 - Add support to RevoNano 2015-05-18 21:36:13 +02:00
Alessio Morale
d521ce6023 REVONANO - Add support for WS2811 led on servo output 1.
To free timer1, a unused timer (9) is assigned on the fly to servo out 1 to leave pin mappings unchanged. A better approach should be implemented Later (jira 1035)
2015-05-18 21:30:05 +02:00
Alessio Morale
04c067e8cd REVONANO - Workaround an approximation bug in SPL UART code.
Due to some approximation bug in SPL 100000 gives a prescaler of 29 resulting in (48000000 / 29) / 16 (oversampling)  = 103448
99999 gives a nice 30 resulting in exactly 100000.
2015-05-18 21:30:04 +02:00
Alessio Morale
295ca38026 REVONANO - Fix Prescaler settings for APB1 and 2 (48MHz and 96MHz) 2015-05-18 21:30:04 +02:00
Alessio Morale
8cb9f8b802 REVONANO - Enable some other modules (battery, airspeed, CameraStab) for testing 2015-05-18 21:30:04 +02:00
Alessio Morale
3fd75273f5 Cleanup/uncrustify 2015-05-18 21:30:04 +02:00
abeck70
c0618258ad OP-1760 nano statusvtol addition 2015-05-18 21:30:03 +02:00
Alessio Morale
3152ebcaf0 OP-1828 - add support for Revonano 2015-05-18 21:30:03 +02:00
Alessio Morale
2c96835555 REVONANO - Fix System stack size 2015-05-18 21:30:03 +02:00
Alessio Morale
40fa643cca REVONANO - Cleanup servo pin definitions, map PPM as last channel 2015-05-18 21:30:02 +02:00
Alessio Morale
5ca6e43070 REVONANO - Fix erase settings 2015-05-18 21:30:02 +02:00
Alessio Morale
2497b3d605 REVONANO - some cleanup 2015-05-18 21:30:02 +02:00
Alessio Morale
60f8a8d9f0 REVONANO - Move PPM to input 2 to support oneshot 2015-05-18 21:30:02 +02:00
Alessio Morale
2dcc9e5deb OP-1659 - Revonano, raise sensor rate to 500Hz 2015-05-18 21:30:01 +02:00
Alessio Morale
54b83085bb OP-1696 - Revonano cpp support 2015-05-18 21:30:01 +02:00
Alessio Morale
cf09616ba8 OP-1685 - OneShot support for revonano 2015-05-18 21:30:01 +02:00
Alessio Morale
e4dc6b0b64 OP-1658 - baro support for revonano 2015-05-18 21:30:01 +02:00
Alessio Morale
94d30f7ad2 OP-1658 - Add RevoNano support 2015-05-18 21:30:00 +02:00
Alessio Morale
5a140957f9 REVONANO - Update uavos list 2015-05-18 21:30:00 +02:00
Stefan Karlsson
2630383669 REVONANO - Fix the I2C Error IRQ Handler name for the pressure adapter 2015-05-18 21:29:59 +02:00
Stefan Karlsson
a3fc54ac0b REVONANO - Fix Baro initialization bug
The I2C SCLK pin (A8) was being changed by code used to support battery voltage sensing on the Revo. This code was run after PIOS_I2C_Init but before PIOS_MS5611_Init, causing a BUSY state on the I2C bus before the Barometer initialization code was run.
2015-05-18 21:29:59 +02:00
Laurent Lalanne
57845a7cf9 REVONANO - Disable WDG - Add PathPlanner and PathFollower modules - Fix Tx/Rx buffers for GPS 2015-05-18 21:29:59 +02:00
Stefan Karlsson
8f94aa5353 REVONANO - Use Nano as the USB connection name 2015-05-18 21:29:59 +02:00
Stefan Karlsson
7252fb4207 REVONANO - Fix Auto Upload 2015-05-18 21:29:58 +02:00
Laurent Lalanne
aff4951d02 REVONANO Remove hardcoded Flexiport with telemetry 2015-05-18 21:29:58 +02:00
Stefan Karlsson
21b485aa3f REVONANO - Fix timers for PPM 2015-05-18 21:29:58 +02:00
Stefan Karlsson
047ee1fcb0 REVONANO - Remove relaytuning from revonano target 2015-05-18 21:29:58 +02:00
Alessio Morale
3651ac61a3 REVONANO - Change sensors rate to 333Hz 2015-05-18 21:29:57 +02:00
Alessio Morale
1d7c1b2fc9 REVONANO - Change target to 411, fix ram and flash extents, raise clock to 96MHz (cannot do 100 because of USB) , cleanup spl 2015-05-18 21:29:57 +02:00
Alessio Morale
674963790e REVONANO - Enable WDG and raise timeout value (due to eeprom reading and initialization being very slow) 2015-05-18 21:29:57 +02:00
Alessio Morale
e5baa8e847 REVONANO - align to 9k setting uniformation 2015-05-18 21:29:57 +02:00
Alessio Morale
15e7286078 MPU9K - merge 9k and 6k settings into a single uavo 2015-05-18 21:29:56 +02:00
Alessio Morale
951c9c2fad REVONANO - Disable WDG for debug pourposes 2015-05-18 21:29:56 +02: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
Stefan Karlsson
2d3c8b835a REVONANO - Turn on StateEstimate 2015-05-18 21:29:56 +02:00
Stefan Karlsson
8c8abc3cb5 REVONANO - Increase fast_prescaler for the MPU so that it doesn't consume all CPU 2015-05-18 21:29:56 +02:00
Alessio Morale
96659f5757 REVONANO - some unused var cleanup 2015-05-18 21:29:55 +02:00
Alessio Morale
210b75fcb9 REVONANO - Fix MPU Prescalers 2015-05-18 21:29:55 +02:00
Alessio Morale
b6eedaf93d REVONANO - Fix PIOS_SYSCLK Declaration 2015-05-18 21:29:55 +02:00
Alessio Morale
4a7d81ed01 REVONANO - Fix gyro spi config and include MPU9250 support 2015-05-18 21:29:54 +02:00
Alessio Morale
8a02caa33a REVONANO - Fix eeprom configuration 2015-05-18 18:55:26 +02:00
Alessio Morale
5c13551a1a REVONANO - Add support for eeprom and objlist fs 2015-05-18 18:55:25 +02:00
Alessio Morale
764a15999f REVONANO - Make FlashFS_Logfs optional, remove old onchip eeprom files
Conflicts:
	flight/targets/boards/coptercontrol/firmware/Makefile
2015-05-18 18:55:21 +02:00
Alessio Morale
8a54414d70 REVONANO - Fix and cleanup hw configurations, Baro working at this stage 2015-05-18 18:54:52 +02:00
Alessio Morale
805750050c REVONANO - Support distinct remaps for SDA and SCL 2015-05-18 18:54:52 +02:00
Alessio Morale
375f23ff0c REVONANO - Make debuglog, FlashFS and other bits optional 2015-05-18 18:54:50 +02:00
Alessio Morale
690e04f4f0 REVONANO - Initial board support 2015-05-18 18:52:09 +02:00
Alessio Morale
b59408863a REVONANO - Allows per board linker scripts 2015-05-18 18:48:17 +02:00
Alex Beck
d6751172ae OP-1848 altvario fix simposix build 2015-05-14 20:34:32 +10: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
3784357a18 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-13 17:33:11 +10:00
abeck70
92e50c2ead OP-1810 FOC
Squashed commit for clean commit as discussed in code review
Uncrustify
2015-05-13 17:19:51 +10:00
abeck70
2eef3e2dd2 OP-1848 altvario discovery4bare remove second instance of uavo 2015-05-09 14:54:40 +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
abeck70
a9ad3c5ec1 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-04 08:42:54 +10: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
21c54c3a37 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1848r-altvario 2015-05-01 22:59:36 +10:00
m_thread
c4c60c897b Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next 2015-05-01 09:53:35 +02:00
abeck70
87f521bde3 OP-1867 autoland
build fix
2015-04-30 23:11:32 +10:00
m_thread
1f7a8d7ef1 OP-1837 Fixed a wrongly named config. 2015-04-27 01:05:47 +02: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
Steve Evans
5c5c8b5947 OP-1849 Uncrustify 2015-04-26 21:45:43 +01: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
25b0b3df0f OP-1849 For Revo put DTR on pin 9 of FlexIO port 2015-04-26 11:26:04 +01: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
Alessio Morale
6d9bb8a287 OP-1857 - Enable PPM On Flexi Port 2015-04-25 20:21:56 +02:00
Steve Evans
7f93340f7f OP-1849 Initial commit 2015-04-24 22:46:07 +01:00
abeck70
443b3742cc OP-1848 altvario
1. Build fixes
2. Additional UI components.
2015-04-23 21:54:20 +10:00
abeck70
0d77cd95d9 OP-1848 altvari0
1. build fixes
2. Updated ui to use updated uavo names in altitude settings that align to the naming in vtol settings
3. Moved call the thrust altvario to pre application of PIDs for 3d axes to allow for later coupling.
2015-04-23 21:13:00 +10:00
Steve Evans
79339d677f Merge branch 'steve/OP-1803_s.bus_dropped_frames' into steve/OP-1849_update_minimosd_via_usb 2015-04-21 07:44:50 +01:00
Alessio Morale
ab36dcbdee Merge remote-tracking branch 'origin/rel-15.02.02' into next 2015-04-20 14:54:07 +02:00
Alessio Morale
061ef1e377 Merge remote-tracking branch 'origin/amorale/OP-1828_optional_analog_inputs' into next 2015-04-20 12:08:34 +02:00
abeck70
1e9bd43871 Merge branch 'next' into abeck/OP-1760-autotakeoff-squashed 2015-04-19 17:52:35 +10:00
Alessio Morale
5c76c0ee07 Merge remote-tracking branch 'origin/steve/OP-1289_two_telemetry_streams' into next
Conflicts:
	flight/modules/Telemetry/telemetry.c
2015-04-18 19:10:13 +02:00
abeck70
a52969a76b OP-1760 Autotakeoff
Squashed commit as code reviews impossible otherwise due to dependencing on OP-1696
2015-04-12 21:39:31 +10:00
Rich von Lehe
e6de41855b OP-1740: GetSet use enums: Getting more files to conform to using enums instead of uint8_t... 2015-04-11 15:43:04 -05:00
Alessio Morale
4afd644018 OP-1828 - Revolution: Maps Servo 3-6 to ADC2-5 2015-04-10 01:16:59 +02:00
Alessio Morale
6641bb0e21 OP-1828 - Add boards support 2015-04-09 00:26:04 +02:00
Alessio Morale
ee19ff893e OP-1820 - Add mag orientation parameter in hmc configuration 2015-04-03 20:40:52 +02:00
Steve Evans
a0f180d393 OP-1803 Initial commit 2015-04-02 19:09:58 +01:00
abeck70
88494e2745 OP-1696 PathFollower rewrite in C++ and Landing Squashed commit of the following:
commit 580cd8addafadc3109b90b1fd183130ea8add7f2
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Mar 20 21:32:33 2015 +1100

    OP-1696 Cleanup and bug fix

    1. Code review cleanup
    2. Fixed gps assist braking - the thrust limits in piddown were not being set.

commit 31ac4494f6e2bc5859f49d1f76f19fe3a4d32862
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 18 08:31:16 2015 +1100

    OP-1696 fix initialisation of down pid control parameters

commit a7bd737459249530bde9546b8247dd45b40dced4
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 17 21:18:38 2015 +1100

    OP-1769 Actuator fix from code review

commit 968172b8fb46c91b2611be4825e17faf2fa13411
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 17 21:01:11 2015 +1100

    OP-1696 fixed ground pathfollower settings xml

commit 721c07b67a87911ed67d0b62aa658cfac6d3eb97
Merge: f556215 be9f4ae
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 17 20:52:01 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit f556215ddbd5a29b22c2e6124372d74a0d6b9a0f
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 17 20:51:22 2015 +1100

    OP-1696 ground pathfollower fixes

commit 4584b22d6a2d33d3efb1cd11ac46804a5623a236
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 17 18:11:52 2015 +1100

    OP-1696 Ground redesign

    1. Move to new PID loop design
    2. Prototype steering control

commit b70c3373646fa758ae30a59765b8a56df7d2fbeb
Author: abeck70 <abeck70@icloud.com>
Date:   Sun Mar 15 18:42:06 2015 +1100

    OP-1696 ground pathfollower added missing call to update velocity state

commit a282bfb14dffcd486466b60be3100d26c11649ef
Author: abeck70 <abeck70@icloud.com>
Date:   Sun Mar 15 17:22:02 2015 +1100

    OP-1696 ground pathfollower improvements

commit f56ea4f9b101415e32e4464e51e087ee350be969
Author: abeck70 <abeck70@icloud.com>
Date:   Sun Mar 15 07:44:01 2015 +1100

    OP-1696 remove unused PID controller in ground for vertical

commit 6424aa0a84c3718a5a7b51fab1c9e04587d325b8
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 14 21:40:58 2015 +1100

    OP-1696 Initialise vtolemergencyfallback variables

commit 5d6110499bb06fe9b397e09dea5aafe994f03d13
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 14 21:30:21 2015 +1100

    OP-1696 vtolflycontroller segv fixed and uncrustify

commit bef23ea3dc2b5aff5b9b8713802586719b8f68cf
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 14 20:50:05 2015 +1100

    OP-1783 PathPlanner

    Instead of config alarm if no pathplan, simply continue to alarm pathplan, but allow normal arming and flight in other modes.  If pathplan enabled, simply enter position hold.

commit 370f1747209cca7c01c071a43224ad83b04bdd55
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 14 20:48:22 2015 +1100

    OP-1769 Ground code review comment

    1. Remove idx1 < 0 check not needed
    2. Should return abs_input in the corner case that curve is "invalid".

commit 01973c656d783e035ad823c267d3387bf473eebe
Merge: be07d12 5c9b6fa
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 14 12:17:31 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit be07d125f42b5ca1aabce0f5c0fcf592e8cddf98
Merge: 44afdc7 ad44b31
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Mar 12 21:55:52 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 44afdc77987049dc58cdf42e3be88b7eae38de02
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Mar 12 19:35:55 2015 +1100

    OP-1696 fix startup

    Fix initialisation and void use of pios_malloc at startup

commit 962f5f75756883cec6726c0347310d60264f6989
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Mar 12 18:48:04 2015 +1100

    OP-1696 undo changes to make file

commit 7fa71d5c614d492cb4026312672068f92a4bcd3e
Merge: 672732e 5a9cfa6
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Mar 12 18:06:59 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 672732e95d555946300ef5093f687f3fa88bfd3a
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 11 12:59:44 2015 +1100

    OP-1696 code review comments

commit 73b295d6515f2489b3b3a61459c975b0c37afe3d
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 11 12:47:24 2015 +1100

    OP-1696 code review comments

commit 524b72f537fe922bf3c4385b418872f13819a5cf
Merge: 6beef01 ba5f395
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 10 23:19:06 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 6beef01476d06598652a10de4857e6ae55015417
Merge: 100cf33 8c31f96
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Mar 7 16:50:32 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 100cf335d187fe696d3678371b194fc3044a1c7e
Author: Alex Beck <abeck70@icloud.com>
Date:   Thu Mar 5 22:32:30 2015 +1100

    OP-1696 simposix c++ compilation fix

commit 9ebf846d1ec8fef30ffc1204546fc5dc648ec10b
Author: Alex Beck <abeck70@icloud.com>
Date:   Thu Mar 5 21:35:39 2015 +1100

    OP-1696 fix simposix c++ compile of pathfollower

commit a86b4b1db46dba569739587ee57b03460381ebab
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Mar 5 18:03:51 2015 +1100

    OP-1696 resolve linux build issue

commit 1d7695f81293534bc17f69b0fcd9de3876867f6a
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 4 18:10:09 2015 +1100

    OP-1696 Return to Base & Land implemented

    Enabled via FlightModeSettings ReturnToBaseNextCommand = LAND

commit 4e5ca807b18a40ea60c05c1b46f738462595a6b2
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 4 16:38:06 2015 +1100

    OP-1696 reduce memory footprint by only allocating controllers required for a particular frame type

commit 78e8f559cd25ffaeac68b563e25d1ad357205fd6
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 4 13:51:05 2015 +1100

    OP-1696 move fsm initialisation to controller implementations

commit 848c78a84e5c7e11b2da953c9d9549b11fc5b1d8
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Mar 4 13:27:11 2015 +1100

    OP-1696 reduce memory through re-use of pointers to data objects in base class.

commit bc8794601142055942910ba9f938c03c8a3ca547
Merge: 24bc3de 843325d
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 3 22:06:01 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 24bc3de6155a74850b17ca7706f6b592923e027c
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 3 17:56:12 2015 +1100

    OP-1696 update gcs path planner options to align to new modes

commit dc659891882ea0624a6436550425c54b347f4101
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Mar 3 13:51:55 2015 +1100

    OP-1696 pathfollower class renaming and uncrustify

commit af19d114b8e0ff23159bdaca37e5f5bf1c1f8beb
Merge: b07c1fd 04f4cd9
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Mar 2 21:47:12 2015 +1100

    Merge branch 'rel-15.02' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit b07c1fdd0544a555678bc7a8510cd92861f17e46
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Mar 2 21:27:27 2015 +1100

    OP-1696 remainder of changes to integrate drive and fly objectives

commit c824c53cf30889a468ecb25ae3d705fa011b23ba
Merge: b89751c 1102243
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Mar 2 17:06:13 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit b89751caa5d6dc06e1e20391aa4e12b5484056d4
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Mar 2 17:04:27 2015 +1100

    OP-1696 merge fly and drive pathdesired/action objectives

commit c463132cb7da5cdf9fc5395ae0650b081bc9fb55
Author: abeck70 <abeck70@icloud.com>
Date:   Sun Mar 1 10:25:29 2015 +1100

    OP-1696 merge ground pathfollower and refactored into C++

    commit 6ed504b32f9e502e4f02d50b9e85ba91591417ba
    Merge: bcf245e deafed6
    Author: abeck70 <abeck70@icloud.com>
    Date:   Fri Feb 27 18:12:32 2015 +1100

        Merge branch 'next' into corvuscorax/OP-1642_tank-support

        Conflicts:
        	flight/modules/PathFollower/pathfollower.c
        	shared/uavobjectdefinition/vtolpathfollowersettings.xml

    commit bcf245e08c3348f2e6e5eddceee6d6cc268bdc23
    Author: Corvus Corax <corvuscorax@cybertrench.com>
    Date:   Sat Dec 6 19:45:29 2014 +0100

        OP-1642 added new uavobject to discovery target, too

    commit 6b9e8a7d7dad0739b4ffd2ce7f2f78ed4f597077
    Author: Corvus Corax <corvuscorax@cybertrench.com>
    Date:   Sat Dec 6 17:58:18 2014 +0100

        OP-1642 added very simple path control for ground vehicles

    commit e8d8440e049c06158e7fc542627fac6420abaf65
    Author: Corvus Corax <corvuscorax@cybertrench.com>
    Date:   Sat Dec 6 17:17:09 2014 +0100

        OP-1642 added new settings uavobject for tank path follower

commit 71dd726eb5b52614b417236c22e8a5cc3a487faf
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 27 18:05:10 2015 +1100

    OP-1696 align pathaction to pathdesired

commit 8a88af83be457aafbb63e4f94fad3b1cd54264ca
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Feb 26 08:06:34 2015 +1100

    OP-1696 fixed wing control refactored and compiling

commit fd9850b5e5680f5b422dbc468a94c5ec4b6dd518
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Feb 25 17:47:19 2015 +1100

    OP-1696 Removed vtol stuff from pathfollower.cpp after having replaced it with class impl

commit 9127d8d6d8c345c5bbf8622ce4e5eb76b03d1356
Merge: 4054c73 93fb2d5
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Feb 25 13:09:06 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 4054c73ac98b54188a0a5367c5ca913b7fee6a89
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Feb 24 12:29:28 2015 +1100

    OP-1696 fix compile errors

commit b398db3d4de8cd621a059da1f0dbb00868be0fb9
Merge: 94c795a 3e15cac
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Feb 24 12:06:35 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 94c795af386cf0f1072a88e99a80cb1080bf85e7
Merge: d2115de 57e0a8b
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 23 17:54:33 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

    Conflicts:
    	flight/modules/Sensors/sensors.c
    	make/common-defs.mk

commit d2115dee4e8e9b6a02f7b7700e4715480a56b18f
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 23 14:35:02 2015 +1100

    OP-1696 preliminary checkin for refactor of fly

    TODO:
    1. Finalise and test fly, brake
    2. Remove patfhollower vtol fly
    3. Rename all objects adding vtol in name

commit 95804b1d591d194cce3596187c74cdb2dd0d192f
Merge: 58cebb0 31c1385
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Feb 21 22:10:03 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 58cebb0658deaece1555cfa24e50f1b86fd68c96
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Feb 21 22:09:29 2015 +1100

    OP-1696 refactor neutral thrust and add pos hold implementation

commit 2c3cadfef3de9e092bd66bbabc58ac7847aca7e4
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 20 18:32:11 2015 +1100

    OP-1696 start of refactor of braking

commit 991c2124e834f3432f5e34c5c9f4966cb42a7be3
Merge: 1ab5798 db7d605
Author: abeck70 <abeck70@icloud.com>
Date:   Thu Feb 19 12:17:54 2015 +1100

    Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1696

commit 1ab579865f04aeaa5899f5065a983de29074e025
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Feb 18 21:29:01 2015 +1100

    OP-1696 Rewrote velocity roam into new C++ OO architecture

    With use of new PID controller for NE.

commit 03edb049f06bf60054dce36a5b8b301a397284c4
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Feb 18 12:19:17 2015 +1100

    OP-1696 Start of refactoring of VelocityRoam implementation in PathFollower

    Also TODOs:
    1. To support pathplanner, remove all references to FlightStatus object and add more fields to PathDesired
    2. Refactor Braking to use C++
    3. Test and optimise Velocity Roam
    4. Add more config options to Landing. For example disable disarming. And add more setting objects.
    5. Consider moving all landing settings to one object.

commit 1f5dba821d4535a9a14f333efdeec1af5afcc281
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 16 22:51:31 2015 +1100

    OP-1696 Landing tuning

commit 5133956c717fba871dd5700333806e298038a3d0
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 16 21:05:06 2015 +1100

    OP-1696 Landing

    Multiple fixes

commit cf22055ecb8eb7304174c730f249a2332ebc599b
Author: abeck70 <abeck70@icloud.com>
Date:   Sun Feb 15 20:52:29 2015 +1100

    OP-1696 Add PIDStatus debug object

commit bc13d732601e7c7cb48db17f1a75b33cc96c0c34
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Feb 14 15:53:16 2015 +1100

    OP-1696 Landing sanity tested

commit 6e913076c1dfcb8b90153e9eca8acf6c9e51f293
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Feb 14 11:16:06 2015 +1100

    OP-1696 completed refactoring

    1. Completed refactoring of NE and Thrust control
    2. Fixed velocity roam

    TODO Tuning and testing

commit 63b62fbd0ac105029e54163b98c3beebc2d73c3a
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 13 08:54:23 2015 +1100

    OP-1696 New PID Controller and refactoring of PID implementation for thrust management

commit 7474331529477d0badd2ef0d609c84c556be9cec
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Feb 10 16:39:44 2015 +1100

    OP-1696 Landing Refactor Thrust PID Loop for landing

commit 904ab2a9241e40c19da6a1508b4ce5243c75d7a3
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 9 22:13:39 2015 +1100

    OP-1696 Uncrustify

commit b3d30e298d8a0343782a29bc91be6677105b325e
Author: abeck70 <abeck70@icloud.com>
Date:   Mon Feb 9 22:05:05 2015 +1100

    OP-1696 Create new OO design

    Added PathFollowerControl which has an Landing implementation.  The landing implementation runs its own set of PIDs.  And interfaces to the FSM for Landing.

commit 1ffd8d67cf7310c1c18c90f3ba18b08221d185a3
Author: abeck70 <abeck70@icloud.com>
Date:   Sat Feb 7 18:04:42 2015 +1100

    OP-1696 Upgrade arm tools

commit 3df01f97021d13694027b92ba0b13cc9fe70d437
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 6 21:52:38 2015 +1100

    OP-1696 Landing uncrustify and start of refactoring landing to make more use of FSMLand

commit 7a753b65fb69d52c89875b9a182ef5210ee8ef2d
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 6 15:08:29 2015 +1100

    OP-1696 Landing: fix compilation of all exes

commit 692459874acf2b7ae07aa3ab88a2c78a09f26ee6
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 6 14:45:06 2015 +1100

    OP-1696 Landing startup fixes

commit 9851f29b9238a969efd0110f01a4fad6bdbc5a5d
Author: abeck70 <abeck70@icloud.com>
Date:   Fri Feb 6 10:21:52 2015 +1100

    OP-1696 Landing pathfollower CPP refactoring

commit 9b3a54d41f14f07cd0d78426026d12ae9ac4e5b5
Author: abeck70 <abeck70@icloud.com>
Date:   Wed Feb 4 13:02:44 2015 +1100

    OP-1696 Moved to FSMLand class and fixed CPP problems

    1. Additional methods, compile options, and need to have main as a cpp to solve various link issues when using static constructors but to avoid adding unnecessary libs.

commit 7ebe739bfdb4e0f598f4408c1488f01bc033c044
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Feb 3 22:17:08 2015 +1100

    OP-1696 Initial Landing prototype

    Proof of concept. To be refactored into C++

commit 11d6754b9766efb76cc1cd57e9894badaf33ef2d
Author: abeck70 <abeck70@icloud.com>
Date:   Tue Feb 3 22:13:10 2015 +1100

    OP-1696 CPP Enablement

    revo c++
    Enable optional revo C++ support:
    1. Set USE_CXX to enable compliation and linkage of C++ source code
    2. Disables rtti and exceptions
    3. operator new and delete call pios malloc/free
    4. Static constructor invocation supported
2015-03-20 21:42:20 +11:00
Steve Evans
6bb732fb02 OP-1289 Need Revo to send two telemetry streams for OSD and GCS 2015-03-14 23:58:18 +00:00
Alessio Morale
81b9d2e379 OP-1743 - Raise manualcontrol stack 2015-02-24 22:03:18 +01:00
Alessio Morale
84465ae0cb OP-1743 - Fix a very ugly error in attitude(cc/cc3d) 2015-02-24 22:02:25 +01:00
abeck70
0cd7e20425 Merge branch 'amorale/OP-1685_various_fixes' into test-oneshot 2015-02-23 16:47:12 +11:00
abeck70
57e0a8baf5 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into abeck/OP-1721
Conflicts:
	flight/modules/Sensors/sensors.c
2015-02-23 14:40:55 +11:00
Alessio Morale
ad42ca7f16 Merge remote-tracking branch 'origin/amorale/OP-1658_sensor_overhaul_next' into next 2015-02-22 16:28:04 +01:00
Alessio Morale
60abae8a8b OP-1685 - Rename PIN6 to PIN8 (that's Input6) 2015-02-22 13:25:07 +01:00
abeck70
b61a76eeae Merge branch 'next' into abeck/OP-1721 2015-02-19 12:19:28 +11:00
Laurent Lalanne
26ec24f5b1 Merge remote-tracking branch 'origin/laurent/OP-1601_CC3D_Ubx_only' into next 2015-02-18 02:58:19 +01:00
Alessio Morale
39513f0533 OP-1685 - Rename OneShot to PWMSync to avoid confusion 2015-02-17 23:20:07 +01:00
Alessio Morale
fbdd88c161 OP-1685 - handle servo outputs with PPM_Pin6, sanity check for flexi_ppm 2015-02-15 19:08:49 +01:00
abeck70
53482be09c OP-1721 C++ and ARM tools
Enable revo C++ support:
1. Set USE_CXX to enable compliation and linkage of C++ source code
2. Disables rtti and exceptions
3. operator new and delete call pios malloc/free
4. Static constructor invocation supported
5. Additional methods, compile options, and need to have main as a cpp to solve various link issues when using static constructors but to avoid adding unnecessary libs.
6. Upgrade arm tools
2015-02-13 12:56:04 +11:00
Alessio Morale
1ad040229c OP-1685 - implement PPM on pin 6 2015-02-12 00:00:17 +01:00
Alessio Morale
096a321181 OP-1685 - calls sanitychecks after updates to actuatorsettings, update board sanitycheck rules 2015-02-11 23:59:23 +01:00
Alessio Morale
fd299b559a OP-1685 - Add custom sanity check hook to test OneShot availability 2015-02-11 22:33:57 +01:00
Alessio Morale
a4da83a1be OP-1685 - Add OneShot compatible configurations 2015-02-11 22:33:57 +01:00
Laurent Lalanne
cd2ad35ae0 OP-1601 Add command line options for fw_coptercontrol : GCSRECEIVER=YES and DIAG_TASKS=YES 2015-02-08 22:37:24 +01:00
Alessio Morale
46521f1c2d Merge remote-tracking branch 'origin/amorale/OP-1683_syncupdate_oneshot' into next 2015-02-08 17:59:59 +01:00
Laurent Lalanne
f92eba93ef OP-1601 Ubx only, more efficient to save Ram on CC/CC3D 2015-02-07 17:02:59 +01:00
Laurent Lalanne
f378ca6da7 Merge branch 'laurent/CC3D_Nmea_Gps_14.10' into laurent/CC3D_next_Ubx_only 2015-02-07 14:04:58 +01:00
Laurent Lalanne
58e70b2e3a CC3D special firmware : Nmea GPS 2015-02-06 16:59:41 +01:00
Alessio Morale
aa55b1523d uncrustify 2015-02-05 01:42:32 +01:00
Alessio Morale
857cead7c7 OP-1658 - Fixes for other targets (OSD and GPS) 2015-02-03 00:00:06 +01:00
Alessio Morale
fe59057476 OP-1658 - Applying sensor framework to RevoProto 2015-02-03 00:00:06 +01:00
Alessio Morale
3d49362345 OP-1658 - Applying sensor framework to revolution 2015-02-03 00:00:06 +01:00
Alessio Morale
0cf5d163d1 OP-1658 - Fixes for CC3D and its attitude module 2015-02-03 00:00:06 +01:00
Alessio Morale
9d36ac4b9c OP-1658 - Apply to Revolution target 2015-02-03 00:00:05 +01:00
Laurent Lalanne
b9bfcd18d2 OP-1686 Slave Oplink may want to receive PPM data in PPM_Only mode 2015-02-02 21:25:38 +01:00
Karl Knutsson
137c183ec2 OP-1522 Remove unused channel set cfg
Remove unused channel set configuration option.
With the new channel allocation the old channel set
configuration isn't needed.
2015-02-02 21:25:38 +01:00
Karl Knutsson
a3715598c7 OP-1522 New channel allocation
Generate a pseudo random list of channels from hmac_sha1 with the
coordid as key.

Enforce channel spacing based on the frequency deviation derived
from the configured data rate.
2015-02-02 21:25:38 +01:00
Corvus Corax
7e421b99a4 uncrustificationization 2015-01-25 15:48:45 +01:00
Alessio Morale
ec69941c30 OP-1683 - Fix compilation for other targets 2015-01-24 13:08:56 +01:00
Alessio Morale
411416d2a1 OP-1683 - Fix compilation for CC (not yet supported) 2015-01-24 00:18:20 +01:00
Alessio Morale
73c6ae2055 OP-1683 - Add revolution and other f4 targets support 2015-01-23 23:56:39 +01:00
Laurent Lalanne
68f9763e73 OP-1652 Typo FlexiIOPin 2015-01-21 14:32:21 +01:00
Laurent Lalanne
bc178b8a95 OP-1652 WS281x pins : Update flight side for revo 2015-01-21 14:12:36 +01:00
abeck70
2b6d79467c gpsassist:code review comments
1. Defines
2. Name of adjustments changed to vtolSelfTuningStats
2015-01-09 07:51:37 +11:00
abeck70
b1c94e83d0 gpsassist: One commit new branch
Collapsed into one branch for a new code review.  Some unnecssary committed files removed.
2015-01-08 13:20:47 +11:00
Mathieu Rondonneau
6844f8351d run uncrustify. 2014-12-04 20:17:29 -08:00
Mathieu Rondonneau
4b00f6039d OP-1626: Allow binding to happen within satellite binding window.
- This is working for satellite 22ms (genuines and clones).
 - This change only affect revo.
2014-11-29 19:59:18 -08:00
Alessio Morale
99d73426b8 Uncrustify 2014-11-27 12:05:59 +01:00
Fredrik Larsson
1687ef7e8f Merge remote-tracking branch 'origin/rel-14.10' into next 2014-11-23 12:15:32 +11:00
Fredrik Larsson
cd94410468 DSM Protocol removed flight firmware 2014-11-22 08:32:00 +11:00
Laurent Lalanne
4fdcceda65 Merge branch 'laurent/OP-1601_CC_Ram' into next 2014-11-17 03:30:45 +01:00
Laurent Lalanne
9e0ede3386 OP-1601 barosensor.c and airspeedstate.c removed from Makefile 2014-11-15 22:17:08 +01:00
Fredrik Larsson
e7d183b5e6 Merge branch 'rel-14.10' into next 2014-11-07 14:58:41 +11:00
Alessio Morale
e04825e7b7 OP-1588 - Remove *relay flight modes 2014-11-01 16:11:11 +01:00
Alessio Morale
71d30a7521 OP-1584 - reduce telemetry queue size 2014-10-31 20:39:52 +01:00
Alessio Morale
c0ca20f661 OP-1584 - Remove auxmagsupport from cc3d for now as it is unused, remove other stuffs from ubx when GPS_MINIMAL is selected 2014-10-31 19:56:38 +01:00
Alex Beck
e2b38d0d7d Yaffs or dosfs now conditional linkage for simposix yaffs testing 2014-10-28 08:48:38 +11:00
abeck70
942945850b Merge branch 'next' into abeck/OP_1503v3-yaffs 2014-10-23 21:25:54 +11:00
Alessio Morale
a9f35e2afe Merge branch 'amorale/OP-1535_mpu_overhaul' into next 2014-10-16 00:51:02 +02:00
abeck70
de68e0179f First round review comments 2014-10-14 17:17:59 +11:00
Alessio Morale
5d074063d1 OP-1535 - Add board specific sensor update rate constant 2014-10-14 05:38:57 +02:00
Alessio Morale
f2fc5f5616 OP-1513 - Fix time constants, set initial temperature as first sample value 2014-10-11 23:54:21 +02:00
Alessio Morale
4a8cfe3f86 OP-1535 - Refactor MPU6k driver to allow direct and fifo access based on configuration 2014-10-10 22:33:50 +02:00
Alessio Morale
28274cdb6b OP-1535 - Fixes CC3D sensor SPI configuration 2014-10-10 22:33:49 +02:00
Alessio Morale
9350bd65d9 OP-1535 - change sensor rate to 1KHz with software downsample to 500Hz
Allow per board SPI prescaler settings
2014-10-10 22:33:49 +02:00
abeck70
948d6546af yaffs simposix ready for review
All yaffs changes for library inclusion, arm compilation, and simposix integration.
2014-10-10 13:21:06 +11:00
Stefan Karlsson
aaebc25eff OP-1528 Fix Telemetry-only over the Flexi-IO port 2014-10-08 00:31:31 +02:00
Stefan Karlsson
004f5a32a9 OP-1528 Enable Telemetry on the Flexi-IO (receiver) port on the Revo 2014-10-06 21:28:09 +02:00
Alessio Morale
8e2e534c60 Uncrustify/clean commented code 2014-10-03 11:41:26 +02:00
Alessio Morale
e553014596 Merge branch 'amorale/OP-1476_1477_1275_GPSV9_pios_firmware_bootloader' into next 2014-10-03 00:37:55 +02:00
Alessio Morale
9cfd55d006 Merge branch 'amorale/OP-1507_gps_module_cpu_optimization' into next 2014-10-03 00:37:39 +02:00
Alessio Morale
ae9f30c729 OP-1477 - Fix mag exti config, set correct rate, set correct SPI speed for hmc5x83. Note: GPIO is disabled as it seems there is some issues with Exti on PB0 2014-10-01 02:07:46 +02:00
Alessio Morale
9e0596c2c5 Merge remote-tracking branch 'origin/amorale/OP-1379_ext_led_notification_module_new' into next
Conflicts:
	Makefile
	flight/targets/boards/discoveryf4bare/firmware/Makefile
	flight/targets/boards/revolution/firmware/Makefile
2014-09-29 21:26:31 +02:00
Alessio Morale
d0b37bab28 OP-1507 - Handles GPS data a chunk at time instead of a single byte at time. 2014-09-27 00:17:00 +02:00
Fredrik Larsson
5bbd6724d6 Merge remote-tracking branch 'origin/skarlsso/OP-1493_discoveryf4bare_support_in_gcs' into next 2014-09-23 21:11:15 +10:00
Alessio Morale
7a9a0868c9 OP-1275 - split persistence handling out of UavobjectManager. stubs are used if target deos not support persistency 2014-09-20 21:02:51 +02:00
Alessio Morale
2885a20acb OP-1477 - add watchdog support 2014-09-16 22:51:28 +02:00
Alessio Morale
2f50dbeee5 OP-1477 - Split and cleanup gpssys module 2014-09-16 22:40:55 +02:00
Alessio Morale
1fa2bfddc6 OP-1477 - Add GPS System Module 2014-09-16 22:40:54 +02:00
Alessio Morale
531d80a69c OP-1476 - Fix other targets for OP_DFU changes 2014-09-16 22:40:54 +02:00
Alessio Morale
b971b713d6 OP-1476 - Fix Bootloader jumpToApp condition and change speed to 57600 2014-09-16 22:40:53 +02:00
Alessio Morale
7e73c59e90 OP-1476 - Fixes for Bootloader
- Allocate 10KBytes for bootloader;
- Replace pios_com_msg with pios_com for ssp support
- Change Speed to 9600 for higher reliability
2014-09-16 22:40:53 +02:00
Alessio Morale
c44dac2447 OP-1476 - fix bootloader for serial support 2014-09-16 22:40:53 +02:00
Alessio Morale
3eca0fefef OP-1477 - Change mag GAIN to 1.3 2014-09-16 22:40:53 +02:00
Alessio Morale
250b7fe962 OP-1477 - Fix mag DRDY/GPIO support 2014-09-16 22:40:52 +02:00
Alessio Morale
14862c687d OP-1477 - Add ubx handling libraries 2014-09-16 22:40:52 +02:00
Alessio Morale
a6fc5c9190 OP-1477 - Fixes for multi device support of HMC5x driver 2014-09-16 22:40:52 +02:00
Alessio Morale
bcb30ecbf3 OP-1477 - enable temp compensation and fix axis orders 2014-09-16 22:40:52 +02:00
Alessio Morale
4890ef3ab0 OP-1477 - Add support for Flash 2014-09-16 22:40:52 +02:00
Alessio Morale
146c1764fd OP-1477 - UBX_DDC driver implementation 2014-09-16 22:40:52 +02:00
Alessio Morale
71af403c9d OP-1477 - some cleanup 2014-09-16 22:40:51 +02:00
Alessio Morale
7e55d6ff41 OP-1477 - add support for SPI/MAG 2014-09-16 22:40:51 +02:00
Alessio Morale
b4f9c7c2b1 OP-1477 - BL fix issue with usart name 2014-09-16 22:40:51 +02:00
Alessio Morale
b3a971e91d OP-1477 - support for mag 2014-09-16 22:40:51 +02:00
Alessio Morale
c28eb4fbca OP-1477 - Add SPI Support 2014-09-16 22:40:51 +02:00
Alessio Morale
46424523b0 OP-1477 - Firmware usart Working 2014-09-16 22:40:51 +02:00
Alessio Morale
1970e0a870 OP-1477 - Fix bootloader 2014-09-16 22:40:50 +02:00
Alessio Morale
9b61fc611b OP-1477 - Add platform support 2014-09-16 22:40:50 +02:00
Alessio Morale
c49497f2e0 Merge branch 'amorale/OP-1434_GPSV9_fc_support' into next 2014-09-15 23:49:54 +02:00
Stefan Karlsson
09a943f17f OP-1493 Make Vehicle and TX Wizards work with the discoveryf4bare target 2014-09-15 23:43:58 +02:00
Stefan Karlsson
dd86e7f9c4 OP-1493 Update BOARD_REVISION for discoveryf4bare and fix AutoUpdate 2014-09-15 23:30:17 +02:00
Werner Backes
2f0c43c6e5 Wrong I2C bus used for the onboard magnetometer 2014-09-15 03:11:31 +10:00
Alessio Morale
76b9b1c40f OP-1406 - Create a support library to share common calibration and sample publishing logic 2014-09-13 16:14:34 +02:00
Alessio Morale
233dec6d8d OP-1379 - Various fixes and additions
- Support blocks of led for notification (that is a certain number of leds between a min and a max index);
- Fix an issue with bogus colours on fast updates at LED N°0.
- Add NOTIFY_SEQUENCE_NULL to skip handling a specific alarm status;
- Adjust sequences and add Config and Receiver Alarms;
- fix issue with Alarm trigger/repetition;
- Enables Notify module only if a WS281x output is enabled.
- Add some documentation for sequence/alarm definitions (sequences.h)
- Make sequences more coherent. All GPS related info are now shown in green.
- Revert to original blinking rate for onboard led
- add Notify on DiscoveryF4Bare target
2014-09-06 12:11:53 +02:00
Alessio Morale
10f5d7c531 Merge remote-tracking branch 'origin/skarlsso/OP-922_fix_fw_DEBUG_compile_errors' into next 2014-08-26 01:05:32 +02:00
Alessio Morale
e64ab1f1ff OP-1370 - Configure bidirectional COM port for GPS 2014-08-22 02:41:36 +02:00
Stefan Karlsson
070c2569ff OP-922 Add pios_user_fs_id to oplinkmini to fix DEBUG=YES link error 2014-08-21 22:37:38 +02:00
Stefan Karlsson
607f7ae4bc OP-922 Add missing UAVO source files to the fw_osd target 2014-08-21 20:15:56 +02:00
Alessio Morale
55557ecd60 OP-1434 - Add gps extended status 2014-08-21 19:34:35 +02:00
Alessio Morale
e511190ad3 OP-1406 - Improve handling of external magnetometer, add additional settings 2014-08-21 19:34:35 +02:00
Alessio Morale
7abbf5fa5a OP-1406 - Fixes for all other targets 2014-08-21 19:34:35 +02:00
Alessio Morale
cced294760 OP-1406 - Add support for aux mag calibration settings.
todo:
- GCS handling for extenal mag calibration
2014-08-21 19:34:35 +02:00
Alessio Morale
52ad63be33 OP-1406 - Add support for Aux magnetometer on flight controllers 2014-08-21 19:34:35 +02:00
Corvus Corax
8daa5dfa12 Merge branch 'next' into corvuscorax/OP-1156_pathfollower-unification 2014-08-16 13:58:40 +02:00
Alessio Morale
376aa0052f OP-1379 - Initial Notify module. Supports:
1) predefined seqences associated with each flightmode. 2) fixed table with alarm index and assciated led warn/error sequences/repetition rate.
2014-08-13 15:18:17 +02:00
Alessio Morale
f556a5e335 OP-1379 - Split simple notification and external lednotifications libraries 2014-08-13 15:14:55 +02:00
Alessio Morale
1067ea59d1 OP-1379 - Split pios_ws2811.h in config and public api header 2014-08-12 22:19:30 +02:00
Corvus Corax
ca1923f76f OP-1156: Added new (stub template) pathFollower Module as well as builkd environment changes to compile it instead of old pathfollowers 2014-08-10 12:50:38 +02:00
Corvus Corax
c5fae5ee84 Merge branch 'next' into andrecillo/OP-1317_IMU_wind_estimation 2014-08-09 10:43:48 +02:00
Alessio Morale
d856bbdb50 OP-1403 - Update targets 2014-08-02 20:48:48 +02:00
Alessio Morale
57a43a5587 OP-1403 - Migrate to new HMC5x83 driver and remove old HMC5883 one 2014-08-02 20:48:34 +02:00
Corvus Corax
5edb2dbae3 Merge branch 'andrecillo/OP-1317_IMU_wind_estimation' into corvuscorax/OP-1317_IMU_wind_estimation 2014-07-26 17:01:03 +02:00
Andres
ffabbc577c OP-1317 moved Butterworth filter code into flight/libraries/math/butterworth.* 2014-07-22 20:03:43 +02:00
Alessio Morale
4389f767f3 uncrustify 2014-07-02 23:27:58 +02:00
Alessio Morale
1b823b7b92 Merge remote-tracking branch 'origin/Bertrand/OP-1308_Set_Same_Logic_To_Alarms' into next
Conflicts:
	flight/libraries/sanitycheck.c
	flight/modules/StateEstimation/filtermag.c
	flight/modules/System/systemmod.c
2014-06-26 20:31:27 +02:00
Alessio Morale
c6a773363f Merge branch 'amorale/OP-943_add_malloc_for_ccsram' into next
Conflicts:
	flight/pios/common/pios_adxl345.c
	make/apps-defs.mk
2014-06-22 19:31:03 +02:00
Alessio Morale
263fd64ab5 Merge branch 'amorale/OP-1274_freertos_v8.0.0' into next 2014-06-22 16:06:21 +02:00
Alessio Morale
eb5deb3eca OP-1274 Remove unneeded cast from task name in xTaskCreate call 2014-06-18 01:47:43 +02:00
Alessio Morale
b3b90f1f66 OP-943 inline pios_mem function have issues with simposix. 2014-06-11 22:15:40 +02:00
Alessio Morale
6226aec2a7 OP-943 uses pios_mem API for heap allocation 2014-06-11 22:15:40 +02:00
Alessio Morale
de5aed6864 OP-1227 Fix high CPU usage: Disable Instrumentation 2014-06-09 16:29:53 +02:00
Alessio Morale
8710ff4070 OP-1227 Fix high CPU usage: Some minor to Actuator module. 2014-06-08 22:39:16 +02:00
Alessio Morale
52c1d69c19 OP-1227 Fix high CPU usage: Change gyro oversampling to 46 (400Hz update rate) to lessen the cpu load and jitter due accel rate mismatch 2014-06-08 22:14:06 +02:00
Alessio Morale
c9d97639b0 OP-1302 Renable Idle Hook in CC/CC3D 2014-06-08 20:33:35 +02:00
Alessio Morale
eb35803b5b OP-1365 Flight code instrumentation API: Add support for Revolution 2014-06-07 17:44:27 +02:00
Alessio Morale
9db264a457 OP-1365 Flight code instrumentation API: Add CopterControl support 2014-06-07 00:47:06 +02:00
Alessio Morale
5e9d107c0b OP-1365 Flight code instrumentation API: Add support to DiscoveryF4bare target 2014-06-06 22:23:02 +02:00
Alessio Morale
b2ecf23a07 OP-1350 simposix build fixes :( fix altitude calculation for RTB 2014-05-19 22:21:32 +02:00
Alessio Morale
92bf876654 OP-1350 refactor into a plans library all functions dealing with initialization and execution of PathFollower/pathplanner commands for manualcontrol 2014-05-19 18:35:18 +02:00
Alessio Morale
070eccbf1f OP-1274 reenable idle hook for new led handling 2014-05-18 23:43:49 +02:00
Alessio Morale
5e83374af4 OP-1274 fixes for DiscoveryF4Bare target 2014-05-18 23:43:14 +02:00
Alessio Morale
4296b21025 OP-1274 looks like excluding vTaskSuspend does not cope with "strict" compilation options 2014-05-18 22:57:16 +02:00
Alessio Morale
af8fe1f921 OP-1274 Fixes for Simposix 2014-05-18 22:56:57 +02:00
Alessio Morale
3ec8c18fad OP-1274 fixes for RevoProto 2014-05-18 22:56:54 +02:00
Alessio Morale
99540d5db5 OP-1274 fixes for OSD 2014-05-18 22:56:51 +02:00
Alessio Morale
36e304f579 OP-1274 fixes for revolution 2014-05-18 22:56:48 +02:00
Alessio Morale
9ec21d2ade OP-1350 fix simposix target 2014-05-16 02:30:17 +02:00
Alessio Morale
52892aa7d8 OP-1350 add uavo to DiscoveryF4Bare 2014-05-16 02:19:52 +02:00
Alessio Morale
86b0829823 OP-1350 Add takeofflocation UAVO 2014-05-16 00:40:19 +02:00
Alessio Morale
58bba31c72 Merge remote-tracking branch 'origin/amorale/OP-1312_pios_ws2811_driver' into next 2014-05-15 20:30:43 +02:00
Alessio Morale
3c5a41049b Merge branch 'amorale/OP-1302_updated_led_behaviour' into next 2014-05-11 12:01:53 +02:00
Alessio Morale
711c5ea79d OP-1312 Fixes the flicker issue in Revo. Raised the Transfer complete irq priotity to prevent delays stopping the timer. 2014-05-11 10:43:24 +02:00
Corvus Corax
d916fa5aad uncrustification 2014-05-08 23:18:38 +02:00
Alessio Morale
16df6bc58c Merge branch 'amorale/OP-1307_discovery_f4_bare' into next 2014-05-08 22:56:03 +02:00
Alessio Morale
e5d6726bb6 Merge remote-tracking branch 'origin/next' into amorale/OP-1302_updated_led_behaviour 2014-05-08 22:27:08 +02:00
Bertrand Oresve
fd1b786868 Merge branch 'next'
Conflicts:
	flight/libraries/sanitycheck.c
	flight/modules/Stabilization/stabilization.c
2014-05-08 21:36:54 +02:00
Corvus Corax
153d2fb786 OP-1309 Fixed bug in Quaternion Stabilization Error Calculation in regards to independent axis 2014-05-07 22:12:01 +02:00
m_thread
a0e661b77e Disabled malfunctioning PIOS_QUATERNION_STABILIZATION option. 2014-05-07 14:19:20 +02:00
Alessio Morale
19caa57dc6 OP-1312 fix copy/paste-naming issue 2014-05-03 11:45:30 +02:00
Corvus Corax
6993570cc9 OP-1309 integrated AltitudeHold into new Stabilization 2014-05-01 11:48:38 +02:00
Alessio Morale
3897106f4d OP-1312 remove boilerplate from config using macros.
Use four locations for ch1+update dma source to exploit fifo and memory read bursts
2014-05-01 10:33:44 +02:00
Corvus Corax
59bdab697a OP-1309 some CPU and memory optimizations to get it to run on CC 2014-04-29 18:17:29 +02:00
Corvus Corax
82d2c5a308 OP-1309 Implemented control of new stabilization framework (replaces old stabilization module) 2014-04-29 00:29:15 +02:00
Alessio Morale
4cece04166 OP-1312 fix documentation, get rid of stale comments from previous implementations 2014-04-27 19:12:36 +02:00
Corvus Corax
93f82652b7 OP-1309 outer loop fully implemented - some cleanups and changes in control flow to accomodate new logic 2014-04-27 15:15:59 +02:00
Alessio Morale
e75ed6a015 OP-1307 fix mispelling of usb product id 2014-04-26 21:55:25 +02:00
Alessio Morale
99f19dd809 OP-1312 Make WS2811 driver configurable.
Now output pin may be chosen among all servo outputs and Flexi-io pins 3 and 4 (they are not used for PWM input/output)
2014-04-26 19:48:44 +02:00
Alessio Morale
a0b857337f OP-1312 Add support for Revolution (right now always active on pin3). Configurability not yet added 2014-04-26 18:40:59 +02:00
Alessio Morale
28859d2305 OP-1312 Missing ifdefs on pios_board.c 2014-04-26 18:39:57 +02:00
Corvus Corax
e9d1a2af4b OP-1309 get rid of this horrible bound() function code duplication throughout entire flight code and put it into libraries/math 2014-04-26 17:48:54 +02:00
Alessio Morale
db9435b5ed OP-1312 add a switch to include/exclude the driver 2014-04-26 17:28:49 +02:00
Alessio Morale
46f70a74c8 OP-1312 Initial version running on DiscoveryF4 2014-04-26 16:57:16 +02:00
Corvus Corax
599661ba18 OP-1309 UAVObject changes, GCS changes and Makefile changes needed for Stabi refactoring 2014-04-26 15:14:40 +02:00
Alessio Morale
0aa9ef4b57 OP-1307 Bare f4 discovery platform with no sensor, for development pourpose 2014-04-22 23:46:27 +02:00
Alessio Morale
82139a6e44 Merge remote-tracking branch 'origin/amorale/OP-1294_fix_stacks_heap_cc' into next 2014-04-15 21:46:26 +02:00
Alessio Morale
299f388245 OP-1302 Add a stub pios_notify API for user interaction/notifications
right now all notifications produces the same output, the DRAW_ATTENTION sequence
2014-04-13 17:42:57 +02:00
Alessio Morale
132aa83dff OP-1302 Fix other targets 2014-04-13 12:38:07 +02:00
Alessio Morale
5d637fab87 OP-1302 move stuffs away from systemmod 2014-04-13 11:54:25 +02:00
Philippe Renon
3b7b06aad0 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next 2014-04-09 09:11:54 +02:00
Philippe Renon
c8397ee0b8 Merge remote-tracking branch 'origin/filnet/OP-1033_fw_usb_cleanups' into next 2014-04-09 09:08:09 +02:00
Alessio Morale
6d1fabdd5f OP-1294 declare controlHandler as const, add a new PIOS_EXCLUDE_ADVANCED_FEATURES that disables all nav features 2014-04-08 00:30:10 +02:00
Alessio Morale
b9d911c40f OP-1294 eventdipatcher stack can be further reduced 2014-04-07 00:32:34 +02:00
Alessio Morale
25ef201445 OP-1294 adjust FreeRTOS options to save some more heap 2014-04-06 19:19:48 +02:00
Alessio Morale
499efdf168 OP-1294 adjust some stack sizes for CC 2014-04-06 19:19:48 +02:00
Alessio Morale
eed5c098ab OP-1294 Allow to specify different stack sizes for rx and tx telemetry task. 2014-04-06 19:19:44 +02:00
Corvus Corax
bb91039f51 OP-1290 fixes in telemetry (and pios_board initialization) 2014-04-05 12:53:31 +02:00
Alessio Morale
e964c863eb Fix the broken revoproto target/sync with revolution 2014-04-01 22:24:05 +02:00
Alessio Morale
6540c69698 Merge remote-tracking branch 'origin/andrecillo/OP-1273_PixHawk_airspeed_sensor_MS4525DO' into next 2014-04-01 22:05:12 +02:00
Andres
c5dc556a43 OP-1273 Uncrustify 2014-03-27 16:19:22 +01:00
Andrés Chavarría Krauser
f8f53d8801 OP-1273 Adaptations to include MS4525DO PixHawk speed sensor 2014-03-25 09:18:25 +01:00
Alessio Morale
abd7da20df Merge branch 'amorale/OP-1026_cpu_idle' into next 2014-03-23 15:32:19 +01:00
Alessio Morale
519d74ad1b OP-1026 fix review issues 2014-03-09 16:08:27 +01:00
Alessio Morale
e407eb8126 Merge branch 'next' of git://git.openpilot.org/OpenPilot into next 2014-03-09 14:38:17 +01:00
Alessio Morale
0b30b79c98 Merge remote-tracking branch 'origin/amorale/OP-1149_gyro_accel_thermal_calibration' into next
Conflicts:
	ground/openpilotgcs/src/libs/eigen/Eigen/src/Core/util/Memory.h
	ground/openpilotgcs/src/plugins/config/revosensors.ui
	ground/openpilotgcs/src/plugins/setupwizard/vehicleconfigurationhelper.cpp
2014-03-09 14:38:08 +01:00
Corvus Corax
be9f4b958d OP-1216 remove commented out define as review requested 2014-03-08 22:12:46 +01:00
Philippe Renon
ef137a27b3 OP-1033 Added note where appropriate that changing USB buffer length will require changes to the USB buffer setup 2014-03-03 22:01:13 +01:00
Corvus Corax
564a991222 adjusted Stabilization stack size to get rid of stack alarm 2014-03-02 19:11:49 +01:00
Corvus Corax
cdca8d835c OP-1216 manualcontrol refactoring 2014-03-02 14:45:17 +01:00
Alessio Morale
2bcbf7dc86 OP-1026 remove legacy idle time calculation in OPLink code 2014-02-22 00:31:06 +01:00
Alessio Morale
3fc3b5b01b OP-1026 replace idle time calculation with task monitor API 2014-02-22 00:30:03 +01:00
Corvus Corax
0ebc92d9f5 Merge branch 'corvuscorax/OP-942_task-diagnostics-for-callbacks' into corvuscorax/OP-1216_flight-control-refurbishment
Conflicts:
	flight/modules/AltitudeHold/altitudehold.c
2014-02-16 19:08:39 +01:00
Corvus Corax
1898d0ad35 OP-1217 create new receiver module
This module includes all the receiver IO and parsing/failsafe
functionality of ManualControl, but does none of the interpretations in
regards to flight mode / actuator control or arming that was included in
the old ManualControl

In a second step the old ManualControl module needs to be adapted to do
only these ommitted things in a modular way - as a delayed callback
2014-02-16 15:09:08 +01:00
Corvus Corax
b5a27d05e7 OP-1197 configurable failsafes OP-1219 thrust control OP-1217 separate manualcontrolsettings apart 2014-02-09 19:37:22 +01:00
Corvus Corax
9a6072d58c Merge branch 'next' into corvuscorax/OP-942_task-diagnostics-for-callbacks
Conflicts:
	flight/targets/boards/simposix/firmware/Makefile
2014-02-07 00:31:32 +01:00
Corvus Corax
216ec095e4 OP-1211 removed unneeded define 2014-02-06 19:34:34 +01:00
Corvus Corax
723e22aa1a OP-1211 time_measurement_helper 2014-02-04 19:05:17 +01:00
Corvus Corax
49a1c4c28f OP-942 refactored callback scheduler to fit into PiOS naming scheme 2014-02-02 22:08:16 +01:00
Corvus Corax
5b9a17f630 OP-942 moved DelayedCallbackScheduler into pios/common 2014-02-02 20:31:37 +01:00
Corvus Corax
b076ba02a1 OP-942 API change to CallbackScheduler - include unique ID for each callback for a taskinfo like UAVObject 2014-02-02 19:54:17 +01:00
Alessio Morale
02c7084196 Merge remote-tracking branch 'origin/next' into amorale/OP-1149_gyro_accel_thermal_calibration
Conflicts:
	ground/openpilotgcs/src/plugins/uavobjects/uavobjects.pro
2014-01-23 01:02:13 +01:00
Alessio Morale
3ef980aa89 OP-1188 fix stack for coptercontrol 2014-01-22 00:01:58 +01:00
Alessio Morale
1f61676d0a Merge branch 'amorale/OP-1152_stack_verification' into next
Conflicts:
	flight/targets/boards/coptercontrol/firmware/inc/pios_config.h
2014-01-18 13:54:06 +01:00
Corvus Corax
41202a0227 Merge branch 'corvuscorax/OP-1022_AH_improvements_amorale' into next 2014-01-15 22:47:42 +01:00
Philippe Renon
694747cd27 Merge remote-tracking branch 'origin/next' into filnet/OP-1122_gcs_waypoint_editor_stabilization
Conflicts:
	ground/openpilotgcs/src/plugins/uavobjectwidgetutils/configtaskwidget.cpp
2014-01-15 20:12:08 +01:00