peabody124
b376350bc2
Ground/UAVTalk: Add destructor and make sure it's called in Logging when stopping logging to disconnect the signals.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1713 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 22:52:49 +00:00
peabody124
2a9fd99b06
Ground/Logging: Support for pausing and resuming playback and time rescaling plus an (ugly) toolbar to control it.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1712 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 21:43:23 +00:00
peabody124
d30c6830e7
Ground: more Q_UNUSED
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1711 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 20:17:55 +00:00
les
ef7ee86d45
Mixer: zero throttle shuts off motors and changed MixernMatrix to MixernVector
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1710 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:31:17 +00:00
peabody124
b6bffaeb27
Ground: Cosmetic change
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1709 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:45 +00:00
peabody124
af6b6d91a3
Ground: Suppressing some more random unused variable warnings
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1708 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:43 +00:00
peabody124
a1a3b0774f
Flight/AHRS: Update code to coding conventions.
...
find ./flight/AHRS/ \! \( -name '*~' -a -prune \) -type f | xargs -I{} bash -c 'echo {}; dos2unix {}; gnuindent -npro -kr -i8 -ts8 -sob -ss -ncs -cp1 -il0 {};'
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1707 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:39 +00:00
peabody124
833e8428d2
Flight/Libraries: Updated to coding conventions
...
find ./flight/Libraries/ \! \( -name '*~' -a -prune \) -type f | xargs -I{} bash -c 'echo {}; dos2unix {}; gnuindent -npro -kr -i8 -ts8 -sob -ss -ncs -cp1 -il0 {};'
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1706 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:29:35 +00:00
peabody124
df0ed37d29
Ground/Logging: Supports replay. Still needs a sexy widget to allow seeking (although seeking will be difficult since technically it depends on the entire state but we can probably ignore that). Also I think the interface for replay shoudln't be through a menu item but should be like any other connection. The way I implemented it (custom QIODevice that buffers the logfile and reads the timestamps) makes this pretty easy to do. I'm just not familiar enough with the connection manager to do this. This means currently if you're connected to device and start a replay you get updates from two places.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1705 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 19:28:01 +00:00
peabody124
a56e757003
Ground: Supress a few warnings. A drop in a bucket...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1704 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 16:37:59 +00:00
peabody124
7a8424e98e
Ground/UAVObjectField: Explicitly handle case of bad enum values to avoid crashes. Still shouldn't occur.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1703 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 16:36:04 +00:00
chebuzz
862e35def1
OP/PiOS.posix - Somebody added UAVObjects but did not add them to the posix sim
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1702 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 14:16:14 +00:00
peabody124
f96654ace1
Adding mixerstatus/mixersetting uavobject files that were missed
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1701 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 07:08:51 +00:00
peabody124
5c9701753b
OP-24 Ground/Logging: Made logging module use QIODevice passed to UAVTalk which inserts timestamps and object sizes. Should be trivial to implement read functionality. Need to confirm that QIODevice writes the data in the correct size though so timestamps are in the write place for sure.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1700 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-21 07:07:39 +00:00
cranphin
0634f8ec53
This should fix the problem with splitter positions not being stored when the workspace their on isn't viewed before closing GCS, as Edouard found out.
...
The source of this problem is that QSplitter.sizes() only returns the sizes set by setSizes() after the QSplitter is actually shown. Even though save/restoreState manages to retrieve them in the same situation. I think it's a bug, not sure if I can be motivated enough to report it though :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1699 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 20:11:16 +00:00
les
875437f483
Added matrix based actuator mixing. Note the makefile is set to use the original actuator code.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1698 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 19:27:08 +00:00
sambas
24840b461d
OP-22 Flight/PiOS: added failsafe and recovery "watchdog" timer
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1697 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 18:00:31 +00:00
zedamota
5fb45f835e
OP-21/Flight Bootloader - Bug fix, 1 more
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1696 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 17:09:06 +00:00
zedamota
87dc0908ce
OP-21/Flight Bootloader - Bug fix
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1695 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-20 16:29:34 +00:00
zedamota
7a69feea8c
OP-21/Flight PC app - Minor change.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1694 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 20:53:00 +00:00
cranphin
318a60e05e
GCS UAVGadgetManager: Minor bugfix, wasn't always deleting oldstyle
...
subgroups, which would cause them to be loaded.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1693 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 19:16:01 +00:00
zedamota
5c848d4944
OP-21/Flight PC app - Created AbortOperation function.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1692 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 18:34:20 +00:00
zedamota
3ba6372dc4
OP-21/Flight Bootloader - Clean up and linker files for the AHRS
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1691 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 18:27:53 +00:00
cranphin
400f832b3c
GCS: Import/Export The checkboxes didn't work, fixed :)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1690 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:39:04 +00:00
cranphin
0441b8b786
GCS FlightGear sim: This is how it's done in the manual, and seems to
...
work well for me :)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1689 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:37:41 +00:00
cranphin
e59a58aa0e
GCS: Remove support in [UAVGadgetManager] for Settings/DefaultSettings.
...
Wasn't really used since it wasn't properly finished (no support in UI).
The idea of having ways to support defaults is good, but can probably be
done better in a different way. (I like the idea of a embedded second
ini file, which serves as 'default'. But many ways are possible).
AS usual, write support removed, read support still there for now.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1688 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 12:35:48 +00:00
edouard
33494ffc7c
OP-160 Curve widget: 1st working version. Use "initCurve" with a list of double to create a curve, and connect to the curveUpdated signal to
...
read it (or call getCurve manuall).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1687 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 08:49:48 +00:00
osnwt
88de8f789a
Ground/OPMap config page: fixed vertical stretch of Default longitude textbox.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1686 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 08:40:57 +00:00
edouard
be7ff70491
OP-160 Small progress on the widget, points move vertically only now. Next commit will be fully functional.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1685 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-19 05:47:18 +00:00
zedamota
40c9c208cf
OP-21/Flight PC app - Update to work with embedded changes.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1684 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 23:39:37 +00:00
zedamota
128df749f0
OP-21/Flight Bootloader - small bug fix
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1683 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 23:38:45 +00:00
zedamota
c9752a6a3a
OP-21/Flight Bootloader - some changes for the bootloader to work
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1682 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 23:11:42 +00:00
zedamota
1b9811aa0e
OP-21/Flight Bootloader - AHRS programming fully working
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1681 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 23:10:26 +00:00
martin
900c19a2ee
Update Russian translation
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1680 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 08:22:33 +00:00
zedamota
569e7a94e7
OP-21/Flight PC app - Added send delay.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1679 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 00:47:45 +00:00
zedamota
97b44ffb04
OP-21/Flight Bootloader - Various fixes.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1678 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-18 00:46:34 +00:00
edouard
35c36da060
OP-160 Rough draft of mixer curve widget, for comments. I will make it look nicer later, this is just for seeing what can be done.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1677 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 20:49:24 +00:00
peabody124
11f2b1a8dc
Flight/Stabilization: Dont cap error at maximum stabilization value - that is to scale control throws. Create another variable if we want this.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1676 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 18:15:02 +00:00
peabody124
0ea95fbad1
AHRS: Separate covariance prediction from state prediction to get updated state out of spi a few milliseconds sooner.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1675 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 18:15:00 +00:00
peabody124
92c36114f3
AHRS: No longer reinit after a comms glitch. Allow time for EKF to converge (2-3 seconds) after power up.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1674 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 18:14:20 +00:00
peabody124
8e0c5136c0
AHRS/Comms: Make the polling delay 1ms instead of 20ms to make sure if a message isn't ready we don't pause for a long time.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1673 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 18:12:25 +00:00
edouard
b435053e66
High-Contrast dials for the share directory (text converted to path for being independent from SVG renderer capabilities and
...
installed fonts)
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1672 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 09:01:27 +00:00
edouard
74af4e3fc3
New Hight-Contrast theme for the dials: should be easier to read with a laptop screen in the sun. This is the initial release,
...
I am sure this can be improved even more.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1671 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 08:42:00 +00:00
andrew
da1a762072
Added basic code for Yaw stabilisation in manual mode for Helis.
...
This is functionally the same as having a heading hold gyro in hardware.
Code is copied from the simple stabilisation routine and is a bit rough at the minute, but initial testing looks good.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1670 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 05:52:34 +00:00
peabody124
41b7a99883
Flight/Stabilization: Yaw rate stabilization error should be normalized by dt
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1669 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-17 02:00:55 +00:00
cranphin
b1b4b15ef4
GCS: Also zero the structures in the il2 sim.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1668 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 22:35:36 +00:00
cranphin
3d43f1cff1
GCS: Zero data structures, since this is not Java ;)
...
I was getting some weird initial random values from the sim.
This fixes that.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1667 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 22:32:49 +00:00
cranphin
303d2c19e1
Pass the correct port numbers to the simulator.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1666 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 21:54:25 +00:00
peabody124
a6ca5b82e7
OP-155 Flight/HID: Make the HID stall when buffer full. Not sure the consequences on ground (i.e. if it handles the stall correctly)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1665 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 20:23:02 +00:00
cranphin
96990b5f60
GCS: Make [UAVGadgetManager] also human readable.
...
Makes the ini file a bit more verbose, but debuggable/hackable :) (Not to mention more robust).
Again, I left in support for loading the binary version, so this shouldn't mess up people's configurations. Keep a backup handy anyways :)
In the future, that needs to be removed though.
Anyone with a 'old style' configuration may notice the binary versions are left in the ini file, I can't easily delete them without deleting the new groups also, but they won't cause any problems, and aren't read. Feel free to delete them for a clean ini file :)
I left in the 'DefaultSettings' stuff, but I think it can be removed too ( or whatever it was meant to support should be added :) ).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1664 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-09-16 19:52:12 +00:00