Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Simulator under windows?

    Scheduled Pinned Locked Moved
    Firmware developers
    2
    2
    235
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kulitorumundefined
      Kulitorum
      last edited by

      I build concrete printers that are run by a Duet3.

      As a sales and information tool I created an app that allows you to configure your concrete printer - https://cobod.com/configurator

      I now made a VR version where you can walk around the machine and play with it and I want to add the Duet GUI to the VR version so we can use it for training. To make it as realistic as possible my idea is to include RRF in the code and present the user with the actual webpage (on a handheld device in VR) so you can simulate basically everything.

      So to do this I need to compile the core parts of RRF without all the driver and wifi stuff (and probably more) under windows. My hope is to have everything running and feeding XYZE values to my printer simulator setup so you can have the machine running as real life.

      But compiling anything eludes me - I have spend two days and gotten nowhere.

      Does anybody have something like this running that I can use as a starting point? - RRF compiling on windows for win32 in any capacity?

      Any help or ideas are very welcome.

      I'd even pay someone to make it for me 🙂

      dc42undefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @Kulitorum
        last edited by dc42

        @kulitorum to compile under Windows you will need to do at least the following:

        • Set your Windows compiler to C++17 or later
        • Deal with any #pragma directives and any gcc-specific attributes. Declaring __attribute(...)__ as a macro that expands to nothing may be a good start.
        • Replace all the FreeRTOS and CoreN2G project files that are needed by RRF by suitable functions. Mostly they will be do-nothing stubs.
        • RRFLibraries includes a couple of assembler functions that you will need to replace by suitable C code, but should otherwise compile.

        HTH David

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA