Skip to content

Instantly share code, notes, and snippets.

View coreysnyder's full-sized avatar

Corey Snyder coreysnyder

View GitHub Profile
@coreysnyder
coreysnyder / PyrodroneF4BF3.3.txt
Created August 10, 2018 01:21
Pyrodrone F4 Setup - BF 3.3
# feature
feature TELEMETRY
feature AIRMODE
feature ESC_SENSOR
feature ANTI_GRAVITY
feature DYNAMIC_FILTER
# beeper
beeper -ON_USB
const ProjectListLi = ({index, project, canManageProjects, editClickCB, selectProject}) => (
<li className="col-sm-3" role="menuitem" onClick={(e) => selectProject(project)}>
<div id={project.name + '-' + project.id} className={'tile'}>
<h3>{project.name}</h3>
{canManageProjects && (
<div className="edit-bar text-muted" onClick={(e) => editClickCB(e, project)}>
<i className="glyphicon glyphicon-pencil"></i> EDIT
</div>
)}
</div>
export function toggleSidebar(){
return {
type: TOGGLE_SIDE_NAV,
text: "TEST",
}
}
export default function(state = true, action) {
console.log('default state', state, action);
Changes. Went with some of these settings taken from the preferred racing profile. I didn't take all of them b/c I think
some were mostly related to weight and not racing vs freestyle.
# set iterm_relax = RP
iterm_relax set to RP
# set iterm_relax_type = SETPOINT
iterm_relax_type set to SETPOINT
# set iterm_relax_cutoff = 12
iterm_relax_cutoff set to 12
Made some of the recommended changes
CHANGES:
# set gyro_lowpass_type = PT1
gyro_lowpass_type set to PT1
# set gyro_lowpass_hz = 120
gyro_lowpass_hz set to 120
# set gyro_lowpass2_type = PT1
gyro_lowpass2_type set to PT1
# set gyro_lowpass2_hz = 300
This is stock Betaflight 3.4 with no PID or filter adjustments yet. I'll go fly and find out how it feels and then start trying other things.
# dump
# version
# Betaflight / CLRACINGF4 (CLR4) 3.4.0 Jul 2 2018 / 12:08:17 (463d7aa1c) MSP API: 1.39
board_name CLRACINGF4
manufacturer_id
I've seen 3 different ways loaders are used, and I'm not sure what the the heck the difference is,
or which ones are even necessary.
//####### In .babelrc file
{
"presets": ["@babel/preset-env", "@babel/preset-react"]
}
//####### In package.json file
"babel": {
# diff
# version
# Betaflight / PYRODRONEF4 (PYRO) 3.4.0 Jun 10 2018 / 02:44:27 (a5ba01666) MSP API: 1.39
board_name PYRODRONEF4
manufacturer_id
# name
name RoscoFPV
# version
# Betaflight / OMNIBUSF4SD (OBSD) 3.4.0 Apr 6 2018 / 22:55:19 (b503cd521) MSP API: 1.38
# name
name RoscoFPV
# resources
resource MOTOR 1 A02
resource MOTOR 4 B00
resource SERIAL_TX 3 NONE
@coreysnyder
coreysnyder / FinallyWorkingCompass.txt
Created March 29, 2018 03:17
A Betaflight dump with my GPS & Compass Magnetometer finally working!
# Betaflight / OMNIBUSF4SD (OBSD) 3.3.0 Mar 2 2018 / 03:56:35 (177472b4f) MSP API: 1.37
# name
name RoscoFPV
# resources
resource BEEPER 1 B04
resource MOTOR 1 A02
resource MOTOR 2 B01
resource MOTOR 3 A03