Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Overview

This document contains a summary of different tests the Pathing team has conducted, how to run the tests, and the results of each test.

Summary of Tests

Simulation

...

Mission Planner Simulator

...

Instructions on how to run

...

  1. Follow the steps to run the Mission Planner

...

  1. simulator which are explained in this document: https://uwarg-docs.atlassian.net/wiki/spaces/CV/pages/2240643073/Ardupilot+Simulation+with+Mission+Planner#MAVLink-Forwarding.

    1. Note: On step 2 you will be running another application so proceed to step 3.

  2. Once you

...

  1. finish step 3 in the document, you can run the

...

  1. pathing repository code with the command python -m path_2023.

  2. Scan the QR code. TODO: Link the QR code image here.

  3. The script should run successfully (The script should output “Done” to signify it has finished) and the waypoints should be loaded onto the simulator

...

  1. . The simulated drone will follow the route.

Testing Status

The code has been tested and the pathing repository works as expected.

...

Realflight Simulator

...

Instructions on how to run

...

Arunav Munjal to

...

link documentation here.

Testing Status

The code has been tested and the pathing repository works as expected.

Pixhawk

...

USB Communication

...

Instructions on how to run

...

...

  1. Find a USB-C to USB-A cable

...

  1. Connect the USB-C end to the Pixhawk

...

  1. . There is a USB-C port on the side of the Pixhawk

...

  1. .

  2. Connect the USB-A end to

...

  1. a USB

...

  1. port on the

...

  1. ground station computer.

  2. Power the Pixhawk

...

  1. .

...

Power the Raspberry Pi using a USB-C charger. The USB-C end will connect to the USB-C port on the Raspberry Pi.

...

Open up Mission Planner and wait a minute to see if it the drone automatically connects.

  1. Determine the name of the COM port the Pixhawk is connected to on the ground station computer.

  2. Edit the CONNECTION_ADDRESS constant in the main_2023.py to be "comX" where X is the COM port number.

    1. For example, if the Pixhawk is connected to COM port 6 then the CONNECTION_ADDRESS would be "com6". The documentation for this can be found here: https://dronekit-python.readthedocs.io/en/latest/guide/connecting_vehicle.html#get-started-connecting under the “Connection string options” header.

  3. Run the pathing repository with the command python -m

...

  1. main_2023.

  2. Scan the QR

...

  1. Code.

...

  1. The script

...

  1. should run successfully

...

  1. (The script should

...

  1. output “Done”

...

  1. to signify it has finished).

  2. Remove the USB cable from the Pixhawk and place the UAV in position for takeoff.

  3. Open Mission Planner and connect Mission Planner to the drone.

  4. Press the “Plan” tab in the top left corner

...

  1. .

  2. Click on the “Read” button on the right-hand side.

  3. The waypoints from the script should appear on Mission Planner

...

  1. .

Testing Status

The code has been tested and the pathing repository works as expected.

...

titleUSB Communication

...

LTE Communication

Instructions on how to run

  1. Find a USB-C to USB-A cable

...

  1. .

  2. Connect the USB-C end to the Pixhawk

...

  1. . There is a USB-C port on the side of the Pixhawk

...

  1. .

  2. Connect the USB-A end to

...

  1. a USB

...

  1. port on the Raspberry Pi.

  2. Power the Pixhawk

...

Determine what COM port the Pixhawk is connected to.

...

  1. .

  2. Power the Raspberry Pi using a USB-C charger that connects to the USB-C power port on the Raspberry Pi.

  3. Open Mission Planner and wait for around a minute to see if the UAV connects automatically to the ground station computer.

  4. If Mission Planner doesn’t connect after a minute, configure Mission Planner to connect to UDP port 14550 on the top right-hand corner and click connect.

  5. Run the pathing repository with the command python -m

...

  1. main_2023.

...

Remove the USB cable from the drone and place it in position to takeoff.

...

Open up Mission Planner and connect to the drone.

...

  1. Scan the QR code.

  2. The script should run successfully (The script should output “Done” to signify it has finished).

  3. Press the “Plan” tab in the top left corner

...

  1. .

  2. Click on the “Read” button on the right-hand side.

  3. The waypoints from the script should appear on Mission Planner

...

  1. .

Testing Status

The code has been tested and the pathing repository works as expected.

XBee’s Communication

Instructions on how to run

Testing Status

The code has not been tested yet.

RFD 900 Communication

Instructions on how to run

Testing Status

The code has not been tested yet.