Neural-Navigator icon indicating copy to clipboard operation
Neural-Navigator copied to clipboard

How get the p2 by p1 and angel?

Open Mrhugdzh opened this issue 2 years ago • 0 comments

Hello, I read your code, have a question。I have a point(a,b) now, and i want to get the observation through camera. how to get the p2 through p1 and the angle?

this code: in class Simulator method observe_with_camera p2 = p1 + np.array([np.cos(angle)*face_direction[0]-np.sin(angle)*face_direction[1],np.sin(angle)*face_direction[0]+np.cos(angle)*face_direction[1]])

Mrhugdzh avatar Apr 12 '22 12:04 Mrhugdzh