Open l0ad-pri0r opened 8 months ago
Ok, is this PX4 or ArduPilot?
PX4, using the latest stable firmware version
When you try SITL, I assume that's not latest stable/v1.14?
My guess is you land right here: https://github.com/PX4/PX4-Autopilot/blob/release/1.14/src/modules/commander/Commander.cpp#L703-L704
It wants two things:
That leaves me confused.
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! 🙂