Open nimazareian opened 1 month ago
@mkhlb Maybe you can include this change in your Pi/Nano Thunderloop changes.
I am not sure if this needs to be changed as well:
This is used here:
I am not sure if the rapsberry pi has this file?
Also, do we need to update the GPIO
class?
Yes you're right about the CPU temperature. I believe when I looked into this a few weeks ago, the Pi does have that file, but it returns a constant and inaccurate value. The correct way to check the value is using /opt/vc/bin/vcgencmd measure_temp
Regarding the GPIO class, @mkhlb is looking into refactoring that and Motor service so we can use compilation flags to compile for either of the setups.
Description of the task
read from
/usr/bin/dmesg
instead.Acceptance criteria
Blocked By