Skip to content

Latest commit

 

History

History
44 lines (40 loc) · 1.46 KB

README.md

File metadata and controls

44 lines (40 loc) · 1.46 KB

Welcome to ZeroPilot3.5

ZeroPilot is WARG's custom flight controller! Before beginning work, please take a look at the desgin documentation and KT videos here: https://uwarg-docs.atlassian.net/wiki/spaces/ZP/pages/2668101634/ZeroPilot3.5+Design

Building the Project

TODO:

  • hardware build
  • testing build

Debugging GoogleTest in VS Code

To debug the testing build in VS Code, add the following launch.json file to the .vscode folder:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "GTest Debug",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}/zeropilot3.5/tests/build/gtestzeropilot3.5",
            "args": [
                "--gtest_filter=*"
            ],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "miDebuggerPath": <path to gdb>,
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ]
        }
    ]
}

Notes: