Parrot-Developers/olympe

Expected 'timedout' response but received 'success' response instead in user guide example maxtilt.py

Closed this issue · 2 comments

I am executing this example (maxtilt.py) of user guide:
Screenshot from 2019-05-10 12-14-00

I am using ANAFI drone for the simulation. For ANAFI the maximum tilt setting must be within 5° and 40°. But it allows me a minimum value of 1

This is the simulation log::
simulation log

This is the " python maxtilt.py"log of:
python maxtilt.py log

I get success in MaxTilt(1) instead of timedout:
MaxTilt(10) success
MaxTilt(1) success

what can I do? Thank you so much

Does ANAFI currently allow a minimum tilt of 1? or this is a mistake?
Screenshot from 2019-05-10 12-58-30

Does ANAFI currently allow a minimum tilt of 1?

Yes, this is a recent change in the ANAFI firmware.
Previously, the minimum was 5°. The documentation has not been updated with this change.
This example will be updated to use a MaxTilt(0) command instead of MaxTilt(1).

Thanks you for reporting this issue

This should be resolved now that this example has been updated to reflect recent ANAFI firmware changes.