Table of Contents |
---|
Overview
...
Follow the steps to run the Mission Planner simulator which are explained in this document: https://uwarg-docs.atlassian.net/wiki/spaces/CV/pages/2240643073/Ardupilot+Simulation+with+Mission+Planner#MAVLink-Forwarding.
Note: On step 2 you will be running another application so proceed to step 3.
Once you finish step 3 in the document, you can run the pathing repository code with the command
python -m path_2023
.Scan the QR code. TODO: Link the QR code image here.
The script should run successfully (The script should output “Done” to signify it has finished) and the waypoints should be loaded onto the simulator. 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
...
2a. Press Escape -> Free Play -> Aircraft -> Quadcopter X - > flightaxis (If you don't see this file go to step 3), press Select.
...
16. RealFlight should now execute the mission. You can press Arm/Disarm again if you want to force stop the mission, and spacebar to reset the vehicle's position.
Testing Status
The code has been tested and the pathing repository works as expected.
USB Communication
Instructions on how to run
Find a USB-C to USB-A cable
Connect the USB-C end to the Pixhawk. There is a USB-C port on the side of the Pixhawk.
Connect the USB-A end to a USB port on the ground station computer.
Power the Pixhawk.
Determine the name of the COM port the Pixhawk is connected to on the ground station computer.
Edit the
CONNECTION_ADDRESS
constant in themain_2023.py
to be"comX"
where X is the COM port number.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.
Run the pathing repository with the command
python -m main_2023
.Scan the QR Code.
The script should run successfully (The script should output “Done” to signify it has finished).
Remove the USB cable from the Pixhawk and place the UAV in position for takeoff.
Open Mission Planner and connect Mission Planner to the drone.
Press the “Plan” tab in the top left corner.
Click on the “Read” button on the right-hand side.
The waypoints from the script should appear on Mission Planner.
Testing Status
The code has been tested and the pathing repository works as expected.
LTE Communication
Instructions on how to run
Find a USB-C to USB-A cable.
Connect the USB-C end to the Pixhawk. There is a USB-C port on the side of the Pixhawk.
Connect the USB-A end to a USB port on the Raspberry Pi.
Power the Pixhawk.
Power the Raspberry Pi using a USB-C charger that connects to the USB-C power port on the Raspberry Pi.
Open Mission Planner and wait for around a minute to see if the UAV connects automatically to the ground station computer.
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.
Run the pathing repository with the command
python -m main_2023
.Scan the QR code.
The script should run successfully (The script should output “Done” to signify it has finished).
Press the “Plan” tab in the top left corner.
Click on the “Read” button on the right-hand side.
The waypoints from the script should appear on Mission Planner.
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.