loganwilliams / thermografree

An open source, medium resolution, and broadband thermal imaging camera.
MIT License
70 stars 26 forks source link

htpa.py not working #9

Open Grandpa-G opened 4 years ago

Grandpa-G commented 4 years ago

in the htpa.py script around line 171, the loop is never broken. The value of query[1].data[0] is 1 for the first block and so the loop keeps looping.

I am using the Heimann 32x32 sensor and it works with their software ok. Is there something I am doing wrong?

skpick99 commented 4 years ago

Change line 167 from: expected = 1 + (block << 2) to: expected = 1 + (block << 4)

If that doesn't work, uncomment the print statement on line 176 and see report what was (1) received and (2) what was expected.

Grandpa-G commented 4 years ago

I did that and it seems to run now. However, capture_display, I only get black/white and it looks like a high level camera shot of mars surface, just splotches. Running dualcam is yellow to red but never changes. Is this what it should do? image

image

Grandpa-G commented 4 years ago

I think I got dualcam working, I just had to calibrate it.

Grandpa-G commented 4 years ago

Is it possible (easy) to get temperatures from you code?