1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-20 14:55:18 +03:00
Commit graph

3259 commits

Author SHA1 Message Date
Dominic Clifton
50f3be3d19 Merge pull request #1518 from martinbudden/sonarcleanup
Sonarcleanup - replaced Sonar magic numbers with #defines. First cut of sonar test code.
2015-11-28 13:23:06 +00:00
Martin Budden
849797a035 Changed SONAR device characteristics (max range etc) from #defines to variables to allow future support of different SONAR hardware. 2015-11-28 13:13:18 +00:00
ProDrone
6610788b44 Prevent SPEKTRUM receivebuffer overflow
To solve the same problem for SPEKTRUM as mentioned for SBUS here: https://github.com/cleanflight/cleanflight/issues/1512#issuecomment-159267342
2015-11-28 12:54:07 +00:00
Dominic Clifton
c0b7dfc796 Merge pull request #1517 from ProDrone/sbus_buffer_overflow_bug
RX - Prevent SBUS receivebuffer overflow
2015-11-28 12:28:49 +00:00
Martin Budden
cda717dbe4 Improved cosine approximation used when calculating altitude when tilted. Now second order Taylor expansion with only 2 extra float multiplies. 2015-11-27 01:12:29 +00:00
Martin Budden
a097e4912f Improved naming of #defines by including units suffix (_CM etc) and separating naming of device specific constants from general sonar constants.
Moved device characteristics #defines (max range etc) into sonar_hcsr04.h

Moved calculation of tilt angle from altitudehold.c to sonar.c

Moved tilt checking from sonar_hcsr04.c to sonar.c, the driver should not anticipate usage.
2015-11-27 00:58:47 +00:00
Martin Budden
83d3d00163 Added test code for sonar distance and altitude functions 2015-11-25 21:37:39 +00:00
Martin Budden
3e95ecbba9 Replaced Sonar magic numbers with #defines. Added first cut of Sonar test code. Corrected spelling in comments. Minor improvements to comments. 2015-11-24 23:26:58 +00:00
ProDrone
b1a22c69ed Prevent SBUS receivebuffer overflow
To solve problem mentioned here: https://github.com/cleanflight/cleanflight/issues/1512#issuecomment-159267342
2015-11-25 00:20:05 +01:00
Martin Budden
230cc3c90e Added link to development folder 2015-11-24 21:55:49 +00:00
Martin Budden
dcf990677d Fixed spelling mistakes. Changed text reference of 'baseflight' to 'Cleanflight'. 2015-11-23 23:06:57 +00:00
Dominic Clifton
b069201bb3 Revert disabling UART1 RX via DMA on F1 targets. See
4eb6581b76.

On my PORT103R test rig packet errors occur after some time and
communication with the configurator eventually becomes impossible.

I suspect the lack of hardware flow control and loop time jitter to be
the root cause.

config:
feature RX_PPM VBAT SOFTSERIAL GPS FAILSAFE SONAR TELEMETRY DISPLAY
BLACKBOX

serial 0 1 115200 57600 0 115200
serial 1 2 115200 57600 0 115200
serial 30 4 115200 57600 0 115200
serial 31 0 115200 57600 0 115200
2015-11-18 20:43:44 +00:00
Dominic Clifton
f632a5048d Enable GTune by default on CJMCU again (due to other code size reductions). 2015-11-16 21:51:12 +00:00
Dominic Clifton
cbbc0aca67 Merge pull request #1483 from NightHawk32/master
Added 3D configuration parameters to the MSP, so they can be changed …
2015-11-16 21:42:55 +00:00
NightHawk32
05770f8f6b Merge remote-tracking branch 'upstream/master' 2015-11-15 11:20:55 -05:00
Dominic Clifton
80da784006 Merge branch 'borisbstyle-filter_extend' 2015-11-14 22:31:47 +00:00
Dominic Clifton
e7a87c466b Merge branch 'filter_extend' of
https://github.com/borisbstyle/betaflight into borisbstyle-filter_extend

Conflicts:
	src/main/flight/pid.c
	src/main/io/serial_cli.c
	src/main/mw.c
2015-11-14 22:31:29 +00:00
Dominic Clifton
df7d4be263 Ignore leading whitespace when setting values by name,
Previously this didn't work:
`set blackbox_device = SPIFLASH`
Users had to type in:
`set blackbox_device =SPIFLASH`
2015-11-14 16:35:42 +00:00
Dominic Clifton
2d73a74802 Enable Blackbox on CC3D by default since all CC3D's have a flash chip. 2015-11-14 16:15:40 +00:00
Dominic Clifton
f67cb01e65 Configure blackbox device via named valie (SERIAL / SPIFLASH) 2015-11-14 16:15:39 +00:00
Dominic Clifton
fc2f44c029 Merge pull request #1079 from borisbstyle/mag_hold_dead
Decreased MAG_HOLD deadband to 15
2015-11-14 13:38:55 +00:00
Dominic Clifton
4dfad9d2c8 Further documentation cleanups. 2015-11-14 02:56:51 +00:00
Dominic Clifton
3c57c3c778 Update CLI docs. 2015-11-14 02:54:04 +00:00
Dominic Clifton
9e99e531f6 Update pin controller documentation - remove numeric references. 2015-11-14 02:52:07 +00:00
Dominic Clifton
f66094ed51 Restore yaw_p_limit which was removed in error in
e347e7d4bf
2015-11-14 02:51:34 +00:00
Dominic Clifton
bf8daea1b9 Cleanup names of pid controllers. 2015-11-14 00:30:41 +00:00
Dominic Clifton
fd62dc53fb Bump API version. 2015-11-14 00:30:37 +00:00
Dominic Clifton
ecbc0cd915 Merge branch 'cli-named-values'
Conflicts:
	src/main/io/serial_cli.c
2015-11-13 23:54:32 +00:00
Dominic Clifton
e58595fcb8 Remove configuration of pid controller via name.
Makes merging of #1488 easier.
2015-11-13 23:44:25 +00:00
Dominic Clifton
fb85e7f08a Merge pull request #1012 from borisbstyle/pidCleanup
PID controllers cleanup (less pid controllers)
2015-11-13 23:30:40 +00:00
Dominic Clifton
238b3c3cea Support get/set configuration values by name.
e.g. ON/OFF instead of 1/0.
2015-11-13 22:30:37 +00:00
Dominic Clifton
9a15aa14f7 Merge pull request #1487 from borisbstyle/lux_defaults
Luxfloat defaults
2015-11-13 22:08:16 +00:00
borisbstyle
a1c72967ec Luxfloat defaults 2015-11-13 21:33:38 +01:00
borisbstyle
e347e7d4bf PID Controller Cleanup
Documentation Draft

add cli names

Cli name adaption

cli set numeric and string

correct names

change

Only PID1 and PID2

Add PID3
2015-11-13 21:31:18 +01:00
Dominic Clifton
48f8fc3912 Merge pull request #1158 from borisbstyle/tpa_iterm_pid1
Remove TPA from Iterm PID1
2015-11-13 19:09:23 +00:00
Dominic Clifton
a8b91b8fc1 Merge branch 'borisbstyle-i2c_overclock' 2015-11-13 19:02:14 +00:00
NightHawk32
ddca6b81cc Added 3D configuration parameters to the MSP, so they can be changed in the configuration tab of the chrome app 2015-11-11 15:20:01 -05:00
borisbstyle
9da66d5005 I2C Overclock Feature
This speeds up IMU speed significantly.
F1 Targets like NAZE Looptime of ~900 is possible
F3 Targets like  SPRACINGF3 looptime of 370 is posible
2015-11-10 01:02:32 +01:00
borisbstyle
bc0a30780f Remove TPA from Iterm PID1 2015-11-09 23:31:05 +01:00
Dominic Clifton
83109dbf17 Merge pull request #1399 from JamesHarrison/gpspassthrough-power-docs
Add mention of power requirements for gpassthrough
2015-11-04 20:19:02 +00:00
Dominic Clifton
b63c5a648c Merge pull request #1463 from Pierre-A/fix_Hott_GPSspeed
Fix bug on Hott GPS speed
2015-11-04 19:59:08 +00:00
Dominic Clifton
ba6644f784 Merge pull request #1465 from 4712/master
Fix 1wire pass through for F3 + target config changes
2015-11-04 19:57:10 +00:00
4712
9be5abf0d3 Fix 1wire pass through for F3 + target config changes 2015-11-04 14:30:25 +01:00
Pierre-A
8ecbd77578 Fix bug on Hott GPS speed 2015-11-02 09:47:30 +01:00
Dominic Clifton
f18936a472 Merge pull request #1431 from Echelon9/fix/issue-1430
Correct use of sizeof(data_element) rather than sizeof(pointer)
2015-11-01 10:19:32 +00:00
Dominic Clifton
6381df51a1 Merge pull request #1455 from sorki/patch-2
Fix Requ(i)rements typo
2015-11-01 10:18:32 +00:00
Dominic Clifton
567297a172 Merge pull request #1454 from xythobuz/Vagrant
Added Vagrantfile
2015-11-01 10:15:29 +00:00
Dominic Clifton
2699cc8928 Merge pull request #1458 from MotoLab/spektrum_bind
Enabled SPEKTRUM_BIND for MOTOLAB
2015-11-01 10:14:23 +00:00
Dominic Clifton
d9f4653ac4 Merge pull request #1460 from tracernz/usb-flashing-docs
Docs: Add USB-DFU flashing docs
2015-11-01 10:14:04 +00:00
Moto Moto
bc69e827b5 Enabled SPEKTRUM_BIND for MOTOLAB 2015-10-31 15:00:14 -05:00