Git Product home page Git Product logo

ardupilot-config's Introduction

Configurations for my fleet of ArduPilot vehicles

I'm learning how to configure ArduPilot, the open source autopilot. There are over a thousand parameters in the default configuration file; more with optional hardware. To keep track of all these values, I'm putting them under GIT. Now I can track how my configuration evolves as gain clearer understanding of the system.

Files

Mission Planner downloads the entire parameter set as a flat list. I prefer to break it up into functional subsets. They correspond roughly to different pages in MP. Mostly, I want to keep things together that have similar lifecycles. For instance, the physical configuration of the sensors (which are present, and where they connect) is stable in a build. As against that, PID values can change from flight to flight when I'm tuning the loop.

Global

  • rcinput-config.param: "R/C calibration" and input configuration. I use the same transmitter model memory for all my ArduPilot airframes. With an autopilot, the transmitter only needs send control inputs (Aileron, Elevator, etc.). Configuration for control mixing, servo reversal and travel, etc. lives on the autopilot. This file also configures which channel controls flight modes, which is the arming switch, etc.

Airframe-specific

For each airframe, I make two files:

  • config.param: settings that reflect decisions about the aircraft. These are decisions I make at the bench and include:
    • INS orientation
    • servo functions
    • sensor connections
    • SYSID_THISMAV
      • this controls where Mission Planner stores the logs it downloads
  • tune.param: settings that reflect flight performance of the aircraft, including
    • PIDF values
    • TECS values including target airspeeds
    • Navigation controller tuning

Scripting

I keep LUA scripts that are useful to a class of aircraft under scripting.

Odds and Ends:

  • Santa Clara County Model Aircraft Skypark North_AP.RFX: a modification to the stock RealFlight airfield that aligns correctly with North, for use with ArduPilot simulations in RF.
  • update-from-dl.sh: Mission Planner downloads all parameter into a single, flat file. This utility updates different .param files from this single download.
  • opentx-config: copies of model and radio configurations from my TX.

ardupilot-config's People

Contributors

arikrupnik avatar

Watchers

 avatar

ardupilot-config's Issues

Arming input configuration

Propagate changes from Super Bee to default configuration:

# arm motors with ARM switch on TX (ch7)
RC7_OPTION,41
# disable arming with right rudder
ARMING_RUDDER,0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.