groupgets / purethermal1-firmware

Reference firmware for PureThermal 1 FLIR Lepton Dev Kit
MIT License
125 stars 62 forks source link

Lepton STM32 firmware incomplete #27

Closed bobmc-rmm closed 4 years ago

bobmc-rmm commented 4 years ago

Starting with PT version 1.2.2, I am trying to set/get data from a region-of-interest ROI. Converting from RGB to YUV and streaming over UVC to an application computer is obvious in usb_task. However, the working of UVC is a mystery. For example, in usbd_desc.c there are functions to pack descriptors but they are not linked in the source. In usbd_uvc_if.c, UVC_Receive_FS() does nothing but return OK.

Please tell me how I can implement a UVC data flow for ROI settings and measures.

Using https://www.perceptsystems.ca/netthermal

kekiefer commented 4 years ago

Is this a question about NetThermal? If so, this is not the right place to ask questions about that.

If you're looking for examples on how to send arbitrary Lepton SDK commands you can see here https://github.com/groupgets/purethermal1-uvc-capture and here https://github.com/groupgets/purethermal1-firmware/wiki/Lepton-CCI-through-UVC-extension-units

bobmc-rmm commented 4 years ago

I visited those pages before writing this issue about the firmware. I would like to understand how the current design works before I start tinkering. Looking at the code gives me more questions then answers. An API or a working example of parameter setting and getting would suffice.

kekiefer commented 4 years ago

Well, we use the Lepton ROI features in https://github.com/groupgets/GetThermal with the PT boards. Other than pointing you to these things and to the Lepton IDD, I'm not sure how else to help you.

bobmc-rmm commented 4 years ago

Ok, I rest for now.

regards