-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lepton 3.1R - functional but no image on GetThermal #62
Comments
Anybody here reading our questions? Seems like this app needs update for the new Lepton 3.1R. |
At some point Apple changed the way permissions to get access to USB devices worked. It could be that you will have better luck running the program from the command line, with |
How did you install it? |
You mean the software? |
You need to tell the command line to run the program. Refer to the mac OS terminal user guide
|
The binaries should be inside the /Applications/GetThermal.app/Contents/MacOS directory. |
After The error happens in this function call in 'leptonvariation.cpp': LEP_RESULT LeptonVariation::UVC_GetAttribute(LEP_COMMAND_ID commandID,
LEP_ATTRIBUTE_T_PTR attributePtr,
LEP_UINT16 attributeWordLength)
{
int unit_id;
int control_id;
int result;
unit_id = leptonCommandIdToUnitId(commandID);
if (unit_id < 0)
return (LEP_RESULT)unit_id;
control_id = ((commandID & 0x00ff) >> 2) + 1;
// Size in 16-bit words needs to be in bytes
attributeWordLength *= 2;
QMutexLocker lock(&m_mutex);
result = uvc_get_ctrl(devh, unit_id, control_id, attributePtr, attributeWordLength, UVC_GET_CUR);
if (result != attributeWordLength)
{
printf("UVC_GetAttribute failed: %d", result);
return LEP_COMM_ERROR_READING_COMM;
}
return LEP_OK;
}
The 3.1R CCI Command ID is new Also, line 136 of Adding complete terminal output text:
|
For me the USB seems to work since I can read the live image of Lepton 3.5 but not the 3.1R. |
Turns out that addition was all that was needed. Just submitted a pull request, but you can try building my branch now: https://github.com/griffin175/GetThermal/tree/Lepton3.1R-support |
Hello griffin175, |
Hello
I just received my Lepton 3.1R and I am unable to view the live image on GetThermal for Mac (screenshot attached).
I am able to see the streaming image on Zoom and MaxMSP.
I reinstalled GetThermal for Mac but it's the same sad result.
Someone can help me with this?
The text was updated successfully, but these errors were encountered: