Skip to content
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

Temperature values not being updated #42

Open
Sergio- opened this issue Dec 11, 2020 · 2 comments
Open

Temperature values not being updated #42

Sergio- opened this issue Dec 11, 2020 · 2 comments

Comments

@Sergio-
Copy link

Sergio- commented Dec 11, 2020

Hi. I'm trying to use the V4L2 API to read the Aux and FPA temp from Lepton 2.5.
The commands doen't return any error, but, the values are also not updated, it always return the same values.

lep_cid_sys_aux_temperature_kel 0x08030005 (int)    : min=0 max=65535 step=1 default=0 value=30947
lep_cid_sys_fpa_temperature_kel 0x08030006 (int)    : min=0 max=65535 step=1 default=0 value=31089
[solivo@t460ocdc uvcdynctrl]$ sudo v4l2-ctl -d /dev/video2 --all | grep tempe
lep_cid_sys_aux_temperature_kel 0x08030005 (int)    : min=0 max=65535 step=1 default=0 value=30947
lep_cid_sys_fpa_temperature_kel 0x08030006 (int)    : min=0 max=65535 step=1 default=0 value=31089
[solivo@t460ocdc uvcdynctrl]$ sudo v4l2-ctl -d /dev/video2 --all | grep tempe
lep_cid_sys_aux_temperature_kel 0x08030005 (int)    : min=0 max=65535 step=1 default=0 value=30947
lep_cid_sys_fpa_temperature_kel 0x08030006 (int)    : min=0 max=65535 step=1 default=0 value=31089
[solivo@t460ocdc uvcdynctrl]$ sudo v4l2-ctl -d /dev/video2 --all | grep tempe
lep_cid_sys_aux_temperature_kel 0x08030005 (int)    : min=0 max=65535 step=1 default=0 value=30947
lep_cid_sys_fpa_temperature_kel 0x08030006 (int)    : min=0 max=65535 step=1 default=0 value=31089

Any ideas of why that behavior?
Any suggestions on how to the those values via the v4l API?

Thank you.

@kekiefer
Copy link
Member

Are the results different if you use the -C switch to read a specific item?

@Sergio-
Copy link
Author

Sergio- commented Dec 11, 2020

Hi. Thanks for the quick reply.
No, It seems to behave the same way:

[solivo@t460ocdc ~]$ v4l2-ctl -d /dev/video2 -C lep_cid_sys_aux_temperature_kel
lep_cid_sys_aux_temperature_kel: 30947
[solivo@t460ocdc ~]$ v4l2-ctl -d /dev/video2 -C lep_cid_sys_aux_temperature_kel
lep_cid_sys_aux_temperature_kel: 30947
[solivo@t460ocdc ~]$ v4l2-ctl -d /dev/video2 -C lep_cid_sys_aux_temperature_kel
lep_cid_sys_aux_temperature_kel: 30947
[solivo@t460ocdc ~]$ v4l2-ctl -d /dev/video2 -c lep_cid_rad_run_ffc=1
[solivo@t460ocdc ~]$ v4l2-ctl -d /dev/video2 -C lep_cid_sys_aux_temperature_kel
lep_cid_sys_aux_temperature_kel: 30947
[solivo@t460ocdc ~]$ v4l2-ctl -d /dev/video2 -C lep_cid_sys_fpa_temperature_kel
lep_cid_sys_fpa_temperature_kel: 31089
[solivo@t460ocdc ~]$ v4l2-ctl -d /dev/video2 -C lep_cid_sys_fpa_temperature_kel
lep_cid_sys_fpa_temperature_kel: 31089
[solivo@t460ocdc ~]$ v4l2-ctl -d /dev/video2 -C lep_cid_sys_fpa_temperature_kel
lep_cid_sys_fpa_temperature_kel: 31089
[solivo@t460ocdc ~]$ v4l2-ctl -d /dev/video2 -C lep_cid_sys_fpa_temperature_kel
lep_cid_sys_fpa_temperature_kel: 31089
[solivo@t460ocdc ~]$ v4l2-ctl -d /dev/video2 --all | grep tempe
lep_cid_sys_aux_temperature_kel 0x08030005 (int)    : min=0 max=65535 step=1 default=0 value=30947
lep_cid_sys_fpa_temperature_kel 0x08030006 (int)    : min=0 max=65535 step=1 default=0 value=31089

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants