# Thread:Talk:DrussGT/Understanding DrussGT/Reason behind using Manhattan distance/reply (7)

From RoboWiki

(Difference between revisions)

m (Reply to Reason behind using Manhattan distance) |

## Revision as of 17:10, 28 August 2018

Shouldn´t you be adding that +1 to the x value before squaring?

Euclidean distance = sqrt( (x+1)^2 )

Manhattan distance = x+1