You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to utilize this C library in Python CFFI is an uphill battle w/ respect to slurping in the header due to math included in the header.
Thought about checking code out the source and moving the math into the functions VS allowing it to reside in the header - But before doing that, I wanted to propose a question to the team if anyone has had success using libopendroneid.so w/ Python on *nix OS? If success on Python, did you use ctypes, cffi, or some other module?
In summary:
The math inside the opendroneid.h header file causes Python CFFI to reject the header.
Instructions within the readme for different platforms would be helpful.
I appreciate everyone who contributes to this project.
Thanks
The text was updated successfully, but these errors were encountered:
Once you boil it down, there isn't that much code in this repo and none of it requires any major processing power, so maybe it might even be easier to pick the parts that you need and create a completely new pure Python implementation?
Of course, there is then always the risk of introducing new errors/mis-translations.
If you do end up on that path, and wish to share the results, a new repo can easily be created in the opendroneid project for storing that.
Attempting to utilize this C library in Python CFFI is an uphill battle w/ respect to slurping in the header due to math included in the header.
Thought about checking code out the source and moving the math into the functions VS allowing it to reside in the header - But before doing that, I wanted to propose a question to the team if anyone has had success using libopendroneid.so w/ Python on *nix OS? If success on Python, did you use ctypes, cffi, or some other module?
In summary:
The math inside the opendroneid.h header file causes Python CFFI to reject the header.
Instructions within the readme for different platforms would be helpful.
I appreciate everyone who contributes to this project.
Thanks
The text was updated successfully, but these errors were encountered: