Skip to content

Commit 6b4fdf1

Browse files
authored
Distance sensors don't work at extreme angles
Sonar type distance sensor will only detect an object if the pulse contacts the face within a 45 degree cone about the normal. See https://cyberbotics.com/doc/reference/distancesensor#sonar-sensors for more details.
1 parent 81b182c commit 6b4fdf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

simulator/programming/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Analogous to ultrasound sensors, distance sensors allow you to retrieve the dist
6868
| 5 | Back Right |
6969

7070
These are shown as blue coloured blocks on the robot. The `analogue_read` method will return the distance in metres, however only measure up to 30cm.
71+
Since these sensors rely on echoes being reflected back from objects, if the angle of incidence between the sensor's pulse and the contacted surface exceeds 22.5 degrees then the sensor will be unable to detect the object.
7172

7273
#### LEDs
7374

0 commit comments

Comments
 (0)