Skip to content

Commit 12552c4

Browse files
authored
Merge pull request #176 from srobo/sonar-angles
Distance sensors don't work at extreme angles
2 parents 81b182c + 6b4fdf1 commit 12552c4

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)