IMACS Setup
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 desktop setup for IMACS2.
Below is a TLDR; of the steps required
(Optional for most tasks) Set up Mission Planner
Note: We currently do not have a way to run Mission Planner on MacOS or Linux.
Open the Mission Planner application and follow the steps inMission Planner Simulated Ardupilot | MAVLink Forwarding to forward MAVLink messages to port 14550.
Setting up flutter windows development
Follow the guide at Choose your first type of app 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: GitHub - UWARG/IMACS-2: New IMACS written in Dart
Clone the IMACS 2.0 repository to local:
git clone git@github.com:UWARG/IMACS-2.git
Navigate to the flutter_app directory
In the flutter_app directory directory, run
flutter create --platforms=windows,macos,linux .
You may exclude operating systems you don’t intend to build for
E.g. If you only want to build for Windows, run
flutter create --platforms=windows .
To start the app either
Run
flutter run
in the flutter_app directoryClick the 'run and debug’ button or press the F5 key in VSCode. Make sure you have selected the correct device as shown by the status bar.
The IMACS GUI should pop up (this step might take a while for the first time.
Next Steps
Join the weekly meetings to get assigned a task
Try building the app using
flutter build [target platform]
(Optional) complete this codelab to familiarize yourself with Flutter: Your first Flutter app | Google Codelabs