Skip to content

Flying in the simulator

The simulator flies exactly the drone you designed, through the course you laid out in Field. You cannot change the drone while flying. To change a part, go back to the design.

In the Design Space, press Fly it or the F key. Lothal saves the design into the project, builds it and shows Loading… while it starts.

The simulator in the chase view with the drone at the start and the first gate ahead

If the design cannot fly, a message tells you why. For example, Cannot fly: this design does not build (missing <category> <part>).

While you fly, a bar along the top has:

  • ‹ Back, which returns to the design
  • the name of the build, which opens the This build sheet
  • Mission, which opens the mission drawer
  • Field, which opens the Field room

Use ‹ Back to leave. Do not rely on Esc to leave the simulator.

A gamepad is strongly recommended. The keyboard works as a fallback, but a key is either fully on or fully off, so it cannot fly as smoothly as a stick.

Gamepad Keyboard
Pitch Right stick, up and down Up / Down arrows
Roll Right stick, left and right Left / Right arrows
Throttle Left stick, up and down W / S
Yaw Left stick, left and right A / D
Angle / acro Button A Space

If a gamepad is connected, Lothal reads the gamepad. Otherwise it reads the keyboard.

Throttle is centred on hover. With the throttle stick centred, or no throttle key held, the drone holds the throttle it needs to hover. Up climbs and down descends. On the gamepad the throttle is a small trim either side of hover. See Keyboard and gamepad for every key.

The HUD shows the flight mode: Self-levelling or Full manual (acro).

In self-levelling (angle) mode, the stick sets how far the drone leans, and letting go levels it. In acro (rate) mode, which most FPV pilots fly, the stick sets how fast the drone rotates, and letting go holds the angle it is at. Press Space or button A to switch.

A strip of buttons shows the flight keys. Each button is labelled with its key.

Button Key What it does
Pause P Pauses and resumes.
Reset B Restarts the course at the start.
Respawn G Puts you back at the last gate.
Chase / FPV C Cycles the FPV inset, full-screen FPV and the chase view.
Flight mode Space Switches between self-levelling and acro.
Turtle T Turtle mode, which reverses the motors so you can flip over after a crash.
Listener L Moves your ears between the pilot on the ground and the chase camera.
Record R Starts and stops the flight recorder.
Weather K Opens and closes the World & weather drawer.

The Turtle button shows only when the drone is upside down or turtle mode is on. The T key always works. When the drone lands upside down, a message says to press T, then roll or pitch to flip.

If the build has a camera, a small FPV inset shows its view. Its caption gives the camera’s lens angle and uptilt. Two buttons sit on it: Swap swaps the FPV and chase views, and a close button hides the inset. C brings it back.

If the build has no camera, the view says so: no camera fitted.

The bottom left shows the aircraft:

  • Throttle as a bar and a percentage
  • speed in km/h
  • the wind, as Wind <speed> m/s from <direction>°, or Wind none
  • the pack’s voltage and current
  • the pack’s charge and the time left, or on reserve
  • the flight mode

The time left is the better fuel gauge. A pack’s voltage barely moves for most of a flight, then drops fast near the end.

The top left lists build warnings, up to five lines and then + N more.

Fly through the gates in order. The top right shows the current lap, your best lap, and the next gate (Gate N of M). When you finish a lap, a message shows LAP and the time, or NEW BEST when you beat your record.

Your best lap is saved for each course.

If you crash, you are put back at the last gate and a message says Crashed. Back at the last gate. If you fly more than 150 m past the edge of the field, you are put back the same way, with Out of range. Back at the last gate. If the pack runs out, a message says Battery empty.

Press K or use the Weather button to open the World & weather drawer. The flight pauses while it is open. It has:

  • Weather set. Choose a set. Editing the Standard set makes a copy called Custom.
  • World. Switching world puts you back at the start.
  • Air. Wind (m/s, 0 to 40), From (degrees, 0 to 360), Turbulence (m/s, 0 to 10), Temperature (°C), Altitude (m) and Humidity (%). A line shows the pressure and air density these give.
  • Wind variation. Direction wander (degrees; -1 means automatic) and Speed variation (%).

Choose Apply live to blend the wind into the flight.

Mission on the top bar, or Mission in the ⋯ menu of the Design Space, opens the mission drawer. You can pick a mission and an environment, then Watch it to fly it in view, or Run to fly it without drawing it and show the result.

Press R to start recording. The HUD shows Recording with the clock and the number of rows. Press R again to stop. A message says how many rows were saved and the file name.

The simulator while recording, with the Recording time and row count in the lap block

Recordings are CSV files, one row per physics step. You read them in the Flights drawer. A recording names the drone that flew, but it can never rebuild that drone. See File formats.

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