Brian Webb
c2df59498b
Merge remote-tracking branch 'origin/master' into next
2013-07-06 07:08:30 -07:00
Brian Webb
0d02df4d02
Uncrustified OPLink code.
2013-07-05 18:49:26 -07:00
Brian Webb
6dbecca7a5
OP-932 Fixes erasing settings on OPLink and blocks OPLinkSettings objects from being transmitted over the radio.
2013-07-05 18:25:52 -07:00
Brian Webb
d0d8a0aadd
OP-932 Adds PWM outputs to OPLinkMini. Both gpio pins on the main and/or flexi port can be configured to output PWM for a total of up to 4 PWM outputs.
2013-07-03 18:58:34 -07:00
Brian Webb
c76ee7de9d
OP-932 Fixes the failsafe that detects when the Rx modem loses sync with the Tx modem. This was not working on one-way mode.
2013-06-30 16:08:50 -07:00
Brian Webb
491e5fe685
Adds a failsafe on PPM output on OPLink that kicks in when the link goes down. Also updates all air datarate settings and adds new 64 and 100 kbps modes.
2013-06-29 15:00:38 -07:00
Brian Webb
bab69401b9
OP-932 Allows configuring the Revo as coordinator.
2013-06-27 19:55:01 -07:00
Brian Webb
6386b12026
OP-932 Fixes raw serial on UART and USB VCP.
2013-06-27 19:16:01 -07:00
Brian Webb
d5f16faaec
OP-932 Fixes the datarate used on PPM only mode, and fixes failsafe on PPM output on OPLM.
2013-06-26 20:11:39 -07:00
Brian Webb
caa8d3e70e
OP-932 Forces one-way to be set when PPM only is configured.
2013-06-26 18:02:08 -07:00
Brian Webb
2aea2342ab
OP-932 Adds a direct PPM channel on each Tx packet when in PPM mode, and adds a PPM only mode that uses a 9600 bps air datarate. Also updates the OPLink configuration tab and moves all OPLink configuration to the OPLink configuration tab on the Revo, and customizes the OPLink configuration tab for the Revo.
2013-06-26 18:01:54 -07:00
Brian Webb
b25ba75fd9
OP-932 Removed obsolete include of pios_rfm22b_rcvr from pios.h.
2013-06-26 18:00:22 -07:00
Brian Webb
44a0266e41
OP-932 Adds claiming of the SPI bus in the OPLink channel change function.
2013-06-26 18:00:02 -07:00
Brian Webb
56a60f2983
OP-932 Updates the 19.2 kbps datarate using the spreadsheet.
2013-06-26 17:59:49 -07:00
Brian Webb
61c453f6ff
Removes several of the air datarate settings, and fine tunes the calculation of the max packet length from the datarate and packet time. 9600, 19200, 36400, and 57600 modes tested. Tested 19200 in one-way mode for PPM only.
2013-06-26 17:59:33 -07:00
Brian Webb
f8d60e6dee
OP-932 Adds additional thread and UAVTalk connection to the telemetry module that reads from the uart/radio link on the Revo. This allows the Revo to read OAVObjects over both the uart/radio link and the USB link at the same time. Unfortunately, there's no way to know which link to send UAVObjects out on, so all UAVObjects go to the USB port if USB is connected. This allows UAVObjects to be received from the OPLink radio, even when USB is connected.
2013-06-26 17:58:02 -07:00
Brian Webb
cdd51537f1
Fixes the 9600 bps air datarate for the RFM33B modem.
2013-06-26 17:57:46 -07:00
Brian Webb
fc0328a3cd
OP-932 Adds working one-way mode to the OPLink radio connection. In this mode, packets will only flow from the ground side (coordinator modem) to the flight side modem.
2013-06-26 17:57:32 -07:00
Brian Webb
774a74884a
OP-932 Replaces the RFM22B PPM/receiver code with an OPLinkReceiver UAVObject. This object is generated on a coordinator OPLink, and is used by both the OPLink to generate PPM output, and the OPLinkReceiver on the Revo.
2013-06-26 17:57:11 -07:00
Brian Webb
8c370df319
OP-932 A significant re-work of the OPLink and configuration of the OPLink. Auto-configuration is removed, and remote modems are bound the coordinator, rather than the other way around. Timing of the radio link is also significantly changed. The rfm22b code is also simplified so that it only sends packet, and has no notion about what those packets are, so the rfm22b is converteded to simply a com type device.
2013-06-26 17:56:56 -07:00
Brian Webb
12c8ef2e3a
OP-932 Changes the UAVTalkRelayInputStream function to UAVTalkRelayPacket to allow for not relaying a packet on error, etc. Also adds a function to get the object ID out of the current packet (UAVTalkGetPacketObjId). These functions are used by the OPLink.
2013-06-26 17:56:40 -07:00
Brian Webb
08efc8d152
OP-932: Adds an oplink receiver device, which is based on the gcs receiver device, but uses the OPLinkReceiver UAVObject. The OPLinkReceiver packets are generated on the OPLink modem.
2013-06-26 17:56:20 -07:00
Brian Webb
7c10623615
OP-932 Adds a semaphore to PPM input to signal when a new frame has been received. This can be used to process a new frame with as low a latency as possible.
2013-06-26 17:56:10 -07:00
Brian Webb
ac75af55c1
OP-932 Moves the PIOS_PPM_OUT_Set function from pios_ppm_out_priv.h to pios_ppm_out.h
2013-06-26 17:55:56 -07:00
Corvus Corax
0c43346292
Merge branch 'corvuscorax/OP-947_stateestimator-module' into next
...
Thanks everyone for helping getting this together, especially Alessio
and DLite :-)
2013-06-25 23:48:12 +02:00
Corvus Corax
ed592bd6ab
Merge remote-tracking branch 'origin/rel-13.06.01' into next
2013-06-25 22:32:14 +02:00
Corvus Corax
f2abe1f5c7
StateEstimation: removed (not yet implemented) 16 state EKF support for now
2013-06-25 19:30:21 +02:00
Corvus Corax
5bdfad4bdb
removed redundant check as suggested in review
2013-06-23 19:39:00 +02:00
Corvus Corax
e916902c9e
changed alarm return states, so cf initialisation will cause visible LED blinks...
2013-06-23 19:26:17 +02:00
Corvus Corax
407817f959
backport of complementary filter bugfix
2013-06-23 18:37:43 +02:00
Corvus Corax
4bf934ae69
prevent positionSensor updates if GPS lock is low quality. Sometimes bad updates are worse than no updates.
2013-06-22 23:15:10 +02:00
Corvus Corax
3392622d2b
backporting change on next to modified Attitude module
2013-06-22 23:07:53 +02:00
Corvus Corax
6163c5f53a
Merge branch 'next' into corvuscorax/OP-947_stateestimator-module
...
Conflicts:
flight/modules/AltitudeHold/altitudehold.c
ground/openpilotgcs/share/openpilotgcs/pfd/default/AltitudeScale.qml
ground/openpilotgcs/share/openpilotgcs/pfd/default/PfdIndicators.qml
ground/openpilotgcs/share/openpilotgcs/pfd/default/SpeedScale.qml
ground/openpilotgcs/src/plugins/pfd/pfdgadgetwidget.cpp
2013-06-22 18:44:03 +02:00
Oleg Semyonov
7f84307714
OP-997: fix release notes. This change was reverted but not documented
2013-06-22 18:29:40 +02:00
Corvus Corax
ee1465fd9a
OP-1018: Fix ETASv3 Airspeed sensor autocalibration
2013-06-22 12:53:23 +02:00
Alessio Morale
57c8cd7872
Merge branch 'amorale/OP-1019_simple_altitudehold' into next
2013-06-21 17:16:24 +02:00
Alessio Morale
d2893fd32b
OP-1019 fix sanitychecks and other uavo definition sanity checks for the newly defined altitudevario mode
2013-06-20 19:39:19 +02:00
Werner Backes
e5b68382e0
Keep TODO comment.
2013-06-20 14:35:40 +02:00
Werner Backes
0f5e354f99
Removed first occurance of accel_err scaling. We don't want to do this
...
twice.
2013-06-20 12:42:22 +02:00
Alessio Morale
5318c20de6
OP-1019 add a simple altitude hold
2013-06-20 11:27:45 +02:00
Alessio Morale
f41f7ade66
Merge remote-tracking branch 'origin/amorale/OP-1009_reset_gyrobias' into next
2013-06-18 20:39:55 +02:00
Alessio Morale
5cc3645b96
Uncrustify
2013-06-18 20:23:46 +02:00
Alessio Morale
54af41765e
OP-1009 missing initialization on a previously static variable.
...
+review OPReview-516
2013-06-17 21:42:30 +02:00
Alessio Morale
b012d55f26
OP-1009 fix comments and fixes review
...
+review OPReview-516
2013-06-17 21:01:24 +02:00
Alessio Morale
2b232ae155
Fix bootloader usb issues caused by USB reconnection fixes.
...
Issues were related to missing usb detection and broken communication while updloading fw.
They are now skipped in NON FreeRTOS mode (aka bootloader).
+review OPReview
2013-06-17 20:24:07 +02:00
Alessio Morale
d5a77fb525
OP-1009 prevent gyro zeroing from raise an alarm when arming
2013-06-15 17:28:30 +02:00
Alessio Morale
517c331dd4
OP-1012 fixed speeds to make easy to distinguish flash rates
2013-06-15 17:27:48 +02:00
Alessio Morale
f2431b2868
GPS module is builtin so there is no way to shut the gps alarm when gps is not used.
...
This change does remove any alarm when no port is configured for gps.
Things depending on GPS will continue to raise their own alarm when no gps data are feed.
2013-06-15 16:39:29 +02:00
Alessio Morale
354fdf4bdf
OP-1012 implement several messages for alarm led
2013-06-15 16:38:53 +02:00
Alessio Morale
49da1aca86
OP-1009 Redo gyro zero in Complementary after calibration parameters changes
2013-06-15 16:22:24 +02:00