Skip to content

Config

Config is what you will set on the real flight controller, in its configurator, once the drone is built: which way the motors turn, which serial ports are used, what happens when the radio link drops, and how fast the drone rotates at full stick. It ends in a sheet you take to the bench.

In version 0.5.0 these settings are tabs on part sheets. To open a sheet, select the part and choose Open sheet in the inspector.

Setting Part sheet Tab
Motor direction Motor Spin
Ports Flight controller Ports
Failsafe Flight controller Failsafe
Rates and modes Flight controller Rates
The config sheet Flight controller Config sheet

This is the Spin tab of the motor sheet. It shows which way each motor spins.

  • The choice: Props out (default), Props in, or Per-motor map.
  • The panel lists each motor with its direction, in words you can copy into a configurator.
  • Both conventions fly. What changes is how each propeller is mounted and which way the quad washes out.
  • Lothal cannot tell you your ESC’s motor order, because that depends on how the wires landed on the pads. Check each motor in your configurator’s Motors tab.

The Ports tab shows what wants a serial port (UART) on the flight controller, and how many the board has.

  • Lothal starts from a typical count for the board’s class, which is a guess.
  • Type your board’s real UART count in Your board’s UART count (from its product page). 0 goes back to the class guess.

The Failsafe tab covers what the drone does when the radio link drops. Lothal cannot show it happening, because there is no radio link to lose in the simulator. It can tell you when your choice needs something this build does not have.

The flight controller sheet on its Failsafe tab, with the stage 2 failsafe choice and a Bidirectional DShot toggle

  • Stage 2: choose what the drone does next. A warning appears if you choose GPS rescue with no GPS fitted.
  • Bidirectional DShot: sends RPM back from the ESC down the signal wire, for RPM filtering. Your ESC’s protocol decides whether it can. A warning appears if it cannot.
  • If it won’t arm: the reasons a flight controller refuses to arm that only show up on the bench, in the configurator’s own words. Lothal cannot predict these from parts, so it lists them rather than checking them.

The Rates tab (titled Rates & modes) says how fast full stick turns the drone. This is a pilot’s number, the same on every drone you fly, so it is kept apart from the tune.

The flight controller sheet on its Rates tab, with max rate and expo fields

  • Set Rate in degrees per second, and Expo.
  • The tab compares this aircraft’s full-stick rate with the one the simulator flies.
  • The Modes section explains angle and acro. Which mode sits on which switch is radio setup that Lothal does not model.

The Config sheet tab is the one thing here that leaves Lothal: a Markdown file to open on your phone or laptop at the bench, with the configurator open.

The flight controller sheet on its Config sheet tab, with an Export sheet button above the generated sheet text

  • The preview on the tab is the sheet.
  • Export sheet writes it to the sheets folder as a dated file named after the drone, and shows where it went (Wrote <path>). Each day’s sheet is a separate file, so yesterday’s survives today’s changes.

The sheet lists what to set and what to check, with every figure’s source. It carries this build’s warnings. It says plainly that Lothal has not run any of these settings, and that the tune is a starting point rather than numbers to trust.

  • Motor direction: a direction map that cannot fly.
  • Ports: more parts want a UART than the board has.
  • Failsafe: GPS rescue with no GPS, and an ESC without bidirectional DShot.
  • Nothing here is simulated as a switch or a radio link.
  • The UART count is a class guess until you enter your board’s.
  • No filter settings are recommended.

Documentation licensed underCC BY 4.0. Lothal itself is GPL-3.0-or-later.Report a problem.Roadmap.