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

3814 Commits

Author SHA1 Message Date
James Cotton
9c1e523260 Drop 8 bytes per PID of unecessary information. Also trying to compute
integral in ms instead of seconds to avoid rounding errors.
2011-06-21 17:54:03 -05:00
James Cotton
8976d22fad Merge remote-tracking branch 'origin/OP-159_os_sbus' 2011-06-21 17:51:22 -05:00
Oleg Semyonov
fba201c8b3 usart: move default port numbers from pios_config.h to pios_board.c 2011-06-22 01:32:18 +03:00
zedamota
61956d1ed2 OP-537 Fixed tooltips info 2011-06-21 19:14:39 +01:00
zedamota
59352a2e9a OP-537 Fix UI bug 2011-06-21 19:08:55 +01:00
zedamota
0ae31593ba OP-537 Fixes according to Osnwt suggestions 2011-06-21 18:58:46 +01:00
zedamota
6910bbb4f1 OP-515 Changes according to Osnwt suggestions. 2011-06-21 18:09:37 +01:00
Mathieu Rondonneau
74e5e2015e Merge branch 'master' into OP-423_Mathieu_Change_Init_To_Reduce_Memory_Footprint 2011-06-20 20:28:12 -07:00
Andrew Thoms
97c22fb57c OP-532 Better indication of unassigned servos in heli config UI 2011-06-20 22:40:22 -04:00
Stacey Sheldon
80709f356f alarms: lower heap warning and critical thresholds for CC
Free heap on CC is currently 160 bytes so the current thresholds
were causing a continual alarm condition, thus preventing arming.
2011-06-20 22:31:05 -04:00
Andrew Thoms
438cb91709 OP-532 minor GUI improvements to highlight incorrect servo assignments 2011-06-20 22:20:19 -04:00
Andrew Thoms
cf342b4155 OP-532 make all swashplate lines draw even if servos not defined 2011-06-20 21:39:10 -04:00
Andrew Thoms
ca21863f91 OP-507 added more swashplate configurations 2011-06-20 21:33:11 -04:00
Andrew Thoms
177263c237 OP-532 minor UI changes to servo selection box visibilities 2011-06-20 21:04:51 -04:00
dankers
9adc440b20 Merge branch 'master' of ssh://git.openpilot.org/OpenPilot 2011-06-21 08:15:01 +10:00
dankers
31cbad1fff Add Michel Pet's Y6 flight.
Add some more place holders of some Milestones yet to be completed.
2011-06-21 08:13:04 +10:00
Oleg Semyonov
8bcdd62dbd Merge branch 'bugfix-flight' 2011-06-21 00:49:32 +03:00
unknown
9e632b532e Fix win32 SiTL by adding PiOS CRC and another missing function. 2011-06-20 15:48:05 -04:00
James Cotton
5e5f1bb3f1 Merge remote-tracking branch 'origin/OP-530-PT_Dreamer' 2011-06-20 14:09:24 -05:00
James Cotton
0f2e4730b4 Merge remote-tracking branch 'origin/OP-530-PT_Dreamer'
Note this requires redoing the mixer settings!

Conflicts:
	shared/uavobjectdefinition/mixersettings.xml
2011-06-20 14:08:08 -05:00
zedamota
880905efba OP-530 Change multirotor max throttle default value to 90% 2011-06-20 14:39:01 +01:00
zedamota
1c700c9e7c OpenPilot OP-537
Make the GCS input configuration errors a bit more informative
2011-06-20 14:28:16 +01:00
zedamota
4d634ad304 Merge remote-tracking branch 'remotes/origin/OP-515-PT_Dreamer' into bugfix-ground 2011-06-20 11:21:45 +01:00
Mathieu Rondonneau
fc1e3f574c OP-423: Split task create and module init in order to postpone task creation once the full heap is available.
Also implement some ordering (quite ugly still) in the module init and task creation order so we can decide which module to start/init first
and which module to start/init last.
This will be replaced/adapter with the uavobject list later (once it's implemented).
reserving some space for module init and task create parameters to customize module/task creation (this will be usefull once we get the list and customization from customer).

Changes have been made for OP and CC. Tested comped with CC,OP, sim_posix.
Only ran on bench with CC for couple of minutes (code increase expected but no dropping of stack which is good).

This gives task creation at the time wherethe all heap is available.
2011-06-19 22:35:40 -07:00
Andrew Thoms
e74c3390f7 OP-532 Minor UI layout changes 2011-06-20 00:31:30 -04:00
James Cotton
17fa227d1f Fixed typo, thanks Os 2011-06-19 16:51:54 -05:00
Oleg Semyonov
52d22c59d3 Revert "OP-522: fixed throttle calibration if input channel is reversed"
This reverts commit 0ba605812e.
The real problem was not with this, but due to unexpected reverse
checkbox behaviour.

Reverse checkboxes are completely ignored at the start of calibration,
they can be even set checked initially. But change of checkbox does not
reverse the GCS control gadget display. This should probably be fixed.
2011-06-19 19:37:22 +03:00
Stacey Sheldon
868c97acc3 Merge branch 'add-stm32flash-tool' 2011-06-19 11:31:17 -04:00
Oleg Semyonov
d372c615ed sbus: added packaging target for CopterControl S.Bus firmware
Serial telemetry relocated to other port (USART3) for this firmware.
PPM OP MB firmware seems to be broken (the same as PWM one). Fix needed.
2011-06-19 16:26:14 +03:00
Oleg Semyonov
6272210df7 sbus: some code cleanup (no functional changes) 2011-06-19 14:30:13 +03:00
Mathieu Rondonneau
d5cd3e0d2a OP-423: fix problem in GCS when the config files get deleted.
GCS aborts on a table overflow when trying to set the axes with wrong number of channels.
2011-06-18 19:30:28 -07:00
Mathieu Rondonneau
2b11395a67 OP-423 just move stack from systemmod back to heap (200 bytes) that are not needed anymore. 2011-06-18 17:31:29 -07:00
Mathieu Rondonneau
5e3e7cc4e3 OP-423 Fix issue with init not properly started in the right order endup up object thinking other where not init. 2011-06-18 17:28:37 -07:00
zedamota
c6350492eb Cleaning and formating 2011-06-19 00:56:35 +01:00
zedamota
a0eca05595 Many changes to the uploader Gadget 2011-06-19 00:50:38 +01:00
Oleg Semyonov
21f988321e Merge branch 'master' into bugfix-ground 2011-06-19 02:18:06 +03:00
Oleg Semyonov
0ba605812e OP-522: fixed throttle calibration if input channel is reversed 2011-06-19 02:15:23 +03:00
Mathieu Rondonneau
506125af14 OP-423: fix problem in GCS when the config files get deleted.
GCS aborts on a table overflow when trying to set the axes with wrong number of channels.
2011-06-18 15:55:11 -07:00
Oleg Semyonov
59da5055cd usart: make USART ports configurable from make command line
For CopterControl the following make options are available:

USE_TELEMETRY=[YES|NO|1|3]    (default is YES, USART1)
USE_GPS=[YES|NO|1|3]          (default is NO, USART3)
USE_SPEKTRUM=[YES|NO|1|3]     (default is NO, USART3)
USE_SBUS=[YES|NO|1]           (default is NO, USART1 only)
2011-06-18 23:54:32 +03:00
Oleg Semyonov
311902f1f2 sbus: implemented S.Bus stream decoding 2011-06-18 23:19:57 +03:00
James Cotton
724016ffb0 When erasing flash at the end start flashing LED to indicate it is done 2011-06-18 14:32:09 -05:00
James Cotton
2218ff6fe9 Change to object template so when they are already registered it doesn't
initialize them a second time (which causes the handle to get lost)
2011-06-18 14:21:14 -05:00
James Cotton
5044ea36de Start initializing objects in the modules that consume them. Shouldn't affect
OP yet but not tested.
2011-06-18 14:20:51 -05:00
dankers
eecacc57f6 Update deluxe dials from London Flyer, added deluxe horizontal dial
Note: these are not used by default, commiting to master directly
2011-06-19 02:34:12 +10:00
Mathieu Rondonneau
b67a38661e OP-423: merge master into that branch, resolve conflicts and test with CC and bl_CC
heap reamining is low (about 500) but stacks can be ajusted (specially the 200 bytes from system) to give the level close to 1Ko if needed.

Merge branch 'master' into OP-423_Mathieu_Change_Init_To_Reduce_Memory_Footprint

Conflicts:
	flight/CopterControl/System/inc/FreeRTOSConfig.h
	flight/CopterControl/System/inc/pios_config.h
2011-06-17 19:04:09 -07:00
James Cotton
9720a8444f Make a few things optional if they are mostly for diagnostics to keep memory
down
2011-06-17 21:00:21 -05:00
Mathieu Rondonneau
693c6bc5b0 OP-423: fix bl and bu, also fix compiler problems encountered with make all 2011-06-17 18:54:25 -07:00
Mathieu Rondonneau
65cf467ca4 OP-423: move the module initialize funtion into a specific section for OP and CC.
- create linker section for those <module>Initialize()
- later this list will incorporate parameters as well. (this probably will be more a OP feature to swap/remove/delete module on the fly.
- this is not done at compile time anymore by Makefile.
- this will allow us to have control on the module start at run-time (not implemented but build the ground for it).
- this simplify the startup (Part of code re-org).
- this change does not affect sim_posix and win32 (since they don't need that)
- ensure it's compiling for PiOS.posix
- port to PiOS.win32 but not tested (not compiled)
- tested on CC
- compile on OP.
- this free ~200 bytes.
- current avalable bytes (is we keep the same remaining bytes on the stack than before) is easily passed the 1.2Ko mark on CC with new gcc (4.5.2)
- this does not include init-reorg for each module (I still think more can be freed)
2011-06-16 22:13:19 -07:00
Andrew Thoms
6578eba0a0 Op-532 prevented settings being retreived from hardware during an update
to hardware
2011-06-17 01:01:55 -04:00
Andrew Thoms
90f7062940 OP-532 Implementation of Collective pass-through mapping 2011-06-16 22:52:41 -04:00