Coder Social home page Coder Social logo

dymola-drone-fmu-revised's Introduction

Dymola-Drone-FMU-Revised

Final Proof of Concept for the Arch ILE Project

This is a showcase of how a Dymola generated FMU can interact with Unity. Simply download these files and open it with the LTS 2020 Unity edition to see how it works.

If you are interested in learning how to install Unity, please follow this guide: https://www.notion.so/alsetlab/Unity-3D-Setup-9963c3b10e6e47db938fb8d5d3977958

If you are interested in learning how to integrate an FMI into your project, please follow this guide: https://www.notion.so/alsetlab/CATIA-Systems-Unity-FMI-Addon-Integration-Procedure-19a2113876ba417ca9a382a51a2ae445

To see active input work both a gamepad and a keyboard works. The left analog stick of the gamepad controls movement in the XY plane and the right analog stick controls movement in the Z. The keyboard is bound with O/P referring to positive and negative in the Z, and WASD for X/Y. If you want to make adjustments to input processing, please refer to the Input System Package guide by Unity: https://docs.unity3d.com/Packages/[email protected]/manual/QuickStartGuide.html

In general, this is a basic proof of concepts, but in the future, we hope to get Dymola’s collision library working with the Drone movement script. There are a lot of improvements to be made, but this is a good example of how to develop basic consistent time synchronization of an FMI with a game engine. Also, there is currently an error with Unity 2020 where sometimes the project will not “play” due to a String conversion error hopefully this will be fixed in the future on Unity’s end but for the meantime just clear the error in the console, attempt to launch the project again and it should go through.

dymola-drone-fmu-revised's People

Contributors

ericsegall avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.