Skip to content

Toolchain Long-Term Support for Flight Controller Introduction

1. Cubepilot Cube Orange

This controller is designed to be used with domain-specific carrier boards to reduce wiring, improve reliability, and simplify assembly. For example, a carrier board for commercial inspection vehicles may include connectivity for companion computers, while a carrier board for racing drones may integrate ESCs for the vehicle frame. The ADS-B carrier board includes a custom 1090 MHz ADS-B In receiver from uAvionix, providing attitude and position information for commercial manned aircraft within the Cube series. For more information, see: https://docs.px4.io/main/en/flight_controller/cubepilot_cube_orange.html.

Cube Orange

2. RflySim Configuration

Use the software installation configuration shown in the figure below, and the hardware connection configuration shown in the lower-right figure.

Pixhawk1

  • Use the cubepilot_cubeorange_default compilation command.
  • Select version “7”: PX4 1.13.2 firmware.
  • Select compiler “1”: WinWSL compiler.

3. Official Firmware and Restoration

Open QGroundControl (QGC) and navigate to the following interface.

image-20240123171337326

Connect the flight controller to the computer. In the pop-up interface, select the following option to flash the firmware: cubepilot_cubeorange_default.px4

image-20240123171443680

Wait for the firmware flashing process to complete.

image-20240123171632687

Restore the flight controller parameters to their default values defined by the firmware.

image-20240123171743005

Set the airframe to “HIL Quadcopter X”, scroll to the top, and click “Apply and Restart”. Wait for the restart to complete.

image-20240123172011009

image-20240123172120025

Connect the remote control receiver (note the wiring sequence) and power on the remote control. Calibrate the remote control as shown in the figure.

image-20240123172518100

Set the flight modes as shown in the figure below.

image-20240123172705944

Under the “Safety” section, enable only Hardware-in-the-Loop (HIL) simulation.

image-20240123172816130

4. Launch Hardware-in-the-Loop (HIL) Simulation

After completing the above setup, close QGC. Run the "[Installation Directory]\Desktop\RflyTools\HITLRun.lnk" script as Administrator. In the pop-up cmd window, enter the flight controller’s port number (e.g., 4).

image-20240123173110715

Wait until the bottom-left corner of CopterSim displays: “PX4: GPS 3D fixed & EKF initialization finished.”

image-20240123173206282

image-20240123173425214

Disarm the vehicle using channel CH5 on the remote control, then take off and control the aircraft flight.

image-20240123173546755