You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I developed a script that was tested in a SITL environment. Everything was working as expected but when I tried to test it in a real drone I receive the UNSUPPORTED error on the goto_location.
I'am using it just to change the drone altitude. So firstly I get the current drone position and use it on the first two parameters. For the altitude make some simple math, and for the yaw I use 'float(nan)':
This instruction returns the error before mentioned. So I tried to pass direct values casted to the especified type, and still the same error... No errors are shown on QGC console. And again, in a simulation environment it works as excpected.
What can cause his behaviour? Thanks in advance! 🙂
The text was updated successfully, but these errors were encountered:
Hello everyone!
I developed a script that was tested in a SITL environment. Everything was working as expected but when I tried to test it in a real drone I receive the UNSUPPORTED error on the goto_location.
I'am using it just to change the drone altitude. So firstly I get the current drone position and use it on the first two parameters. For the altitude make some simple math, and for the yaw I use 'float(nan)':
await drone.action.goto_location(current_pos['latitude'], current_pos['longitude'], (current_pos['abs_altitude'] - (current_pos['altitude'] - altitude)), float('nan'))
This instruction returns the error before mentioned. So I tried to pass direct values casted to the especified type, and still the same error... No errors are shown on QGC console. And again, in a simulation environment it works as excpected.
What can cause his behaviour? Thanks in advance! 🙂
The text was updated successfully, but these errors were encountered: