Simulator under windows?
-
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
-
@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