![]() |
Drone Autonomy Software C++ 24.1.0
Welcome to the Drone Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the drone autonomy software for our Drone. The Drone Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
|
Debugging a C++ application in Visual Studio Code can be made seamless and efficient using the CMakeTools extension from Microsoft, which was automatically installed into the devcontainer from the Visual Studio Code Extensions Marketplace. This extension integrates CMake with Visual Studio Code, enabling developers to easily build and debug C++ applications directly within the VSCode environment.
CTRL + SHIFT + P
sequence to open the editor commands, and select the Dev Container: Rebuild Container
option.
|
---|
When the devcontainer is first started CMAKE Tools will ask you to select a kit. The compiler located at /usr/bin/g++ and /usr/bin/gcc will always be the safest choice. |
|
During subsequent startups, you can easily change the kit using the bottom toolbar. |
|
---|
Use the buttons in the toolbar to build and run the Drone_Autonomy_Software application. |
Now that you have set up the development environment, you are ready to debug your C++ application.
|
---|
To set breakpoints directly within the vscode editor, toggle on the red dot next to the line numbers. |
|
---|
Use the toolbar to change between Release and Debug configurations. Release runs faster but can't be debugged, so whenever you're done debugging switch back to the Release config. |
|
---|
Click the debug button to enter debug mode in VSCode. |
With CMakeTools and Visual Studio Code, you can efficiently build and debug your C++ applications within the familiar and powerful VSCode environment. The seamless integration between CMake and Visual Studio Code makes it easier for C++ developers to focus on writing code and quickly diagnose and fix issues. Happy debugging!