The platform has long-term support for flight control introduction

1. Pixhawk 2.4.8(Also known as Pixhawk 1)

Pixhaw 2.4.8 is an advanced autopilot designed and manufactured by PX4 Open Hardware Project and 3D robots. It features advanced processor and sensor technology from ST, as well as the NuttX real-time operating system, capable of achieving amazing performance, flexibility and reliability to control any autonomous aircraft. Its features include:

  1. Advanced 32-bit ARM CortexM4 high-performance processor running NuttX RTOS real-time operating system.

  2. 14 PWM/servo outputs (8 of which have safety and manual control functions, and the other 6 auxiliary, compatible with high power), rich peripherals (UART, I2C, SPI, CAN).

  3. Redundant design, integrated backup power supply and basic safety flight controller, can safely switch to backup control when the main controller fails.

  4. The backup system integrates the mixing function, providing automatic and manual mixing mode.

  5. Redundant power input and automatic failover, external safety button for easy motor start.

  6. Multi-color LED light, high power, multi-tone buzzer.

  7. Micro SD, long-term high-speed flight data recording.

image-20231017171021915

2. RflySim configuration

If you are using Pixhawk 2.4.8 (2M flash) flight controller hardware (the corresponding firmware is px4_fmu-v3_default), it is recommended to use the software installation configuration shown in the following figure and the hardware connection configuration shown in the lower right figure.

Pixhawk1

  • Use the px4_fmu-v3_default compilation command.
  • Use "7" :P X4 1.13.2 firmware.
  • Use "1": WinWSL compiler.
  • Pixhawk 1 comes with its own LED light, no external module is required, just press the right picture to connect the remote control receiver.

Note: Pixhawk 2/3/4 does not come with LED and other modules, you need to purchase an external LED module.

3. Official firmware and restore

Open the QGC ground station and enter the following interface.

image-20240123171337326

Link the flight controller to the computer, select the following in the pop-up interface, and select the burning firmware px4_fmu-v3_default.px4

image-20240123171443680

Wait for the burning to complete.

image-20240123171632687

The parameters of the reset flight controller are the default values of the firmware.

image-20240123171743005

Set the rack to HIL Quadcopter X, scroll to the very top, click "Apply and Restart", and wait for the reboot to complete.

image-20240123172011009

image-20240123172120025

Link the receiver on the remote control (note the line sequence) and turn on the remote control.

image-20240123172415438

Follow the diagram to calibrate the remote control.

image-20240123172518100

Set the airplane mode as shown in the figure below.

image-20240123172705944

Set in Security to enable only hardware-in-the-loop emulation.image-20240123172816130

4. Start a hardware-in-the-loop (HIL) simulation

Once you have done the above settings, turn off QGC. Run the [Installation Directory]DesktopRflyToolsHITLRun.lnk script in administrator mode, and enter the port number of the flight controller (for example: 4) in the pop-up cmd dialog box.

image-20240123173110715

Wait for the bottom left corner of CopterSim to display: PX4: GPS 3D fixed & EKF initialization finished.

image-20240123173206282

image-20240123173425214

Unlock through the CH5 channel in the remote control to take off and control the aircraft.

image-20240123173546755

results matching ""

    No results matching ""