/
Setting up IMACS on Windows/Mac

Setting up IMACS on Windows/Mac

Setting up GUI with TCP Communication (for testing)

Set up Mission Planner

Open the Mission Planner application and follow the steps inMission Planner Simulated Ardupilot | MAVLink Forwarding to forward MAVLink messages to port 14550.

Run Flutter Application

  1. cd into the IMACS-2 project in a command prompt at \Users\WARG\IMACS-2

  2. In the root flutter repository, run flutter run -d windows

  3. Yaw information from attitude messages should print to console (You can print other information by changing the code)

Debugging

  • Make sure Mission Planner is mocking MAVLink messages before starting flutter application

  • Make sure you are on the read-TCP branch

  • Make sure the Flutter application is running as a Windows application

Setting up GUI with Serial Communication

Matthew to fill this out later when testing with Arduino

 

Setting up IMACS on Mac

 

For Visual Studio Code (other IDEs may differ):

 

  • Make sure to install Dart and Flutter. Use brew to install Dart (see Get the Dart SDK for more details). Flutter may be installed on VSC, or directly onto computer by downloading from: https://docs.flutter.dev/get-started/install/macos/desktop . You must also install cocoa-pods, follow the instructions in the above link.

  • Clone the IMACS project into your preferred folder by running git clone https://github.com/UWARG/IMACS-2. Next, run the code by running flutter run on the terminal in the root directory. You will be prompted to choose between macOS, Chrome, or other devices. Choose macOS, and run.

  • Confirm that the output is correct. As of February 21 2025, this is what the home screen of IMACS-2 looks like:

     

  • To troubleshoot any of the above steps, search stackoverflow, ChatGPT, etc. Feel free to contact others in #autonomy-imacs if no solution is available.

Related content

WIP - Flutter Setup
WIP - Flutter Setup
More like this
Unit Testing in Flutter
Unit Testing in Flutter
Read with this
IMACS Setup
IMACS Setup
More like this
Mission Planner Simulated Ardupilot
Mission Planner Simulated Ardupilot
Read with this
2023-06-7 Meeting notes
2023-06-7 Meeting notes
More like this
IMACS Revamp Project Proposal
IMACS Revamp Project Proposal
Read with this