(point1, point2)
| 457 | return cur_action |
| 458 | |
| 459 | def calculate_distance(point1, point2): |
| 460 | return math.sqrt((point2[0] - point1[0])**2 + |
| 461 | (point2[1] - point1[1])**2 + |
| 462 | (point2[2] - point1[2])**2) |
| 463 | |
| 464 | def getPoseAfterMakeAction(new_pose, action): |
| 465 | x, y, z, yaw = new_pose |