Flight controller connection and config
Connection to the flight controller
Follow these instructions to connect to the flight controller from Mission Planner or QGroundControl from the host PC.
There are three preferred ways to connect to the flight controller:
UDP ( Wi-Fi connection)
UDP ( through micro-USB cable plugged into the USB_DEV connector on the DroneCore.Pilot board )
USB ( directly connected from the host PC to the flight controller )
Assumed user logged in to Jetson (read Connection test section to connect to Nvidia Jetson)
Open /etc/profile configuration file
sudo nano /etc/profileFind and set MAVROS_GCS_URL as
export MAVROS_GCS_URL="udp-b://192.168.55.1@"Execute command to run mavros:
roscd mavros && roslaunch mavros apm.launchRun QGroundControl or Mission Planner on the host PC, and it should automatically connect
If there are issues with connecting from a Windows host, there is likely a problem with the firewall or antivirus software
Assumed DroneCore.Pilot assembled with a Wi-Fi card and connected to the same network as the host PC
Assumed known IP address of Jetson in the network ( to find IP address, execute
ifconfigon Jetson and check IP of wlan0 connection )Connect to Jetson through ssh (read Connection test section to connect to Nvidia Jetson)
Open /etc/profile configuration file
sudo nano /etc/profileExchange IP address of MAVROS_GCS_URL to the wlan0 one
export MAVROS_GCS_URL="udp-b://x.x.x.x@"Execute command to run mavros:
roscd mavros && roslaunch mavros apm.launchRun QGroundControl or Mission Planner on the host PC, and it should automatically connect
If Jetson is set up as a Wi-Fi access point, the IP address is standardly 10.42.0.1
If there are issues with connecting from a Windows host, there is likely a problem with the firewall or antivirus software
Connect the USB cable from the host PC directly to the flight controller

Open QGroundControl or Mission Planner and connect to the corresponding COM port
Flight controller configuration
In order to perform the first flights, the flight controller must be configured for the vehicle. Typically, one should follow the instructions for their type of vehicle and the used firmware.
In case of default DroneCore.Suite, the flight controller is Cube orange with Arducopter 4.1. configured for use on the Quadcopter Discovery UAV by Airvolute, and this manual is optimised for the aforementioned configuration.
Basically, the user ought to follow the instructions in the flight controller firmware manual. However, there are some specific settings needed to run DroneCore.Suite correctly.
If you use a different vehicle type or autpilot, please read the section Specifics.
Default settings
The Cube Orange supplied with the DroneCore.Suite is already loaded with firmware and settings. If, in any case, the default configuration has to be restored, it is recommended to follow the firmware update manual and load the settings from this settings file according to Load presaved part of the Mission Planner Configuration and Tuning.
Ardupilot configuration (based on Ardupilot documentation)
Use the GCS software to connect to ArduPilot via USB, UART or UDP connection
Ensure you are using the correct ESC configuration for your motor if FOC ESCs are used
Set up your vehicle frame type
Assign the motors to the outputs.
If using CAN ESCs, configure the CAN communication accordingly
Test your motor settings.
If you are also using radio control, configure and calibrate it.
If using GPS, mount and configure the GPS module.
Set transmitter modes. These will serve for manual control of the drone. The flight mode can be changed externally via MAVLINK, which is also the case in autonomous control from the flight computer Xavier NX (check wording consistency).
Based on the ESC you are using, consider calibrating also your ESCs. This is not needed in the case of DroneCore.Power, which has a separate section
Activate the failsafe mechanism according to your needs. We recommend at least these options: battery, radio (if using R/C control), EKF, vibration, and crash
Follow the first flight instructions to make your first flight, tune PID settings and related
Specifics
COM settings
Serial 2 protocol is reserved for the flight computer and must be set to Mavlink 2
Board-to-board interconnection between The Cube on DroneCore.Pilot and DroneCore.Power is using the CAN1 interface
Last updated
