Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Setting up GUI with TCP Communication (for testing)

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.

...

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

  2. Check out the TCP development branch with git checkout read-TCP

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

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

...

  • 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 https://dart.dev/get-dart#install 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:

    Image Added

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