I'm still working on the procedure that I want to use to test the performance of the HVC-P2. While I was pondering, I thought I'd try hooking the unit up to a Linux laptop. Of course that was a disaster. I stepped into the 32bit/64bit hole again. The laptop I'm using is running the 64bit version of the Ubuntu 16.04 OS. I configured all the software but immediately upon executing the python script I got the evil ELFCLASS32 error. The libSTB.so library of stabilization code was compiled as 32bit so it complained when I tried to link to it with the 64bit OS. I'll have to see if I can find the source code so that I can recompile this library, but in the meantime I decided to move on to the RPi. I am eventually going to use the HVC-P2 with an RPi0W, but I have a headless RPi3 already configured so I decided to use that for now.
Here's my setup - just power and the HVC-P2 connected to the RPi3.
First step was to verify I'm using Python 2.7. Then install the pyserial library for communication and the Pillow library for image processing.
Then to verify that the HVC-P2 was recognized by the OS. It shows up as ttyACM0 in /dev.
Then copy the python code and execute:
Usage: execution.py <com_port> <baudrate> [use_stb=ON]
com_port: COM port
baudrate: baudrate
use_stb: Using flag for STB Library (optional)
python execution.py /dev/ttyACM0 921600 ON
So moving to the RPi was painless. The STB library was written and tested with Raspbian Jessie, but it doesn't appear to have any issues with Stretch (using Release 9.4).
Now to start writing some code....