Skip to content
Snippets Groups Projects
Commit 8c4092ff authored by dawehr's avatar dawehr
Browse files

Changes to the how_to_demo

parent 765172bd
No related branches found
No related tags found
No related merge requests found
...@@ -52,35 +52,30 @@ The RC transmitter is used to manually control the quad. ...@@ -52,35 +52,30 @@ The RC transmitter is used to manually control the quad.
To obtain an SD card image, navigate to the desired tag in GitLab (`team_17-16_demo`) and download the desired boot image. Copy it to an SD card, and rename it to `BOOT.bin`, which is the default filename for the Zybo to boot from. To obtain an SD card image, navigate to the desired tag in GitLab (`team_17-16_demo`) and download the desired boot image. Copy it to an SD card, and rename it to `BOOT.bin`, which is the default filename for the Zybo to boot from.
## Setup Quadcopter ## Setup Quadcopter
This section assumes the quad already has a prepared boot image inserted into the SD card port and that a properly charged Li-Po battery is ready for use. First, insert a fully charged battery with a monitor connected. The best policy is to always keep a battery monitor plugged in to prevent the battery from discharging too far.
0. Prequisites
1. Make sure the connection to the motors from the main power line is **disconnected**. 1. Make sure the connection to the motors (red Deans connector) from the main power line is **disconnected**.
2. Make sure the previous setup sections have been done prior starting this section 2. Insert the Li-Po battery into the holder beneath the quad, and plug it into the quad. See the image below to know how far back to place it.
1. Insert the Li-Po battery into the holder beneath the quad, and plug it into the quad. ![battery_placement](images/battery_placement.jpg)
2. Turn on the Zybo Board using the switch. 3. Turn on the Zybo Board using the switch.
1. The "PGOOD" Light should turn red. 1. The "PGOOD" Light should turn red.
2. After the program has been completely loaded, the green DONE LED should turn on. 2. After the program has been completely loaded, the green DONE LED should turn on.
3. *NOTE: The I<sup>2</sup>C devices do not get turned off when the Zybo switch is turned off, so to reboot, it is necessary to completely disconnect the battery, in addition to turning off the Zybo board switch.*
![image](/uploads/3aa1363e9f75982f259c2631bf9bcb8f/image.png) ![image](/uploads/3aa1363e9f75982f259c2631bf9bcb8f/image.png)
3. Ensure the quad and transmitter has connected successfully. 4. Ensure the quad and transmitter have connected successfully.
- The RC transmitter should have GAUI 330X selected and displayed on the screen. With the quad and transmitter on, the unit on the quad labeled Spektrum AR610 should have a blinking orange light or solid orange light (It is easier to see the orange light from the top of the receiver). If this is not blinking or solid, try restarting the quad and transmitter with the transmitter closer to the quad. * The RC transmitter should have GAUI 330X selected and displayed on the screen. With the quad and transmitter on, the unit on the quad labeled Spektrum AR610 should have a blinking orange light or solid orange light (We don't know the difference, but the both seem to work?). If this is not blinking or solid, try restarting the quad and transmitter with the transmitter closer to the quad.
![image](/uploads/f08672919265c5ff0017d28c1ba97770/image.png) ![image](/uploads/f08672919265c5ff0017d28c1ba97770/image.png)
![image](/uploads/1a10172835c079f41395638d871f98e1/image.png) ![image](/uploads/1a10172835c079f41395638d871f98e1/image.png)
4. Plug connect the motors to the main power line. 5. Plug connect the motors to the main power line.
## Start the Ground Station (CLI) ## Start the Ground Station (CLI)
Execute the following on the ground station from the root of the ground station folder. Execute the following on the ground station from the root of the ground station folder.
In one terminal, run the backend: In one terminal, run the backend:
```bash ```bash
./BackEnd ./GroundStation
```
Finally, in another terminal, export the socket path, and then execute any CLI commands that you like:
```bash
./Cli setparam 'X pos PID' 'Setpoint' 1.000
# ... other CLI commands
``` ```
## Start the Quad ## Start the Quad
......
documentation/images/battery_placement.jpg

390 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment