Please select Into the mobile phone version | Continue to access the computer ver.
Infra red distance sensor value readout issue
150 1 2024-12-31
Uploading and Loding Picture ...(0/1)
o(^-^)o
mi38k
lvl.1
Czechia
Offline

Hello all,
I have problem when using the infra red distance sensor in programming, specifically it allways reads value of -0.9. Therefore no conditions of code work properly. When I look to the settings section of the robot and tap the sensor, I can see the distance vaue is read properly in cm, but in programming it reads this nonsense. Anyone here with the similar issue?

Thank you in advance for any input!

2024-12-31
Use props
mi38k
lvl.1
Czechia
Offline

So, I will reply to myself to give the information to someone facing the same issue. It looks like the sensor itself is faulty. I took it to the store and tried on their robomaster. Their sensor worked fine, but mine was returning the -0.9. Now I am waiting for the new sensor.
1-8 23:54
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules