RS2K's blog - RC Groups
RS2K's blog View Details
Posted by RS2K | Dec 28, 2017 @ 03:16 PM | 39,564 Views
This thread is for the discussion of testing the Fast Kalman filter on Betaflight.

The source code can be found here:
https://github.com/rs2k/betaflight/tree/3.3_kalman_test

All previously released binaries can be found here:
https://www.dropbox.com/sh/lw5fuu72g...j0SoBH1Pa?dl=0

The latest and recommended binaries can be found here (2017-01-12 3.3 build).
https://www.dropbox.com/sh/ijtkl9bfu...DT1owgY-a?dl=0

This is a stable master branch with 216 MHz OC instead of 240 MHz, rf rates, yaw Kd, and Kalman Lua.

Special thanks to @fujin and @papayou for helping with this stable branch

You can get the lua scripts here:
https://github.com/papayou66/betafli...ree/lua_kalman


Code:
# Suggested starting point, thanks @fujin

feature AIRMODE
feature ANTI_GRAVITY
feature DYNAMIC_FILTER

# Disable the 1/2 notches
set gyro_notch1_hz = 0
set gyro_notch2_hz = 0

# Conversative defaults for Kalman Q/R noise covariances
set gyro_kalman_q = 300
set gyro_kalman_r = 80

# Increase gyro std deviation movement calibration threshhold: allows gyro calibration
set moron_threshold = 128

# Enable the 32kHz gyro sampling mode, e.g. for MPU-9250, MPU-6500, ICM-20602 et al.
set gyro_use_32khz = ON

# Disable ACC
set acc_hardware = NONE

# While throttle is below 1020 can be used for command stick sequences
set min_check = 1020

# Manual RC smoothing/interpolation on Roll, Pitch, Yaw, and Throttle. 14ms interval. Adjust to suit your radio protocol.
set rc_interp = MANUAL
set rc_interp_ch =
...Continue Reading
Posted by RS2K | Oct 31, 2015 @ 10:44 PM | 584,098 Views
Thread to discuss the RaceFlight Ecosystem

1. RaceFlight firmware. We are currently very actively developing RaceFlight One firmware. This is new firmware from the ground up and has been in works since December of 2015. The goal with the new firmware is to focus on ease of use and performance without having to deal with the vestigial limitations inherent with multiwii based code.


2. ESC firmware. The reason I started RaceFlight was to test ESC theories. The final product of those theories was the MultiShot protocol. RaceFlight is designed to run at very high frequencies. It is highly recomend you use ESCs capable of accepting at least a 32 KHz RC input.


3. Quality Hardware. While it's been proven RaceFlight can handle just about any setup out there, you will get best results when using quality hardware. Electrical noise on poorly designed or damaged Flight Controls will affect flight quality. Poorly designed or noisy ESCs/PDBs could also affect flight quality. RaceFlight is capable of compensating for poor equipment, but you'll always get best results with properly functioning hardware.
...Continue Reading
Posted by RS2K | Jun 01, 2015 @ 08:12 AM | 10,644 Views
I added longer arms to fit the Xrotor40A ESCs. Still not enough camera tilt:



6S (22.2 Volt), 2000KV, 6x4.5, Xrotor40A, BLHeli 14.0 beta (2 min 26 sec)


6S insanity revisited. (1 min 41 sec)
...Continue Reading
Posted by RS2K | May 25, 2015 @ 11:08 PM | 9,262 Views
Posted by RS2K | Jan 24, 2015 @ 07:05 PM | 12,980 Views
Specs:
ZMR 250 frame
DragonFly 32 FC
Cobra 2000kv 2208 motors
6x4.5 HQ props
Rotorgeek 30A ESCs (Provided by Rotorgeeks for this purpose). SiLabs based, perfect for OneShot125. OneShot125 enabled BLHeli.

180 mAh 3S nano tech avionics battery (5v pololu step down for RX and Naze32). 12 volts directly to camera and VTX.
6S 1300 mAh 45~90C Nano-tech battery
Weight: 720 grams ready to fly without Mobius.
Estimated 11:1 thrust ratio.
Estimated top speed over 100 MPH.

I'm using 30A ESCs provided by Rotorgeeks for testing of this extreme setup. I have OneShot125 and damped light mode enabled. No sync issues have been noticed so far.

This bird is using the the same PIDs on 6S that the KISS ESCs were using on 4S. They area tad too high but it flies well. The performance is ridiculous. I'm hovering at a little above 1/8 throttle.

On a full battery the Cobra 2208 2000kv motors overload my 2KG scale. With a 3.75 volt per cell 6S battery I was getting around 1.945 KG of thrust. Here are the test results I performed yesterday on a single motor:
Cobra 2208 2000kv, HQ 6x4.5 prop: 1945 grams of thrust @ 20.98711 volts and 35.1 amps, 736.6475 watts. 2.64 grams/watt. The noise was tremendous.

Bench Test:
Tornado Spawner, insanity incarnate. Throttle response and full throttle bench test. (0 min 35 sec)


First FPV Flight:
First FPV flight of Tornado Spawner, Insanity Incarnate. (1 min 36 sec)
...Continue Reading