martin
b7e49c34d5
Wix installer scripts moved to subfolder
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2309 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-29 17:39:39 +00:00
pip
c8a1a6771c
Added "AHRS_ADC_GetOverSampling" function
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2308 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-29 10:34:48 +00:00
edouard
a8bfce8418
Improved Uploader gadget user feedback so that operation success/failure is easier to notice.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2307 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 21:27:21 +00:00
sambas
0b2a0884ae
OP-22 Flight/PiOS: Spektrum improvements, removed my zero throttle glitch
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2306 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 18:37:36 +00:00
peabody124
7ccdb296ac
AHRS: Add interface to get old dump_raw function working for Pip
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2305 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 17:48:45 +00:00
andrew
c396279a37
Preparing Battery module for Power Sensor version 2
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2304 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 05:46:14 +00:00
andrew
eda227ec8b
Added BatterySettings UAVObject in preparation for updates to PowerSensor code.
...
As this changes UAVObjects both flight and GCS software will need to be recompiled to stay in sync.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2303 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 05:13:19 +00:00
andrew
76be2b991b
Update to FlightBatteryState UAVObject in preparation for updates to PowerSensor code.
...
As this changes UAVObjects both flight and GCS software will need to be recompiled to stay in sync.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2302 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 04:28:39 +00:00
andrew
2f38fe2269
Updated Alarms.c Modified flight alarm code to NOT set SystemAlarms to an "Uninitialised" value on startup.
...
This allows the UAVObjectGenerator generated code to set the default values.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2301 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 04:19:41 +00:00
peabody124
2b0c75e46d
AHRS: Fix LED flashing light
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2300 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-28 02:10:52 +00:00
edouard
dbd083caee
OP-227 Fixes to support for translation. Tested OK on my system (Linux)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2299 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 22:09:25 +00:00
edouard
b8af9da689
OP-227 Basic implementation of support of language override in the GCS. The new preference is in the Environment/General dialog.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2298 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 22:02:36 +00:00
andrew
bdb2982ca5
Added alarm processing for GPS module.
...
Error when GPS disconnected
OK when >=7 satellites and PDOP <3.5
Warning when only 3Dfix
Critical otherwise
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2297 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 19:59:43 +00:00
pip
26650724e4
Fixed coding error on line 317 .. changed while (xxx & xxxx) to while (xxx && xxxx)
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2296 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 09:48:11 +00:00
andrew
e7e0f6740b
Modified flight alarm code to set SystemAlarms to an "Uninitialised" value on startup.
...
This means that any defined alarms that don't have their flight module compiled in will show uninitialised rather than OK
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2295 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 07:30:36 +00:00
andrew
39cb30d56f
Update to SystemAlarms UAVObject.
...
Added:
Battery
Flight Time
I2C
GPS
Also added new alarm state of "Uninitialised"
no code to set these alarms yet.
As this changes UAVObjects both flight and GCS software will need to be recompiled to stay in sync.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2294 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 07:25:52 +00:00
andrew
bd5316eda0
Change to ignore the uninitialised state of a system alarm.
...
This is in preparation for a future change.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2293 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 07:09:06 +00:00
andrew
cb5e3ef4b8
Updated system health diagram with GPS and I2C elements.
...
This is in anticipation of updates to system alarms.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2292 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 07:06:20 +00:00
andrew
cf72d545b7
Updated system health diagram with Power and Flight Time elements.
...
This is in preparation for updates to the flight battery module.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2291 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-27 03:28:03 +00:00
edouard
284a1ebd2c
Updates to Notify plugin, now works fine on Linux too. Should still be OK on Windows, please confirm...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2290 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-26 22:14:56 +00:00
peabody124
c364f45fb7
AHRS: If using mags then don't initialize until get a good mag update within
...
250 ms of init call (mag works at 10 Hz).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2289 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-26 18:59:32 +00:00
edouard
398ae4f90a
Notify plugin did not work at all on Linux due to hardcoded backslashes in the path. Now using Qt "native separators" to become multiplatform.
...
One standing issue: the 1st second of the sound only is played...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2288 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-26 18:55:28 +00:00
erhard
94721bf4cc
OP-222 Ground: Load Default-Settings when no settings are present.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2287 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-26 16:21:49 +00:00
edouard
d1be74bcf4
Clean up HiTL plugin to remove old and unused files. You might have to clean and rebuild after this if you get errors. Made X-Plane HiTL bridge a bit more chatty at startup to help users.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2286 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-26 15:54:01 +00:00
peabody124
343b4095a3
Flight/WMM: Get rid of date structure and keep it on stack. Also don't need
...
error message for embedded stuff.
Note: this was only tested on PC although I'm fairly confident about it.
Please let me know about any errors.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2285 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-24 21:57:15 +00:00
peabody124
b8476bea20
WMM: Memory reduction, variables computes from flash constants on fly. This
...
will run slower but greatly reduce the memory footprint (360 floats less).
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2284 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-24 21:57:12 +00:00
peabody124
35bc1e7d9b
Flight/AHRS: Make the mag raw data always update regardless of home location
...
settings but only be used when home location is valid. Also discard any mag
data that is all zeros although we shouldn't see this.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2283 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-24 20:21:22 +00:00
peabody124
314a2fcf00
flight/AHRS: Make the 13 state INS default again, the accel bias drift can be a
...
little aggressive. Also increased the drift rate of the gyro bias per Sambas'
testing (thanks) although not to the levels required for flying through 40 deg
C transitions.
Made the dump_ekf function handle both numbers of states
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2282 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-24 19:38:54 +00:00
edouard
d96a9aace9
OP-223 Basic support for X-Plane implemented. New Wiki documentation should be written, but basically: use 127.0.0.2 as the local IP, 127.0.0.1 as the destination IP, choose a (free) port as the input port which you will setup in the inet3 tab with dest address 127.0.0.2, and output port as 49000. Enjoy!
...
One potential issue: X-Plane expects 4-byte floats, the code is potentially not 64bit compliant...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2281 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-24 18:35:34 +00:00
peabody124
7ab6dfeeba
PiOS/USB_HID: Lower priority of USB interrupt
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2280 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-24 17:16:07 +00:00
peabody124
1142b1fb1e
PiOS/USB_HID: No longer clear buffer after getting a NAK. This was required
...
before because if transmission got NAK then sending would stop. Now the next
time data is added to the buffer a new send will be attempted.
fifoBuf: in clearData just set the read pointer to the write pointer. This is
safer for multiple people accessing it assuming the reader will be clearing it.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2279 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-24 17:16:04 +00:00
peabody124
ba8351f60a
PiOS/USB_HID: When using FreeRTOS use a sempahore to stop multiple tasks
...
pushing data to the transmit buffer
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2278 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-24 17:15:59 +00:00
edouard
4ee9cf7aad
GCS/Config gadget: problem with GCS crashing on input channel assignement should be fixed. Was triggered whenever no input channel was assigned to flight mode, as Corvus found out, thanks!
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2277 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-23 22:28:24 +00:00
vassilis
6799f75aeb
GCS/UAVObjectGenerator: Calculate and report number of bytes used by the object fields.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2276 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-23 16:01:31 +00:00
martin
be4df7b757
changed scripts and added tools for creating multilingual installer
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2275 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 23:31:31 +00:00
pip
d072c30ba1
Settings additions.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2274 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 22:16:44 +00:00
edouard
d72d4fa4d2
Freebie: implemented access to the UAVObject description in GCS-side UAVObjects, and added support for this in the UAVObject browser: leave your mouse over the name of a UAVObject and the tooltip will show the description. Nice, eh?
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2273 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 21:29:23 +00:00
edouard
bb1d5e8b2e
Uploader gadget: Increased AHRS detection time a bit in Rescue mode to make its use a bit easier.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2272 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 16:38:38 +00:00
edouard
fc27419cf6
OP-220 1st attempt at "horizontal bias calibration" for the AHRS. Very basic calculation over 100 samples, be my guest to make it more sophisticated if necessary, all the basics are there, you just have to plug a better algo!
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2271 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 15:31:37 +00:00
cwabbott
7715a6d6cd
PiOS.win32: Add MMCSS support for Vista onward, and smarter priority boosting to XP. Also, add the Actuator module and the fake pios_servo.c. If you run this using Windows 7 or Vista, then you need to run OpenPilot.exe as administrator once to set up the registry.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2270 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 14:47:42 +00:00
edouard
c6f14c7530
HITL: Flightgear: velocitydown was the wrong sign, so vario went the wrong way. Fixed now.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2269 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-22 09:19:25 +00:00
edouard
77f4fbe919
Fixed a rare issue with Heading becoming NaN and not checked by GCS (froze the GCS). Update op_dfu.cpp to reflect latest changes by PT_Dreamer on the CLI.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2268 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 21:10:31 +00:00
edouard
195c811c90
HITL/SITL: Flightgear now works in SITL mode with the current stabilization algorithm which includes gyro rates. Upped the rate for attitudeactual and attituderaw to a value which makes the stabilization algo work properly, will cause trouble on slow machines.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2267 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 20:21:00 +00:00
edouard
da3d4cdab8
GCS Control Gadget: After double checks on actual quad, correct pitch sign now implemented.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2266 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 20:05:56 +00:00
martin
390a355c57
Added "phonon_backend" and "phonon_backend" dirs
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2265 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 18:15:07 +00:00
martin
58152de093
Added phonon_ds94.dll
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2264 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 18:11:35 +00:00
zedamota
14ef24a3de
OP-21/Bootloader - Maximize flash space available for user code. Bring back delay on HID send (board->pc) it still hangs when blasted with data. AHRS is now Readable.
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2263 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-21 17:25:24 +00:00
edouard
5748fe0e90
Add rotation rates into FG simulator to test Stabilization. Does not work well yet...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2262 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-20 22:30:42 +00:00
edouard
790637ba00
GCS Control gadget: invert the sign of pitch which was wrong. Bounding of values to -1/+1 so that it is not possible to put the red dots outside of the picture...
...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2261 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-20 17:30:38 +00:00
edouard
d8edab8371
Added a (fake) pios_servo module in PiOS.posix, this makes it possible to compile the Actuator module and see servo output values, or at least
...
what they would be on a real board. Also fixed a typo in stabilization.c which made me lose time when trying to understand the code...
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2260 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-12-20 16:38:17 +00:00