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

4077 Commits

Author SHA1 Message Date
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
Oleg Semyonov
7f84307714 OP-997: fix release notes. This change was reverted but not documented 2013-06-22 18:29:40 +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
Alessio Morale
3c39b049d6 Fixed wrong deadband range for AH 2013-06-11 21:17:17 +02:00
Alessio Morale
04326e2386 Merge remote-tracking branch 'origin/amorale/OP-999_ah_failsafe' into next 2013-06-11 15:39:43 +02:00
Alessio Morale
ad123a2761 Merge remote-tracking branch 'origin/amorale/OP-980_connection_reliability_issue' into next 2013-06-11 15:39:34 +02:00
Alessio Morale
2c0f7794a9 Merge remote-tracking branch 'origin/amorale/OP-997_revolution_settings_to_ext_flash' into next 2013-06-11 15:39:13 +02:00
Alessio Morale
f767d64f0c OP-980 Remove the timeout logic as it causing troubles with windows
platform
2013-06-11 10:27:32 +02:00
Alessio Morale
c1a1c04ad8 OP-999 trigger a failsafe condition in AH module when throttle is below 0 for more than 200ms
+review OPReview
2013-06-10 23:48:08 +02:00
Brian Webb
789930db45 Moved PIOS_TASK_MONITOR_Initialize to before EventDispatcherInitialize. The event dispatcher creates a task that registers itself with the task monitor. It is unlikely that the task will start before the task monitor is initialized, but not impossible (at least on the F4 targets, I don't think). 2013-06-09 20:16:40 -07:00
Corvus Corax
6f59c49506 just uncrustification 2013-06-09 22:09:04 +02:00
Alessio Morale
e9b3ee52f3 OP-997: add fields to SystemStatsUavo to monitor storage status 2013-06-09 19:20:00 +02:00
Alessio Morale
1cb69e6a0e OP-997: Revert Revolution settings storage to external flash to prevent freezes during sector erase/garbage collection 2013-06-09 19:17:12 +02:00
Alessio Morale
87db5d30b0 OP-980 change how the semaphore is used on PIOS_USB_CheckAvailable to prevent deadlocks 2013-06-09 16:14:44 +02:00
Alessio Morale
6d71d92860 Merge remote-tracking branch 'origin/amorale/OP-990_revo_bias_with_shaken_startup' into next 2013-06-09 09:10:33 +02:00
Alessio Morale
0f28920e5f Merge remote-tracking branch 'origin/amorale/OP-988_gps_not_configured_alarm' into next 2013-06-09 09:09:44 +02:00
Alessio Morale
107b930573 Merge remote-tracking branch 'origin/amorale/OP-980_revolution_usb_reconnect' into next 2013-06-09 09:07:24 +02:00
Alessio Morale
59eaf01089 OP-990 Change initial delay before calibration to 4 seconds to allow to put the craft on the ground after battery connection
+review OPReview-505
2013-06-09 08:59:35 +02:00
Alessio Morale
7a6b5c5681 OP-990 Fixed the main cause of wrong bias calculation:
The initial bias calculation done between 1 and 7 seconds
since power on was completely skipped due to a wrong condition.
2013-06-08 13:10:23 +02:00
Alessio Morale
3ad123718e Revert "OP-990 zeroed the rollpitch bias rate at startup and incremented at arming."
This reverts commit c0b926a2d5.
2013-06-08 13:10:23 +02:00
Corvus Corax
115b991f86 Bugfix in UAVObjectmanager. LoadFromFile() is not allowed to use GetByID since its called from Register, where the uavobject is not registered yet. 2013-06-06 21:22:17 +02:00