-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I have noticed that the Python sample codes don't work on Evo 15m on a Raspberry Pi.
What I did
- I connected the Evo 15m time of flight sensor to a Raspberry Pi 4B via UART
- I checked that the sensor appears to be detected at
/dev/ttyS0 - I first tried to run
python3 Evo_64px_sample_py3.pybut I got an error saying that no sensor was detected - I specified the port inside the script. In particular, I edited line 131 of that file and changed it to
evo_64px = Evo_64px(portname="/dev/ttyS0")- Then I started to get data, but it all seems wrong and not having the correct encoding; it is stuff like
b'\x05\x16T\n'
Invalid frame length: 4
I would appreciate any help on how to resolve this.
alphaville
Metadata
Metadata
Assignees
Labels
No labels