Prerequisites
Follow the the guide at WIP - Flutter Setup for flutter setup. Note that the android part is not needed for this project. You only need the Windows (or MacOS if that is your OS) for IMACS2.
Below is a TLDR of the steps required
Set up Mission Planner
Open the Mission Planner application and follow the steps inhttps://uwarg-docs.atlassian.net/wiki/spaces/CV/pages/2240643073/Ardupilot+Simulation+with+Mission+Planner#MAVLink-Forwarding to forward MAVLink messages to port 14550.
Setting up flutter windows development
Follow the guide at https://docs.flutter.dev/get-started/install/windows to install the flutter software development kit
Make sure you have “Desktop development with C++” workload installed, this can be downloaded from visual studio build tools
Run
flutter --version
to check if installation was successfulEnable windows developer mode, you can access this setting by typing
start ms-settings:developers
into command prompt
IMACS Setup
Visit the UWARG github and locate the IMACS 2.0 repo: https://github.com/UWARG/IMACS-2
Clone the IMACS 2.0 repository to local:
git clone [repository link]
In the repository, run
flutter build windows
to build the windows runnerStart debugging using the ‘run and debug’ button or F5. Make sure you have selected windows (or Mac) as the device used.
The IMACS GUI should pop up (this step might take a while for the first time)
It will error out if your mission planner is not setup to send data (due to current implementation)