This was inspired by a Duke Robotics Repo linked HERE
This repository serves as the main development environment for the AAV Drone
- Open this repository on GitHub.
- To create the codespace for the first time (skip to step 3 if you've already created the codespace):
- Click the green "Code" button.
- Switch to the "Codespaces" tab.
- Click the "+" button to create a new codespace.
- A new tab will open with the codespace. It will take approximately five minutes to build the container and prepare the codespace.
- Once the codespace is ready, you will see the terminal in the bottom of the window, and you will be in the
/workspaces/{repo-name}directory. - If you are prompted to install the recommended extensions, click "Install All" to install the recommended extensions. If you are not prompted, you can install the recommended extensions by clicking the extensions icon on the left sidebar, searching for "@recommended" in the search bar, and clicking the cloud icon next to "Workspace Recommendations".
- To open the codespace after it has been created:
- Click the green "Code" button.
- Switch to the "Codespaces" tab.
- Click on the codespace you want to open.
- Optional: If you would like to open the codespace in VS Code on your local machine, perform steps 1-2, click the three dots on the right side of the codespace and select "Open with Visual Studio Code".
- After you have finished working, close the tab with the codespace or close the VS Code window if you opened the codespace in VS Code.
- To stop the codespace:
- Go back to the repository on GitHub.
- Click the "Code" button.
- Switch to the "Codespaces" tab.
- Click the three dots on the right side of the codespace and select "Stop codespace".
If you're using GitHub Codespaces, to view the RQT_GRAPH, perform the following:
- Press Ctrl/Cmd + Shift + P to open the command palette.
- Type ">Ports" and select "Ports: Focus on Ports View".
- In the "Ports" view, right-click on
6080in the first column and select "Open in Browser" to open the desktop in a new tab. Alternatively, select "Preview in Editor" to view the desktop in the codespace. - You may need to wait a few minutes for the desktop to load.
- Once you see the "noVNC" logo, click the "Connect" button to open the desktop.
- The RQT_GRAPH will be visible in the desktop (if you've started the RQT_GRAPH).
Used to run the full software setup with Gazebo, yolo, and AAV Software Nodes. Run this on a computer with Ubuntu Linux and an NVIDIA Graphics card.
ros2 launch aav_bringup aav_simulation_launch
Used to run the software needed on the actual drone. Runs yolo and AAV Software Nodes. Run this on the Jetson located on the drone itself.
ros2 launch aav_bringup aav_drone_launch
Type these commands
cd aavDroneSoftware/
git pull
cd aav_ws/
colcon build