Skip to content

Commit bcc0cd0

Browse files
Merge pull request #149 from jefftheprogrammer/patch-1
correct comment line in example
2 parents 990b110 + 92f937f commit bcc0cd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/api/vision/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ You can access the position using ``m.bearing`` and ``m.distance``.
8282
8383
for m in markers:
8484
print(m.bearing) # Bearing to the marker from the origin, in radians
85-
print(m.distance) # Bearing to the marker from the origin, in radians
85+
print(m.distance) # distance to the marker from the origin, in meters
8686
8787
* ``m.bearing`` is equivalent to ``m.position.cylindrical.phi``.
8888
* ``m.distance`` is equivalent to ``m.position.cylindrical.p``.
@@ -108,4 +108,4 @@ conventionally is in the top left corner of the image.
108108
109109
for m in markers:
110110
print(m.pixel_corners) # Pixel positions of the marker corners within the image.
111-
print(m.pixel_centre) # Pixel positions of the centre of the marker within the image.
111+
print(m.pixel_centre) # Pixel positions of the centre of the marker within the image.

0 commit comments

Comments
 (0)