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

3938 Commits

Author SHA1 Message Date
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
James Cotton
368323fd59 Merge remote-tracking branch 'origin/james/erase_settings' into next 2011-08-20 13:07:01 -05: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
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
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
James Cotton
86b652bbab Merge branch 'next' into camera_stabilization 2011-08-14 18:07:57 -05:00
Oleg Semyonov
2f7f920ef3 gcs: (uploader plugin) few firmware info string and icon changes
Also it looks like the date check clause doesn't work, needs to be checked.
2011-08-14 17:25:52 +03:00
Oleg Semyonov
ba58ec7e08 gcs: (uploader plugin) replace red warning icon with less serious yellow triangle 2011-08-14 17:25:50 +03:00
Corvus Corax
b75653a226 PiOS.posix: small corrections and bugfixes to make pios_com_udp work correctly. Telemetry works now. 2011-08-14 14:21:54 +02:00
Corvus Corax
5b240a2675 PiOS.posix: port pios_udp and pios_com to "next" 2011-08-14 14:21:54 +02:00
Corvus Corax
8a47ade16b flight/Libraries/fifo_buffer: Use platform independent <stdint.h> instead of "stm32xxx.h" to get definition of intX_t types 2011-08-14 14:21:54 +02:00
James Cotton
f766ba47aa Increase the size of the eventdispatcher task and lower the maximum queue size. 2011-08-13 19:21:58 -05:00
James Cotton
a2b76adc33 Attitude: Do not start attitude estimation until accel data appears. This
fixes the NaN when AttitudeSettings not available.
2011-08-13 18:53:42 -05:00
dankers
69f8aac967 Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next 2011-08-13 06:12:08 +10:00
dankers
65cb05e212 hhrhhr's fix for modelview gimbal lock, thank you!! 2011-08-13 06:08:07 +10:00
James Cotton
ec4e23aff9 Camera Stabilization: Bound outputs to [-1,1] although this should be redundant
with checks in actuator.
2011-08-11 14:34:38 -05:00
James Cotton
98346186e3 The camera desired object can now be a single instance. I think it will be a
while before we have multiple cameras :) although it's easy to extend when we
do.
2011-08-11 14:07:24 -05:00
James Cotton
923e33195b Merge branch 'next' into camera_stabilization 2011-08-11 12:06:50 -05:00
James Cotton
39fcc5bde3 Revert "Telemetry: Remove a processObjectQueue() command that was triggering
warnings".  Unfortunately this causes problems getting objects quickly on
linux.  A complete fix to the connection speed issue on all platforms may
take some work.

This reverts commit 74d1762e4c.
2011-08-11 12:05:52 -05:00
James Cotton
e56dbfdb24 CameraStabilization: Bad memory error that Sambas caught 2011-08-11 11:02:12 -05:00
James Cotton
681444184c CCHWSettings: Add help button in 2011-08-11 10:58:22 -05:00
James Cotton
669634782f UI: Two aesthetic issues on cc_hw_settings.ui:
1) Don't override fonts when possible.  It makes the layout inconsistent.  We
should come up with a stylesheet/system wide way for things like this.
2) Left align the telemetry speed field instead of making it full screen width
3) Move the "Settings apply after restart" message out of the button row.  This
makes the buttons not in the same location between panels.
2011-08-11 10:46:54 -05:00
James Cotton
508fdae125 On connect/disconnect load the .png HwConfig image. Drop the .svg from the qrc
file for consistency.
2011-08-11 10:32:53 -05:00
James Cotton
0f1fd8f8c1 Update HISTORY.txt and correct a help URL. 2011-08-11 00:00:04 -05:00
James Cotton
9c7799dfe6 UAVObject Init: Get rid of deprecated linker init code 2011-08-10 22:48:42 -05:00
James Cotton
c8313d7b3e Add the camera stabilization files to the Pro build. Not functional though. 2011-08-10 22:31:38 -05:00
James Cotton
bbe3c1533a Merge branch 'next' into camera_stabilization 2011-08-10 21:57:45 -05:00
James Cotton
a387532a94 Fixed some little race conditions that messed with the configuration UI. Added
message to indicate power cycle is required after enabling this module.
2011-08-10 21:57:17 -05:00