Closed chadrockey closed 11 years ago
+1
On 04/10/2013 07:25 PM, Tully Foote wrote:
+1
— Reply to this email directly or view it on GitHub https://github.com/turtlebot/turtlebot_apps/pull/40#issuecomment-16208718.
+inf
I like this!
Looks good. I'll get a new deb rolling this afternoon.
This commit prevents the turtlebot from running over feet/up legs in order to reach the center of the centroid along the z-axis.
Previously, if you stood with your legs apart, someone standing behind you, or with a wall behind you, the centroid would be past your legs/feet.
Using the closest z-reading instead of the centroid is much safer for people with open-toed shoes. This also has the benefit of being able to free the turtlebot from walls and obstacles simply by stepping in front of the turtlebot.