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

4377 Commits

Author SHA1 Message Date
zedamota
0d92e00125 Several bugfixes.
Created "simple wizard" button witch bypasses the sticks identification screen.
Small bugfix to fix GCS crashing if trying to upload a firmware bigger then the HW capacity.
2011-08-23 11:25:28 +01:00
Stacey Sheldon
edc0caf521 heap: set memory critical alarm on malloc failures
Activate the FreeRTOS malloc failed hook and use it
to set the memory critical alarm.
2011-08-21 23:14:32 -04:00
Dmytro Poplavskiy
ed51756191 Compilation fix on mac
It's safer to define GL_CLAMP_TO_EDGE if not available than
to include GL/glext.h.
2011-08-22 09:10:25 +10:00
Dmytro Poplavskiy
6e506161e0 Compilation fix
It's necessary to include GL/glext.h on windows for
GL_CLAMP_TO_EDGE define.
2011-08-22 07:34:59 +10:00
Corvus Corax
838149b53f GPS: homelocation init is optional, satellites must be initialized 2011-08-21 18:20:33 +02:00
Corvus Corax
0ce337b42d UAVTalk: fix off by one error preventing the largest UAvObject (gpssatellites) from being sent. 2011-08-21 18:15:10 +02:00
Dmytro Poplavskiy
69d5e7fe7e Added missing Q_DECL_EXPORT to CachedSvgItem 2011-08-21 23:40:11 +10:00
Dmytro Poplavskiy
6b0da6bc72 Changed PFDGadgetWidget to use CachedSvgItem 2011-08-21 21:38:58 +10:00
Dmytro Poplavskiy
bbc137eabe Added initial CachedSvgItem implementation
Texture is regenerated each time item is scaled
but it's reused during rotation, unlike the default
DeviceCoordinateCache mode.
2011-08-21 21:36:41 +10:00
Dmytro Poplavskiy
b6b0703c28 GCS: Fixed stabilization settings layout on a small screen.
Put most of widgets into QScrollArea.
It looks the same on large enough screen but scrollbars
are added on netbook size screen.
2011-08-21 19:57:21 +10:00
James Cotton
e4e952f270 Manual control settings needs to be initialized in OpenPilot board file for
spektrum to work
2011-08-21 02:21:09 -05:00
zedamota
7bf9f4e817 Untested changes, should fix:
Spelling mistakes
Show inverted movement as soon as checkbox is checked.
Bring back flightmode change messagebox.
Layout issues (this was not a issue on win so not sure its fixed).
Support for flightmode binary switches neutral=min+(max-min)/2.
Flightmode slider not changing according to command.
Mode 1 roll on the right (still think it doesn't make sense :) )
2011-08-20 19:10:28 +01:00
James Cotton
368323fd59 Merge remote-tracking branch 'origin/james/erase_settings' into next 2011-08-20 13:07:01 -05:00
Corvus Corax
1ad65e0718 Fixed include in sysstemmod. pios_config.h should not be included explicitly. 2011-08-20 15:04:00 +02:00
Corvus Corax
9f03ba178b OpenPilot: Initialize optional modules based on UAVObject 2011-08-20 15:03:31 +02:00
Corvus Corax
4f1f20e801 OpenPilot: Bugfix: For some reason Debugging information didn't work. Symbols are created now 2011-08-20 14:37:53 +02:00
Corvus Corax
d21f6705aa Disabled double definition of pmlib compilation in openPilot/Makefile - target gencode 2011-08-20 13:11:15 +02:00
Corvus Corax
5ea35bb28c Make Diagnostic UAVObjects optional in OP and Sim_Posix (but enabled by default) 2011-08-20 13:06:58 +02:00
Corvus Corax
7395a369a9 Optional Modules: Ported optional module concept to OpenPilot and Sim_Posix 2011-08-20 13:02:44 +02:00
Corvus Corax
53d0732fc6 Enable GPS module as "optional module" in CooterControl 2011-08-20 01:25:49 +02:00
Corvus Corax
dfd301571a HWSettings: Allow late Initialization and Start of Modules as defined in Makefile(available modules) and UAVObject(actually started modules) 2011-08-20 01:24:06 +02:00
Corvus Corax
b75890fcd4 Merge branch 'next' into CC_GPS 2011-08-19 21:34:38 +02:00
Corvus Corax
85aef9c7b4 OpenPilot: bugfix: Add GPS tx buffer by default (needed until GPS has been refactored to not send or only send when configured so) 2011-08-19 20:22:05 +02:00
Corvus Corax
2062ec0aeb AHRS_COM: Initialize transpherred objects before using them 2011-08-19 19:52:27 +02:00
Corvus Corax
5e4941f7cb PiOS.posix: make PiOS.posix bail in case of a Panic with an error message 2011-08-19 18:41:59 +02:00
Corvus Corax
9bba1f7ae9 Posix: fix object initialization where necessary 2011-08-19 18:36:30 +02:00
James Cotton
03a8bd7674 Statically initialize object handles to null to make sure the uavobjectmanager
can catch it and return -1.  Do NOT panic when they are null as this is
something that should be caugth at run time in some cases.

Ideally as a compromise in a task start it could have a set of
PIOS_Assert(ObjectNameHandle()) to make sure the minimal set of objects it
needs are there.
2011-08-19 10:12:39 -05:00
James Cotton
ab7e57ad2b Initialize objects for guidance in the correct place. Init some objects in
pios_board_posix since AHRSComms not around.
2011-08-19 09:52:05 -05:00
James Cotton
ced29e221e Revert "Debugging: Add PIOS_DEBUG_Panic() call wen an UAVObject handle is requested but object is uninitialized, make PiOS.posix bail in case of a Panic with an error message"
We do not want to panic in this case as we want the ability to detect if
objects exist at run time

This reverts commit 78e42470d4.
2011-08-19 09:45:10 -05:00
James Cotton
482bec497b Revert "Fixed modules that didn't initialize used UAVObjects correctly"
Modules should initialize their settings and the objects they source.  Not just
everything.

This reverts commit 9ad85e9b7b.
2011-08-19 09:44:38 -05:00
Corvus Corax
69f10cd6d0 PiOS.posix: bugfix in COM_UDP 2011-08-19 13:54:16 +02:00
Corvus Corax
adfb6eccc2 fixed usage of GPS buffer in sim_posix 2011-08-19 13:20:40 +02:00
Corvus Corax
9ad85e9b7b Fixed modules that didn't initialize used UAVObjects correctly 2011-08-19 13:20:15 +02:00
Corvus Corax
78e42470d4 Debugging: Add PIOS_DEBUG_Panic() call wen an UAVObject handle is requested but object is uninitialized, make PiOS.posix bail in case of a Panic with an error message 2011-08-19 12:56:26 +02:00
Corvus Corax
01a844e0da Fixed redefinition of configCHECK_FOR_STACK_OVERFLOW in OpenPilot/System/inc/FreeRTOSConfig.h 2011-08-19 12:11:05 +02:00
Corvus Corax
f86e53bf91 Merge branch 'OP-536_CorvusCorax_ObjectOrientedFirmwareUAVTalk' into next
Conflicts:
	flight/Modules/Telemetry/telemetry.c
2011-08-19 12:10:40 +02:00
James Cotton
0448b34a91 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next 2011-08-19 01:51:08 -05:00
James Cotton
f85ae84ec3 Merge branch 'camera_stabilization' into next
Conflicts:
	flight/OpenPilot/System/pios_board_posix.c
2011-08-19 01:48:24 -05:00
James Cotton
25b54a4323 Change to default settings at request of Dave. AccelKp = 0.05. MaxAxisLock =
15 degrees.
2011-08-19 01:46:52 -05:00
Corvus Corax
34df188963 Merge remote branch 'origin/next' into OP-536_CorvusCorax_ObjectOrientedFirmwareUAVTalk 2011-08-18 17:17:06 +02:00
Oleg Semyonov
7791db9820 Milestones: add alconaft43's milestones (same video, two pilots) 2011-08-17 17:58:39 +03:00
Oleg Semyonov
b8d47381d2 Milestones: add Maximus43's flybared heli inverted flight, funnel, loop
As always, there is the rule: no video - no milestone :-)
2011-08-17 17:47:17 +03:00
zedamota
0a0d405fc1 Finished the new input configuration wizard. Fixed some bugs along the way.
Sending it for review now.
2011-08-17 12:43:08 +01:00
Corvus Corax
6fe495c088 Merge remote branch 'origin/next' into OP-536_CorvusCorax_ObjectOrientedFirmwareUAVTalk
Conflicts:
	flight/Modules/Telemetry/telemetry.c
2011-08-17 08:30:32 +02:00
Oleg Semyonov
2020e336d6 OP-290: allow GCS tabs to shrink (by eliding the text), less limit min window width 2011-08-16 20:58:39 +03:00
zedamota
6a103ed332 Integrated artwork into the input config wizard. Some testing left to do before sending for review. 2011-08-16 16:06:18 +01:00
James Cotton
33e61b4405 OP-557: Make the tools erase menu item attempt to perform a full format on the
flash chip first, then fall back to erasing settings via the EraseSettings
object persistence.  The later only removes UAVO instances that the firmware is
current aware of, so can create issues when jumping between versions.
2011-08-15 11:37:00 -05:00
James Cotton
35eef66bfe OP-557: Add a UAVO access method to erase the entire flash chip. Normally not
needed by users because if too much changes I change the FS magic and trigger a
wipe.

Possibly the erase should require a particular "magic" object id value to
execute?  This would make it harder to do manually through UAVOs though.
2011-08-15 10:33:27 -05:00
zedamota
98f84e472b Trying to get out of merge hell 2011-08-15 14:12:54 +01:00
James Cotton
86b652bbab Merge branch 'next' into camera_stabilization 2011-08-14 18:07:57 -05:00