<< return to Pixycam.com

Load parameters/Signatures from file (Beaglebone black)

Hello All,

I am working on a project with the Pixy and beaglebone black. I need to programmatically import/load pixy parameters and signatures from a prm file on the BBB. The file is generated through pixymon, so it made sense for me to figure out how pixymon does the load/store procedures. I think I have a sense for pixymon’s way of doing it, but I was wondering if there a way to do this without Qt? Maybe through the libpixyusb API?

In my initial pass through the source code, it does not appear to be supported. I thought I read through the relevant source pretty thoroughly, but I may have overlooked something, so my apologies if I’m missing something glaring.

Thanks everyone!

Hello Michael,
The PRM files are specific to PixyMon. It should be possible to take the load/store out of PixyMon and add it to something else (another application, or even libpixyusb). It does use some of the Qt classes to make the porting easier though. None of the Qt GUI elements are needed though.

Hope this helps!

Edward

Hello Michael,
The PRM files are specific to PixyMon. It should be possible to take the load/store out of PixyMon and add it to something else (another application, or even libpixyusb). It does use some of the Qt classes to make the porting easier though. None of the Qt GUI elements are needed though.

Hope this helps!

Edward

Edward,

that does help. So, for example, if I were to try to add in the load/store PRM functionality to the “hello_pixy” example, would I need to compile the project using qmake instead of cmake?

Thanks for your help!

Michael

Hello Michael,
That’s correct. Qmake is necessary when using Qt because of the machine generated files it creates and then compiles.

Hope this helps!

Edward