1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
Commit Graph

3779 Commits

Author SHA1 Message Date
James Cotton
eb3f3d790f Zero during arming on by default since we're changing these objects 2011-06-24 10:38:26 -05:00
James Cotton
038f955cb1 OP-410 OP-333: Axis lock (heading hold) implemented 2011-06-24 10:38:26 -05:00
James Cotton
0dc541cbaa Reformat attitude configuration gadget to use static access methods for
AttitudeSettings.  This helps compiler catch errors.
2011-06-24 10:38:26 -05:00
James Cotton
ab7ff56d96 Compute initial gyro bias while calibrating to speed up convergence 2011-06-24 10:38:26 -05:00
James Cotton
c0eff41dc6 OP-410 OP-333: Created an Axis-lock setting for stabilization 2011-06-24 10:38:26 -05:00
James Cotton
0a4bbcc12e Added a field for initial gyro bias to speed up initialization. 2011-06-24 10:38:26 -05:00
James Cotton
28501842c3 Expose the rate D term which in simulations seems to help damp oscillations for
high RateKp terms.  However it might be sensitive to gyro noise (vibrations).
In addition it is mathematically similar to lead shapign so probably only use
one or the other.
2011-06-24 10:38:25 -05:00
James Cotton
a09642675c Tweak the integral calculation so it is scaled in ms internally. This avoids a
loss of precision on the accumulation.
2011-06-24 10:38:25 -05:00
James Cotton
373689207a Add a 1-tap IIR filter into the gyros in the feedback path. This will make the
stabilization output a bit more resilient to the high frequency noise from
gyros.  However this value shouldn't be too high as it will increase the phase
delay of the feedback loop and decrease stability.  Default is 5 ms.

Note: this resests the stabilizationsettings object.  Sorry guys.
2011-06-24 10:38:25 -05:00
Stacey Sheldon
d1104d3fdc 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-24 10:38:25 -05:00
Mathieu Rondonneau
dcd2774103 OP-423 Fix some comment from code review:
- update example module
- use module init macro for POSIX and WIN to make code cleaner.
2011-06-24 06:59:51 -07:00
Mathieu Rondonneau
3677521168 Merge branch 'master' into OP-423_Mathieu_Change_Init_To_Reduce_Memory_Footprint 2011-06-24 06:48:10 -07:00
Oleg Semyonov
dc651b6604 Merge remote branch 'origin/OP-532_Heli_GUI_Improvements'
WARNING: this will wipe out system settings. Don't forget to export
settings first with old GCS and import using new GCS after upgrade.
2011-06-24 10:05:54 +03:00
Andrew Thoms
caf3c08ea2 OP-532 Improved visibility abd contrast of servo numbers on the
swashplate image
2011-06-24 01:38:29 -04:00
James Cotton
751bcba266 Merge remote-tracking branch 'origin/OP-515-PT_Dreamer' 2011-06-23 18:07:43 -05:00
zedamota
b67b6221d1 OP-515 took CPU serial from the devices screen 2011-06-23 17:42:54 +01:00
Mathieu Rondonneau
eb5d2c43b9 OP-423: update installer (top level makefile) to pick up new QT and new compiler.
The new compiler:
- buy us 200 bytes on stacks (good optimization)
- reduce code size
- more smart on strict aliasing and does not cause us headeach
2011-06-22 06:43:11 -07:00
Mathieu Rondonneau
703919daf4 OP-423 Reduce IRQ stack limits (CC onlyt) 2011-06-22 06:32:27 -07:00
zedamota
0d7393a8b3 OP-537 Move space to after the coma. 2011-06-22 10:11:19 +01:00
Mathieu Rondonneau
0ff5e9a46f Merge branch 'master' into OP-423_Mathieu_Change_Init_To_Reduce_Memory_Footprint 2011-06-21 22:02:13 -07:00
Andrew Thoms
56050b0536 OP-532 Implemented scalling of swashplate image in GUI 2011-06-22 00:38:53 -04:00
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
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