WIP: NavQ Setup
Due to the complexities involved in getting code to build on both x86 and arm, we were unable to complete this portion of the project in time
This guide assumes you have already followed this guide to setup your navq board. Make sure the navq is turned on, and on your network.
If you are connecting from windows, make sure to enable x-server forwarding:
This will allow for the various GUI commands to open up a display via xming
You will need to follow the install instructions here for the arm64 install of docker.
Then you will want to give the user sudo-less docker access:
sudo groupadd docker
sudo usermod -aG docker $USER
Then log out and back in.
Then run the linux dev script:
cd ~/path/to/git/repo/
./run_dev_linux.sh ~/path/to/git/repo/
pip install cmake rm cmake ln user/.local/.../cmake to usr/bin/cmake
re link mavsdk file in project
mkdir -p /home/user/hovergames2/code/cmake-build-debug
run cmake . in project home cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /home/user/hovergames2/code
Sometimes the above fails for jsoncpp in mavsdk, recmake after cleaning up mavsdk cd ~/thirdparty/mavsdk && rm -rf * && git reset --hard && git submodule update --init --recursive
build cmake --build /home/user/hovergames2/code/cmake-build-debug --target HoverGames2 -- -j 4