Commands that do nothing!

Hi there dear dev team!

Issues I found:

  1. Almost all animations do not work. They are running but never get executed - Animation feature - Olympe 1.8.0 documentation
  2. Speed alteration has no effect either in the vertical or horizontal axes.
  3. Gimbal movements have a 4+ sec delay the first time. After that all moves are instantaneous!
  4. MaxDistance / Geofencing does nothing!

I use, ANAFI Thermal and ANAFI USA for all the tests.

Best regards
George D.

thanks for the feedback!

  1. it is written in the documentation : Supported by ANAFI/ANAFIFPV

For the remaining items, can you provide some code or logs?
All the commands are tested and are used in our own application FreeFlight6

1 Like

Thanks Jerome,

Please see below:

  1. Speed alteration
			new_speed = float(value)
			drone(MaxPitchRollRotationSpeed(new_speed))
			drone(MaxRotationSpeed(new_speed))
			drone(MaxVerticalSpeed(new_speed))
			drone(MaxTilt(new_speed))
  1. Gimbal movements have a 4+ sec delay the first time
	gimbal_result = drone(
		gimbal.set_target(gimbal_id=0,
		control_mode="position",
		yaw_frame_of_reference="none",
		yaw=0.0,
		pitch_frame_of_reference="absolute",
		pitch=float(position),
		roll_frame_of_reference="none",
		roll=0.0)).wait()
  1. MaxDistance / Geofencing does nothing
			distance = float(value)
			drone(NoFlyOverMaxDistance(distance))
			drone(MaxDistance(distance))

Best,
G.D.

That’s pseudo code :slight_smile:
I would like to see a real program where you encounter the issue.
Is this always using Olympe ? GroundSDK ?

It’s real code Jerome.

I just removed the functions around them!

It’s only Olympe. Yes.

Did you try the sample ? On a simulator and on a real drone ?

# -*- coding: UTF-8 -*-

from __future__ import print_function  # python2/3 compatibility for the print function
import olympe
from olympe.messages.ardrone3.PilotingSettings import MaxTilt

DRONE_IP = "10.202.0.1"

if __name__ == "__main__":
    drone = olympe.Drone(DRONE_IP)
    drone.connect()
    maxTiltAction = drone(MaxTilt(10)).wait()
    if maxTiltAction.success():
        print("MaxTilt(10) success")
    elif maxTiltAction.timedout():
        print("MaxTilt(10) timedout")
    else:
        # If ".wait()" is called on the ``maxTiltAction`` this shouldn't happen
        print("MaxTilt(10) is still in progress")
    maxTiltAction = drone(MaxTilt(0)).wait()
    if maxTiltAction.success():
        print("MaxTilt(0) success")
    elif maxTiltAction.timedout():
        print("MaxTilt(0) timedout")
    else:
        # If ".wait()" is called on the ``maxTiltAction`` this shouldn't happen
        print("MaxTilt(0) is still in progress")
    drone.disconnect()

Actually, MaxTilt used to work in the past. Not a big deal for now. My problem is all the rest!
MaxPitchRollRotationSpeed, MaxRotationSpeed and MaxVerticalSpeed

What is wrong with those 3?

Any ideas why all those commands do nothing???

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.