This project is a small and simple wrapper to access ProSim using Python.
The implementation benefits from pythonnet to import ProSim SDK and wrap around some of its methods. For more special usages, the SDK class can also be accessed directly.
The idea of this implementation is to create a simple and fast access to all datarefs in order to connect then with external hardware.
For convenience I have included the ProSim SDK DLL file in this project, nevertheless the SDK can be found here:
https://download.prosim-ar.com/ProSimSDK/
This implementation has been tested with Python 3.11. I highly recommend to use this version.
To run the examples I recommend to use a virtual env of your choice.
Install requirements:
pip install -r requirements.txtIn the route directory of this repository run:
python examples/<name of the example here>.pyContributing is always welcome, please submit the issues/improvements to this project to keep a good documentation.
Make sure you use Formatting: Black
This code is licensed under MIT license.
ProSim provides many features which can be accessed from their SDK. Not all features have been implemented, but this implementation is a good basis to start something bigger (I believe).
- Error handling can be improved digesting the original ProSim exception to extract the reason of failure and finally create a pyprosim exception class. (Just thinking loud)