Using a DK1 with an RPi3 with Raspbian Lite (no X11) stretch, I see there's a stock libopenhmd package available, libopenhmd0 (0.2.0-3), several versions newer than the one packaged here.
To try and get vrzero's hmd.py to use it, I have to change libopenhmd.so to libopenhmd.so.0 in hmd.py, however, this results in a buffer overflow.
$ python abbey.py
shader(2) barrel, Compiled
shader(3) barrel, Compiled
('keyboards =', [(0, 0), (1, 1)])
('mice = ', [])
('joysticks =', [])
*** buffer overflow detected ***: python terminated
Aborted
Removing the stock libopenhmd and installing the vrzero-packaged one works.
Using a DK1 with an RPi3 with Raspbian Lite (no X11) stretch, I see there's a stock libopenhmd package available, libopenhmd0 (0.2.0-3), several versions newer than the one packaged here.
To try and get vrzero's hmd.py to use it, I have to change
libopenhmd.sotolibopenhmd.so.0inhmd.py, however, this results in a buffer overflow.Removing the stock libopenhmd and installing the vrzero-packaged one works.