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

8467 Commits

Author SHA1 Message Date
Fredrik Arvidsson
08fd9a8153 OP-686 Added code to disable wizard buttons during firmware upgrade procedure. Re-factored some code and fixed some minor bugs. 2012-11-19 01:29:14 +02:00
Stacey Sheldon
f0fb22c090 uavobjectmanager: initialize new uavo_handles section
The uavo_handles section is not part of the .data segment so
it doesn't get automatically zeroed during the startup code.

This led to random data being stored in the table which resulted
in bus errors at runtime.

This change ensures that the table is zeroed before we start to
use it.
2012-11-18 16:48:13 -05:00
Fredrik Arvidsson
4a16909cb3 OP-690 Show dialog if halt is invoked and the board is armed or arming (not disarmed). 2012-11-18 22:40:05 +01:00
Oleg Semyonov
8332f32519 Merge remote-tracking branch 'origin/os/OP-691_Fix_camera_config_issues' into rel-12.10.2
Conflicts:
	HISTORY.txt
2012-11-18 21:53:16 +02:00
Oleg Semyonov
5c57de868f [OP-728] Improve tooltip text for GCS arm timeout field 2012-11-18 20:55:54 +02:00
Nuno Guedes
62c626aec3 Set DMG window to origin
As there's no way to set the DMG window to open centered, it's best to set it to the screen origin (top left corner).
2012-11-18 20:42:04 +02:00
Nuno Guedes
3b3e8aea3f Background image added
Now the background image should be present.
2012-11-18 20:42:02 +02:00
Nuno Guedes
565f5d458d "Polite" DMG
"Polite" DMG with new style
Design by javl
2012-11-18 20:42:01 +02:00
PT_Dreamer
3bfbfdf7b3 OP-702
Fixes problem with enums uploading and saving on the object browser
2012-11-18 20:16:25 +02:00
Fredrik Arvidsson
1695fda4e2 OP-716 Changed default AccelTau to 0.1. This value seems to be a good value after reading some reports on the forums. 2012-11-17 17:45:10 +01:00
Fredrik Arvidsson
2eeba593db OP-716 Added default TauAccel == 0.15 to wizard. 2012-11-17 10:30:57 +01:00
Fredrik Arvidsson
95455e2378 OP-716 Added checkbox to enable accelerator filtering (cyr fix) 2012-11-16 21:22:13 +01:00
Oleg Semyonov
8134db4453 ModelView: set rear view as default (makes more sense for R/C than front view) 2012-11-15 22:23:39 +02:00
Stacey Sheldon
c1fc605696 uavobjectmanager: remove linked list for UAVOs 2012-11-14 23:38:24 -05:00
Richard Flay (Hyper)
6c0b91dee7 Minor tweak for coding standard compliance. 2012-11-15 07:45:35 +10:30
Oleg Semyonov
9ece418912 AutoTune UI: add warning to reboot the board (something is better than nothing)
Until better solution is provided, it is better to warn users that they
must reboot board to enable the module.
2012-11-14 17:49:37 +02:00
Oleg Semyonov
0e9d7137ff Revert "HotFix: temporary disable AutoTune UI until better tested"
The "next" is the bleeding edge of development, so put back
autotune stuff temporary disabled for RELEASE-12.10.1.

This reverts commit a17d0f8084.
2012-11-14 17:28:23 +02:00
Oleg Semyonov
79f95983da Merge remote-tracking branch 'origin/rel-12.10.2' into next 2012-11-14 17:26:18 +02:00
Oleg Semyonov
22173d96e5 Merge remote-tracking branch 'origin/cyr/accel_filter' into rel-12.10.2 2012-11-14 04:44:11 +02:00
Oleg Semyonov
9d6810dda8 GCS vehicle config: use better function name for readability [OP-691] 2012-11-14 02:00:26 +02:00
Erik Gustavsson
f9f58f22d8 Take the magnitude of the correct gravity vector 2012-11-12 17:16:28 +01:00
Stacey Sheldon
e5c54cca00 freertos: change default alignment to 4-byte from 8-byte
There shouldn't be any reason to need 8-byte alignment on the
F1 platform.  This allows better packing of all malloc'd data.

Reducing this below 4-byte alignment is not recommended and will
likely result in misaligned pointers being passed to peripherals.

RAM savings is another 300 bytes.
2012-11-11 22:16:00 -05:00
Erik Gustavsson
e186101fe7 Change default AccelTau value to zero (filter disabled) 2012-11-11 21:16:48 +01:00
Erik Gustavsson
e38ba912cd Clarify comment about gravity vector 2012-11-11 21:13:05 +01:00
Erik Gustavsson
04c194fa48 Coding style fixes 2012-11-11 21:10:52 +01:00
Corvus Corax
40381d98ae compile sanitycheck into simposix 2012-11-11 18:22:01 +01:00
Corvus Corax
5862346d40 Merge remote-tracking branch 'baseorigin/corvuscorax/simposix_firmwareiap' into corvuscorax/sanity_additions 2012-11-11 18:06:16 +01:00
Corvus Corax
ec5f9d232f Revert "do not do configuration check on SimPosix architecture, its not ported yet"
This reverts commit 112a3fe7e5.
2012-11-11 18:05:46 +01:00
Corvus Corax
112a3fe7e5 do not do configuration check on SimPosix architecture, its not ported yet 2012-11-11 17:39:37 +01:00
Corvus Corax
d1447ca3f8 Rise Botfault error whenever hwsettings has been changed but no reboot took place yet 2012-11-11 17:23:07 +01:00
Corvus Corax
4e32413954 removed pathplannersettings from flight 2012-11-11 14:57:52 +01:00
Corvus Corax
fe7d2e8bca removed pathplannersettings module from gcs 2012-11-11 14:57:39 +01:00
Oleg Semyonov
db63f73859 GCS vehicle config: do not reset existing camera/accessory mixers [OP-691]
Still no fix for helicopter config (some code refactoring is desired).
2012-11-11 15:01:30 +02:00
Stacey Sheldon
e2b019edd9 telemetry: stop registering periodic events for non-periodic UAVOs
Telemetry module was iterating over all UAVOs including
meta UAVOs and creating a periodic event item for each
object.  These items cost us about 32 bytes for each list
item.

This is wasteful for two main reasons.  First, meta UAVOs can't
meaningfully have periodic updates so excluding them entirely
makes sense.  That halves the number of objects in this list since
there is one meta object for every data object.  This is worth
about 500 bytes of RAM on CC.

Second, about half of the remaining UAVOs are not periodic by
default so they're wasting memory unless someone happens to want
to make them periodic at runtime.  This is worth another 450 bytes
of RAM on CC.

So, objects that are configured as periodic during board init will
support all of the periodic config at runtime.  Objects that are
*not* periodic during board init can only be made periodic on the
next boot.

Each object that you make periodic during init will cost you an
extra 32 bytes of RAM.

With erased settings, free RAM comparison for CC is:
  Before: 2736 bytes free
  After:  4048 bytes free

Total RAM savings with this update is 1312 bytes!
2012-11-10 18:04:16 -05:00
Oleg Semyonov
bac0e15519 Update HISTORY.txt with last releases info 2012-11-11 00:36:16 +02:00
Richard Flay (Hyper)
54ebcb1ea8 Removed a spurious call to AccelsSet() that was causing garbage data to be transiently written to the Accels UAVO. Props to cyr for kicking off the discussion that led to the discovery of this bug. 2012-11-11 00:31:08 +02:00
lilvinz
a7029baa32 pios_jedec: fixed usage of uninitialized memory
When reading the jedec device id the code only transfered one byte via spi leaving
the expected input buffer uninitialized. This may lead to the problem that flash
initialization fails because the expected input may be whatever the stack was set
when entering the function. The impact of the bug is somewhat limited tough as the
initialization usually takes place before starting up the rtos and thus is pretty
deterministic. So if the code passed init while testing it should pass init in
production as well.
2012-11-11 00:31:07 +02:00
Richard Flay (Hyper)
b620c6ebc8 Added support for Mode 3 and Mode 4 to the TX Configuration Wizard. Fixed a number of bugs and issues in the wizard. Made some changes to wizard text and layouts as well. 2012-11-11 00:31:06 +02:00
James Cotton
5f80268396 GCS Config: Crashing for an unknown board seems a bit harsh. 2012-11-11 00:31:05 +02:00
David Ankers
43e6b38b54 Spelling of Spectrum to Spektrum 2012-11-11 00:31:05 +02:00
Richard Flay (Hyper)
eda6b6a24a Improved type-safety. Replaced flight side UAVO access macros with inline functions to ensure that correct pointer types are always passed to UAVO access functions. 2012-11-10 20:47:10 +10:30
Corvus Corax
064ed4087c set AirspeedActual from attitude module, feed true airspeed estimation into EKF to allow more accurate INS 2012-11-08 11:30:58 +01:00
Corvus Corax
8dd5d5a68b type fix in header file 2012-11-08 11:12:05 +01:00
Corvus Corax
e9da78406a Merge branch 'corvuscorax/baro_fixes' into corvuscorax/airspeed_fixes 2012-11-08 09:48:01 +01:00
Corvus Corax
b09027afe5 Completely refactored airspeed module, now a pure sensor input module without any complex sensor fusion features -- changed driver for mpxv analog airspeed to be more versatile 2012-11-08 01:31:21 +01:00
Erik Gustavsson
104c61a174 Move accel filter to separate function, for cleaner code and easier filter alteration.
Optimize for filter disabled case (AccelTau = 0.0).
2012-11-06 20:17:10 +01:00
Corvus Corax
5981d9acd6 removed surplus NEDposition uavobject 2012-11-06 10:13:09 +01:00
Corvus Corax
3c8ffa9773 Revert "When in indoor mode reset the baro offset to zero"
This reverts commit 9c512261e6.
2012-11-06 09:42:14 +01:00
Corvus Corax
e8232ba825 Pathplanner: removed pathPlannersettings and preprogrammed (hardcoded) paths 2012-11-05 16:04:45 +01:00
Corvus Corax
cc8e56f170 OP699: changed update rate to use constant 2012-11-05 15:59:13 +01:00