From 58af12b894ec2bfbda1a6e136be09218dc12126e Mon Sep 17 00:00:00 2001 From: Friso H <42006903+Toukie@users.noreply.github.com> Date: Wed, 19 Dec 2018 16:22:53 +0100 Subject: [PATCH] Fixed bad logic in basictutorial doc if distance > 1000 { ... } If within 1 meter this message would show up according to the tutorial --- doc/source/tutorials/basictutorial.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/source/tutorials/basictutorial.rst b/doc/source/tutorials/basictutorial.rst index 68b0b3bbe..5961f3eef 100644 --- a/doc/source/tutorials/basictutorial.rst +++ b/doc/source/tutorials/basictutorial.rst @@ -271,10 +271,9 @@ Using example 2, if your distance is less than a meter you'll get the following Distance is within a meter. Distance is within 100 meters. - Distance is farther than 1 kilometer. As you can imagine the second example isn't good. If we're at less than a meter away from something and the messages for if we would be farther -than 1 kilometer show up we have a big problem. This could be fixed by doing the following, but **THIS IS UNNECESSARILY COMPLEX**: :: +than 100 meters show up we have a big problem. This could be fixed by doing the following, but **THIS IS UNNECESSARILY COMPLEX**: :: set Done to false.