1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00
Commit graph

2579 commits

Author SHA1 Message Date
Konstantin Sharlaimov
bfb29b154d Merge pull request #132 from DzikuVx/sonar-cleanup
SONAR: Code cleanup, remove unused/useless code
2016-03-25 20:51:53 +10:00
Konstantin Sharlaimov (DigitalEntity)
c801ce80fa FW: Remove limitation of minimum ground speed for navigation 2016-03-24 10:55:58 +10:00
Pawel Spychalski (DzikuVx)
72b611ac5c useless code removed 2016-03-23 19:07:01 +01:00
Pawel Spychalski (DzikuVx)
f4cdbb2d0a duplicated condition removed 2016-03-23 18:46:19 +01:00
ChiggerPepi
4d27be41ff Update display.c
Added "CLEANFLIGHT ARMED" bitmap,.
Changed showTitle to not show default "armed" text when armed.
Added showArmedPage

Update display_ug2864hsweg01.c

Added i2c_OLED_send_bitmap

Update display_ug2864hsweg01.h

Changed armed bitmap version to RLE compressed.  Added bitmap decompression.

Added Bitmap Creation.md and related images

Changed bitmap to show cleanflight font
2016-03-23 22:25:23 +10:00
Konstantin Sharlaimov (DigitalEntity)
eba14b52b1 DISPLAY: Remove page cycling code 2016-03-23 21:41:15 +10:00
Pawel
d48a4166e5 Status page added
only status page left in cycle

fixed screen flicker when page was not changed

cleanup and bugfixes to status page and cycling mechanism
2016-03-23 20:09:20 +10:00
Konstantin Sharlaimov (DigitalEntity)
8860c9034b IMU: Weightened method of using accelerometer for IMU corrections 2016-03-23 13:50:51 +10:00
Konstantin Sharlaimov (DigitalEntity)
f3113b712a IMU: Remove fast IMU initialisation as not giving much of a benefit 2016-03-23 00:08:43 +10:00
Konstantin Sharlaimov (DigitalEntity)
871151f55c Bugfix for throttle tilt compensation. Throttle was not constrained to sane limits 2016-03-22 12:36:58 +10:00
Konstantin Sharlaimov
4f0df17db9 Merge pull request #118 from iNavFlight/optional-telem
TELEM: Made telemetry modules selectable at compile-time
2016-03-20 23:20:00 +10:00
Konstantin Sharlaimov (DigitalEntity)
111a1ade8f SERIAL: Explicit initialisation of serial port vtable 2016-03-20 19:55:59 +10:00
Pawel
27a9599b0f code simplification 2016-03-19 16:52:29 +01:00
Pawel
06af51dacc 2D/3D fix and HDOP properly reported in OLED Display 2016-03-18 23:49:18 +01:00
Konstantin Sharlaimov (DigitalEntity)
7dd216ee11 TELEM: Made telemetry modules selectable at compile-time. Similar to GPS modules, you can configure any supported telemetry type, but you won't get any telemetry if module is not available 2016-03-18 14:36:38 +10:00
Konstantin Sharlaimov (DigitalEntity)
0d041950e8 BEEPER: Bugfix for cliPrintf 2016-03-18 11:39:01 +10:00
Moto Moto
e85bd4a716 Fixed ON_USB beeper inhibit 2016-03-18 11:25:31 +10:00
borisbstyle
90f29f499e Add Beeper disable ON_USB 2016-03-18 11:25:31 +10:00
Pierre-A
7208561d68 new "beeper" CLI command
beeperCount in beeperOffSetAll for config_unittest

including suggestions by ledvinap

add BEEPER_SYSTEM_INIT condition
2016-03-18 11:25:30 +10:00
Konstantin Sharlaimov (DigitalEntity)
7ff6439c30 BLACKBOX: Log fixType and HDOP 2016-03-18 11:25:02 +10:00
Konstantin Sharlaimov (DigitalEntity)
fc3e649c03 LTM: Report 2D/3D GPS fix correctly 2016-03-18 11:25:01 +10:00
Konstantin Sharlaimov (DigitalEntity)
989f9e2085 GPS: Better GPS fix reporting: 0=none, 1=2D, 2=3D 2016-03-18 11:25:01 +10:00
Konstantin Sharlaimov (DigitalEntity)
1d55aeb125 GPS: Reinstate HDOP in gpsSol. Report HDOP as an extra field in MSP_RAW_GPS and as a first satellite signal quality in MSP_GPSSVINFO until Configurator fully support HDOP display 2016-03-18 11:25:00 +10:00
Konstantin Sharlaimov (DigitalEntity)
68073458c4 GPS: Remove satellites in view data; GPS baud rate defaulted to 38400; Added MSP_GPSSTATISTICS message to report GPS performance data (accuracy, rate, error count) 2016-03-18 11:24:59 +10:00
Konstantin Sharlaimov (DigitalEntity)
ddc75033ef Merge branch 'scheduler-queue' 2016-03-18 10:50:00 +10:00
Michael Hope
a7e2e2c7b2 serial: add writeBuf() and implement for USB.
This lets USB send up to 32 bytes in a frame instead of 32 one byte
frames.  Add a fallback for drivers that don't implement writeBuf().

serial: allow buffering to speed up USB virtual COM ports.

Add begin write and end write hints.  If implemented by the serial
driver, then the driver can buffer up data sent via serialWrite() and
flush it when serialEndWrite() is called.

Implemented at the buffer level as it requires the least change to how
serial_msp and serial_cli are architected.

Also tidy up the visibility in the VCP driver.

Prevent serial tx buffer overflow.

Note: this is likely not the best solution, we can investigate further
in due course.

drivers: add a buffering writer.

This wraps around the serial API and buffers a configurable number of
characters before flushing.

cli: add buffering.

This greatly speeds up the CLI when running over USB VCP under a
virtual machine.

msp: add buffering around the writes.

This bulks up the writes and lets the USB VCP driver send one 20 byte
frame instead of 20 one byte frames.  This speeds up the blackbox
download and makes VCP much more reliable when running under a virtual
machine.

Fix for: serial buffer broke BLHeli 1wire pass through
2016-03-18 10:40:58 +10:00
Konstantin Sharlaimov (DigitalEntity)
f063c46e9c MSP: Fixed incorrect assumption about BOX ordering. Fixes #116 2016-03-18 10:16:55 +10:00
Martin Budden
3a6a27e4bd Improved formatting of tasks statistics in CLI. 2016-03-17 15:55:04 +10:00
Konstantin Sharlaimov (DigitalEntity)
324711ddda SCHEDULER: Move scheduler code to a separate directory 2016-03-17 15:55:04 +10:00
Konstantin (DigitalEntity) Sharlaimov
33636bb847 Scheduler fixups 2016-03-17 15:55:03 +10:00
Martin Budden
7809389707 Initial commit of run queue for scheduler.
Removed isEnabled flag, replaced by task being in queue or not.

Improvements to queue.

Minor tidy.

Unittests

Minor optimisation: only inclued queueContains if it is required.

Optimised scheduler queue iterators.

Fixed static inline declaration of queue iterators. Minor tidy of case when selectedTask == NULL

Minor optimisations to queueAdd and queueRemove

Whitespace tidy.

Removed conditional inclusion of queueContains.

More test code. Fixed bug in queueAdd.

Added test to check filling up and emptying queue.

Some rework before rebase.

Post rebase fixup.

Improved inclusion of platform.h. Improved initialization in queueClear.
2016-03-17 15:55:03 +10:00
Konstantin Sharlaimov (DigitalEntity)
1f9e743395 RTH: Implement GPS wait timeout if no GPS available on RTH activation 2016-03-17 15:54:49 +10:00
Martin Budden
afed6b02d1 Made use of WS2811_DMA_TC_FLAG consistent. 2016-03-16 11:00:28 +10:00
Martin Budden
cfa91f244e Moved function declarations out of rx.c into relevant header files. 2016-03-16 10:59:20 +10:00
Dominic Clifton
ce77e76ca5 Disallow gyro sync denominator < 2 when gyro sync and gps are enabled on
F1 targets. Also disallow looptime < 2000 when GPS enabled.

Note: Too much CPU loads prevents arming, this reduces CPU load.
2016-03-15 21:47:48 +10:00
Dominic Clifton
397a864d3d Support out of order ISR events for PPM. Rename previousTime to
currentCapture to better indicate it's use.

Add some PPM event debugging code (disabled by default).
2016-03-15 21:43:13 +10:00
Read Error
455a358591 Lux Commit 2016-03-15 21:33:39 +10:00
Konstantin Sharlaimov (DigitalEntity)
235ebf667a NAV: Further improve handling of magless machines 2016-03-12 22:46:12 +10:00
Konstantin Sharlaimov (DigitalEntity)
526609b575 FW: Fix issue with home set on a magless airplane. Prevent navigation from doing corrections when speed is low 2016-03-12 20:26:44 +10:00
Konstantin (DigitalEntity) Sharlaimov
8f25007144 MAG: Support for Freescale MAG3110 compass chip 2016-03-09 21:21:59 +02:00
Konstantin (DigitalEntity) Sharlaimov
d424879b87 NAV: New PH defaults 2016-03-09 20:56:23 +02:00
Konstantin (DigitalEntity) Sharlaimov
d3f2df499d FW: Increase default banking angle to 30 deg, add 'nav_fw_loiter_radius' parameter (cm) to control the radius of a circle in PH/RTH modes 2016-03-08 20:36:19 +02:00
Konstantin (DigitalEntity) Sharlaimov
fbeff0a1be NAV: Allow position control from EzGUI (follow me etc) only if new 'GCS NAV' mode is enabled 2016-03-08 19:35:20 +02:00
Konstantin (DigitalEntity) Sharlaimov
2cd83a3110 POSHOLD/WP: Support P1 as heading for Follow-Me (waypoint=255) 2016-03-08 08:16:01 +02:00
borisbstyle
694980f1c0 Disable error interrupt USB // Fixes CPU overload and arming issues on some boards. Thanks to moto moto 2016-03-08 07:38:30 +02:00
Konstantin (DigitalEntity) Sharlaimov
621c8e3bfd NAV: Change D-term scaling for NAV PIDs. Closes #94 2016-03-06 17:51:56 +02:00
Konstantin (DigitalEntity) Sharlaimov
cd4e90cee5 ALTHOLD: Surface tracking improvements 2016-03-06 08:57:03 +02:00
Konstantin (DigitalEntity) Sharlaimov
ed5730fc63 NAV: New mode 'HOME RESET' to reset home position to current drone position 2016-03-06 07:31:49 +02:00
Konstantin (DigitalEntity) Sharlaimov
a8cc9a6be8 ALTHOLD: Remove use_midrc_for_althold. Now throttle center is always assumed as 'hover' 2016-03-05 21:00:29 +02:00
Konstantin (DigitalEntity) Sharlaimov
47b7816564 NAV: Don't allow position estimation if no valid heading. Fixes #88 2016-03-05 18:04:35 +02:00