Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 3.08 KB

prereq.md

File metadata and controls

29 lines (22 loc) · 3.08 KB

Prerequisites

What hardware do you need?

Computer

Good decent desktop or laptop that has GPU with at least 4GB of RAM, 32GB of RAM and a SSD. Large environments in Unreal requires a lot of RAM and beefy GPU card. The typical computer hardware we use for development purposes usually have 6 to 12 cores and graphics card such as NVidia TitanX or NVidia GTX 1080 with 32GB to 64GB RAM and dual SSDs.

RC Transmitter and Receiver

This is remote control that you usually use for real RC vehicles such as drones. Our favorite is FrSky Taranis X9D Plus because it has built-in USB port.

Alternative to RC

Flight controller

Our favorite flight controller is Pixhawk. You can use also use other variants such as Pixfalcon, or the new Pixhawk Mini however we haven't tested them yet. In theory, you should be able to use any flight controller that supports MavLink protocol.

Why do you need flight controller and alternatives

Setup steps

  1. Make sure your RC reciever is bound with its RC transmitter. Connect the RC trasmitter to flight controller's RC port.
  2. Download QGroundControl, launch it and connect your flight controller to USB port.
  3. Install the PX4 firmware v1.4.4 from github. The later releases have a bug that we are working with PX4 team to fix.
  4. In QGroundControl, configure your Pixhawk for HIL simulation by selecting the HIL Quadrocopter X airframe. After PX4 reboots, check that "HIL Quadrocopter X" is indeed selected. You might also want to use QGroundControl to calibrate your RC and set up Flight Mode switch among other things (see below) so everything is green.

Using the Remote Control

When using hardware-in-loop mode, you can use remote controls such as Fly Sky, Spektrum etc.

  1. Connect the receiver for your remote control to the Pixhawk board. Make sure your remote control is bound to that receiver.
  2. In QGroundControl, go to Radio tab and calibrate (make sure, remote control is on and receiver is showing indicator for binding).
  3. Go to Flight Mode tab and chose one of the remote control switch as "Mode Channel". Then set (for example) Stabilized and Attitude flight modes for two positions of the switch.
  4. Go to Tuning section of QGroundControl and set appropriate values. For example, for Fly Sky's FS-TH9X remote control, following settings gives better feel for realism: Hover Throttle = mid+1 mark, Roll and pitch sensetivity = mid-3 mark, Altitude and position control sensitivity = mid-2 mark.
  5. You can usually arm the vehicle by lowering and bringing two sticks of RC together (you don't need QGroundControl after initial setup). Now use RC to fly in simulator. Typically Altitude mode gives better experience for beginners because this mode lets autopilot automatically maintain altitude when throttle stick is approximately in the middle.