devendrachaplot/Neural-SLAM

parameter order when calling atan2() seems wrong

limuyiju opened this issue · 1 comments

angle_st_goal = math.degrees(math.atan2(stg_x - start[0],

The library function is: math.atan2(y, x)
But the usage here seems math.atan2(x, y)
Should the parameters x/y order be changed?

The usage is correct, it depends on how x and y axis are used in mapping for spatial transformation.