Skip to content
Snippets Groups Projects
Commit 8635eb89 authored by Andri Joos's avatar Andri Joos :blush:
Browse files

add test for landing

parent 8975a0d4
No related branches found
No related tags found
No related merge requests found
......@@ -83,3 +83,13 @@ def test150from180():
time_steps =_step_loop(env, 2000, time_step)
_assert_last_time_steps(time_steps)
def test_landing():
env = _make_env(123.46241760253906)
time_step = env.reset()
position = client.getMultirotorState().gps_location
client.moveToGPSAsync(latitude=position.latitude, longitude=position.longitude, altitude=140, velocity=10).join()
time_steps =_step_loop(env, 2000, time_step)
_assert_last_time_steps(time_steps)
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