rhoude57 - YUL
lvl.4
Canada
Offline
|
sevreNniarB Posted at 11-11 18:59
It would be possible, but like I mentioned in my other post: the heavy lifting of the Code is done locally on the S1 (it's running Android 4.4 & Python 3.6). There are "utilities" like UnityRemote and other stuff to get Python working in Unity. DJI uses UnityBridge (which is highly experimental) why shouldn't they use something like UnityRemote? ;)
I'm more of an Unreal Engine person and I've worked in my spare time on some VR stuff. A Robomaster S1 battle/code 3D simulator would need some real development power on their side and lots of the internal functionality would have to be rebuild in C# from scratch. You would need abstraction layers for the hardware, link it back to Python, a Lab code interpreter that is much more than just a dumb terminal, ...
What I have seen done to work around the native RMS1 code is to host the Intelligent Controller on a QEMU émulator.
The Unity code then interacts with the QEMU hosted code as it would with the real RMS1. One instance of the RMS1 could run on the QEMU emulator whereas the other, simulated, RMS1s in the scenario could run using Unity supported logic or AI. Alternately, multiple machines could be networked together into Battle scenarios.
|
|