Skip to content
Snippets Groups Projects
Commit 59432f36 authored by PASTOR Philippe's avatar PASTOR Philippe :speech_balloon:
Browse files

change target

parent 6d06512d
No related branches found
No related tags found
1 merge request!2Phil
......@@ -7,13 +7,11 @@ from rotation import *
if __name__ == "__main__":
pos_target = np.array([0, 0, -20])
psi_target = 45
eul_target = np.array([0, 90, 45])*deg2rad
quat_target = eul2quat(eul_target)
vel_target = np.zeros(3)
rot_target = np.zeros(3)
env = MavionEnv()
env.target = np.concatenate([pos_target, quat_target, np.zeros(3), np.zeros(3)])
print(env.target)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment