Installing simple take off mission on sphinx using olympe

The following code runs when running python3 on the host and it connects to the drone with no problem. When trying to install the same code on the drone running on sphinx, nothing happens.

import olympe
import ulog
import threading
import service_helper.anafi_svc_msg_pb2 as anafi_svc_msg
import service_helper.task_serializer as task_serializer
from anafi_move_service.process_movement_tasks import ProcessMovementTasks
from olympe.messages.ardrone3.Piloting import TakeOff, Landing, moveTo, moveBy

# This is limited to 15 charecters
PROCESS_NAME = b"takeoff_land"
DRONE_IP = os.environ.get("DRONE_IP", "127.0.0.1")

async def service_main():
    # Initialisation code
    #
    # The service is automatically started by the drone when the mission is
    # loaded.
    ulog.setup_logging(PROCESS_NAME)
    logger = logging.getLogger("main")
    logger.info("Simple mission to takeoff and land")
    run = True

    def sig_handler(*_):
        nonlocal run
        run = False

    loop = asyncio.get_running_loop()
    loop.add_signal_handler(signal.SIGTERM, sig_handler)

    # takeoff()
    # while run:
    drone = olympe.Drone(DRONE_IP)
    drone.connect()

    # Take off
    drone(TakeOff()).wait()

    # Hover for 5 seconds
    drone(moveBy(0, 0, 0, 0)).wait(timeout=5)

    # Land
    drone(Landing()).wait()
    drone.disconnect()

    return 0


def main():
    asyncio.run(service_main())

Here is my mission.yaml file:

api_version: 3
kind: Mission
metadata:
  uid: com.test.missions.simple.takeoff_landing
  name: takeoff_landing
  description: takeoff and landing python example mission
  version: "0.0.0"
targets:
  Anafi Ai:
  Anafi Ai Simulator:
services:
  simple_mission:
    lang: python

Hi @erick.audet,

What is the python service file you put in the drone? Did you see the drone log ?

Regards,
Axel

The service python is the python script pasted in my post (service_main). I do have a log of the drone, here are some snippets of it:

12-31 19:02:45.217 I server      (webserver-121/civetweb-worker-229): http request (info v1): GET /api/v1/info/properties
12-31 19:02:45.217 I server      (webserver-121/civetweb-worker-229): http response (info v1): Status='200', Content-Type='application/json', Content-Length='3114'
12-31 19:02:45.217 I server      (webserver-121/civetweb-worker-222): http request (mission v1): PUT /api/v1/mission/missions/?allow_downgrade=yes&is_default=yes
12-31 19:02:45.217 I mission     (webserver-121/civetweb-worker-222): Installing mission '/mnt/user-internal/missions/.tmp-rKMfmr' flags=0x2
12-31 19:02:45.217 I crypto      (webserver-121/civetweb-worker-222): files SHA512 digest 0x46d352fb
12-31 19:02:45.217 I server      (fourasd-130)                    : Client 1 connected
12-31 19:02:45.217 I server      (fourasd-130)                    : Request 0x1000 (protocol version) with ID 0 received from client 1
12-31 19:02:45.217 I libfouras   (webserver-121/civetweb-worker-222): Server protocol revision: 1.0
12-31 19:02:45.217 I server      (fourasd-130)                    : Request 0x1002 (finish handshake) with ID 1 received from client 1
12-31 19:02:45.217 I server      (fourasd-130)                    : Client 1 has PID 121
12-31 19:02:45.217 I server      (fourasd-130)                    : Client 1 privilege mask: 0x0000000000003fff
12-31 19:02:45.217 I libfouras   (webserver-121/civetweb-worker-222): Protocol handshake complete.
12-31 19:02:45.217 I server      (fourasd-130)                    : Request 0x2000 (read Parrot firmware public key) with ID 2 received from client 1
12-31 19:02:45.217 I server      (fourasd-130)                    : Request with ID 2 for client 1 completed.
12-31 19:02:45.217 I server      (fourasd-130)                    : Request 0x2105 (scan flight mission provider keys) with ID 3 received from client 1
12-31 19:02:45.217 I server      (fourasd-130)                    : Request with ID 3 for client 1 completed.
12-31 19:02:45.217 I server      (fourasd-130)                    : Request 0x2102 (read flight mission provider public key) with ID 4 received from client 1
12-31 19:02:45.217 I server      (fourasd-130)                    : Request with ID 4 for client 1 completed.
12-31 19:02:45.217 I mission     (webserver-121/civetweb-worker-222): Using public key found in slot 0
12-31 19:02:45.217 I server      (fourasd-130)                    : Request 0x2104 (verify flight mission signature) with ID 5 received from client 1
12-31 19:02:45.217 I server      (fourasd-130)                    : Request with ID 5 for client 1 completed.
12-31 19:02:45.217 I server      (fourasd-130)                    : Client 1 disconnected
12-31 19:02:45.217 I mission     (webserver-121/civetweb-worker-222): Mission 'com.thales.missions.simple.takeoff_landing' removed
12-31 19:02:45.217 I mission     (webserver-121/civetweb-worker-222): Mission 'com.thales.missions.simple.takeoff_landing' added
12-31 19:02:45.217 I mission     (webserver-121/civetweb-worker-222): Mission 'com.thales.missions.simple.takeoff_landing' (0.0.0)' installed in '/mnt/user-internal/missions/com.thales.missions.simple.takeoff_landing'
12-31 19:02:45.217 I server      (webserver-121/civetweb-worker-222): http response (mission v1): Status='200', Content-Type='application/json', Content-Length='455'
12-31 19:02:45.217 I server      (webserver-121/civetweb-worker-224): http request (system v1): PUT /api/v1/system/reboot
12-31 19:02:45.217 I server      (webserver-121/civetweb-worker-224): http response (system v1): Status='200'
12-31 21:16:05.291 N boxinit     (boxinit-69009)                  : received signal 15 (Terminated) from pid 121
12-31 21:16:05.291 N boxinit     (boxinit-69009)                  : starting 'shutdown' (shutdown)
12-31 19:02:46.150 N shutdown    (ulogger-387)                    : EVT:SHUTDOWN;action='reboot'
12-31 19:02:46.150 N shutdown    (ulogger-389)                    : stop services
12-31 19:02:46.150 I guidance    (guidance-350)                   : sighandler: signo=15(Terminated)
12-31 19:02:46.150 W guidance    (guidance-350)                   : shutdown: status=15
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.ascent'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/gdnc_ascent.pyc'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.magic_carpet'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/gdnc_carpet.pyc'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.emergency'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/gdnc_emergency.pyc'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.emergency_descent'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/gdnc_emergency_descent.pyc'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.ground'
12-31 19:02:46.150 N guidance    (guidance-350)                   : EVT:GUIDANCE;mode='null';obstacle_avoidance=0
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.ground_reset'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/gdnc_ground.pyc'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.hand_grab_goto'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.hand_grab_descent'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.hand_grab_fixed'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/gdnc_hand_grab.pyc'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.hand_launch'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/gdnc_hand_launch.pyc'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.magneto_calibration'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/gdnc_magneto.pyc'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.absolute_move'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/guidance-absolute-move.so'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.acquisition_fixed'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.acquisition_gotofix'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.acquisition_piloting'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/guidance-acquisition.so'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.camera_rotation_move'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/guidance-camera-rotation-move.so'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.descent_to_ground'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.descent_to_position'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/guidance-descent.so'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.flightplan'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/guidance-flightplan.so'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.lookat_fixed'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.lookat_gotofix'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.lookat_piloting'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/guidance-lookat.so'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.fixed'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.frozen'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.gotofix'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.gotofreeze'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.piloting'
12-31 19:02:46.150 W man_piloting_settings(guidance-350)          : Disconnected from server
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/guidance-manual.so'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.poi_fixed'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.poi_gotofix'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.poi_piloting'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/guidance-poi.so'
12-31 19:02:46.150 I guidance    (guidance-350)                   : Removing guidance mode 'com.parrot.missions.default.relative_move'
12-31 19:02:46.150 I guidance    (guidance-350)                   : unloading '/usr/lib/guidance-plugins/guidance-relative-move.so'
12-31 19:02:46.150 W gdnc_geofence(guidance-350)                  : Disconnected from server
12-31 19:02:46.150 I moser_ipc   (guidance-350)                   : Consumer unlink 'default.grid'
12-31 19:02:46.150 W moser_ipc   (guidance-350)                   : Freeing memory of grid outside pool
12-31 19:02:46.150 I guidance    (guidance-350)                   : SpatialPerception destroyed
12-31 19:02:46.150 W guidance    (guidance-350)                   : Disconnected, resetting pcmds
12-31 19:02:46.150 W guidance    (guidance-350)                   : Disconnected, resetting pcmds
12-31 19:02:46.150 W guidance    (guidance-350)                   : Disconnected, resetting pcmds
12-31 19:02:46.150 E pomp        (fsup-352)                       : recvmsg(fd=46) err=104(Connection reset by peer)
12-31 19:02:46.150 I guidance_global(guidance-global-351)         : ConnectionHandler::onDisconnected
12-31 19:02:46.150 I guidance_global(guidance-global-351)         : connections ready: false
12-31 19:02:46.150 I guidance_global(guidance-global-351)         : checkInitOk: conn=0 spatial=1
12-31 19:02:46.150 E pomp        (guidance-350)                   : fd=25, cb=0x7f17141f9af0 still in loop
12-31 19:02:46.150 I root        (fsup-352)                       : Disconnected: PompChannel: client at 'unix:/tmp/guidance'
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.poi_gotofix': needed by class GoToFix, states: {'flying.move_to.poi.gotofix'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.poi_gotofix': needed by class GoToFix, states: {'flying.poi.gotofix'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ascent': needed by class InterruptedTemplate, states: {'landing.rth.interrupted', 'landing.normal.interrupted'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ascent': needed by class AscentFlightPlan, states: {'takeoff.flightplan.ascent'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ascent': needed by class AscentGeneric, states: {'takeoff.normal.ascent_manual'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ascent': needed by class InterruptedTemplate, states: {'landing.rth.interrupted_manual', 'landing.normal.interrupted_manual'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ascent': needed by class AscentGeneric, states: {'takeoff.magic_carpet.ascent'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ascent': needed by class AscentGeneric, states: {'takeoff.normal.ascent'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ascent': needed by class DescentInterrupted, states: {'landing.hand.descent.interrupted'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.poi_fixed': needed by class Poi, states: {'flying.poi'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.poi_fixed': needed by class Fixed, states: {'flying.move_to.poi.fixed'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.poi_fixed': needed by class Poi, states: {'flying.move_to.poi'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.poi_fixed': needed by class Fixed, states: {'flying.poi.fixed'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.piloting': needed by class Manual, states: {'flying.manual'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.lookat_gotofix': needed by class GoToFix, states: {'flying.lookat.gotofix'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.gotofix': needed by class GotoFix, states: {'hovering.rth.gotofix'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.gotofix': needed by class GotoFix, states: {'flying.panorama.gotofix'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.gotofix': needed by class GotoFix, states: {'flying.rth.gotofix', 'flying.flightplan.rth.gotofix'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.gotofix': needed by class GoToFix, states: {'hovering.gotofix'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.emergency': needed by class EmergencyGround, states: {'critical.emergency_ground'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.poi_piloting': needed by class Manual, states: {'flying.move_to.poi.manual', 'flying.poi.manual'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.gotofreeze': needed by class GoToFreeze, states: {'hovering.freeze.gotofreeze'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.relative_move': needed by class Ascent, states: {'flying.flightplan.ascent'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.relative_move': needed by class MoveBy, states: {'flying.move_by'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.acquisition_fixed': needed by class Fixed, states: {'hovering.fixed'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.descent_to_position': needed by class Descent, states: {'flying.rth.descent', 'flying.flightplan.rth.descent'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.fixed': needed by class Wait, states: {'hovering.rth.wait'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.fixed': needed by class Fixed, states: {'hovering.fixed'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ground': needed by class MagicCarpet, states: {'ground.magic_carpet'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ground': needed by class WaitMotorRamping, states: {'takeoff.magic_carpet.wait_motor_ramping', 'takeoff.flightplan.wait_motor_ramping', 'takeoff.normal.wait_motor_ramping'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ground': needed by class WaitAscent, states: {'takeoff.magic_carpet.wait_ascent', 'takeoff.normal.wait_ascent', 'takeoff.flightplan.wait_ascent'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ground': needed by class StartingMotors, states: {'takeoff.flightplan.starting_motors', 'takeoff.normal.starting_motors', 'takeoff.magic_carpet.starting_motors'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ground': needed by class Idle, states: {'ground.idle'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.magneto_calibration': needed by class MagnetoCalibration, states: {'ground.magneto_calibration'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.hand_launch': needed by class WaitFreefall, states: {'takeoff.hand.wait_freefall'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.hand_launch': needed by class WaitLowAngle, states: {'takeoff.hand.rescue.wait_low_angle'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.hand_launch': needed by class WaitThrustRampDone, states: {'takeoff.hand.rescue.wait_thrust_ramp_done'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.hand_launch': needed by class WaitRescueDone, states: {'takeoff.hand.rescue.wait_rescue_done'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.hand_launch': needed by class WaitHorizontalRescueReady, states: {'takeoff.hand.rescue.wait_horizontal_rescue_ready'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ground_reset': needed by class Reset, states: {'takeoff.magic_carpet.reset', 'takeoff.flightplan.reset', 'takeoff.hand.reset', 'takeoff.normal.reset'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.ground_reset': needed by class Reset, states: {'ground.reset'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.descent_to_ground': needed by class DescentManual, states: {'landing.rth.descent_manual', 'landing.normal.descent_manual'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.descent_to_ground': needed by class DescentDefault, states: {'critical.critical_landing.descent', 'landing.rth.descent', 'landing.flightplan.descent', 'landing.normal.descent'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.descent_to_ground': needed by class DescentManual, states: {'critical.critical_landing.descent_manual'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.descent_to_ground': needed by class DescentGoToFix, states: {'landing.flightplan.descent_gotofix', 'critical.critical_landing.descent_gotofix', 'landing.normal.descent_gotofix', 'landing.rth.descent_gotofix'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.lookat_fixed': needed by class Fixed, states: {'flying.lookat.fixed'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.lookat_fixed': needed by class LookAt, states: {'flying.lookat'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.hand_grab_goto': needed by class GoTo, states: {'landing.hand.goto'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.acquisition_gotofix': needed by class GoToFix, states: {'hovering.gotofix'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.camera_rotation_move': needed by class Panorama, states: {'flying.panorama'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.camera_rotation_move': needed by class Move, states: {'flying.panorama.move'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.absolute_move': needed by class GotoPoint, states: {'flying.move_to.gotopoint'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.emergency_descent': needed by class EmergencyLandingDescentManual, states: {'critical.emergency_landing.descent.manual'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.emergency_descent': needed by class EmergencyLandingDescentDefault, states: {'critical.emergency_landing.descent.default'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.hand_grab_fixed': needed by class Fixed, states: {'landing.hand.fixed'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.flightplan': needed by class GoToPrecise, states: {'flying.rth.goto_precise', 'flying.flightplan.rth.goto_precise'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.flightplan': needed by class WaypointPath, states: {'flying.flightplan.rth.waypoint_path', 'flying.rth.waypoint_path'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.flightplan': needed by class WaypointPath, states: {'flying.flightplan.waypoint_path'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.hand_grab_descent': needed by class Descent, states: {'landing.hand.descent'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.lookat_piloting': needed by class Manual, states: {'flying.lookat.manual'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.acquisition_piloting': needed by class Manual, states: {'flying.manual'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.magic_carpet': needed by class ExecuteDemo, states: {'flying.magic_carpet.execute_demo'}
12-31 19:02:46.150 E fsup.StateMachine(fsup-352)                  : Unknown guidance mode 'com.parrot.missions.default.frozen': needed by class Frozen, states: {'hovering.freeze.frozen'}
12-31 19:02:46.150 I fsup.swcrashmgr(fsup-352)                    : checklist: {<Components.DRONE_CONTROLLER: 1>: True, <Components.GUIDANCE_LOCAL: 2>: False, <Components.GUIDANCE_GLOBAL: 3>: True, <Components.AUTOPILOT: 4>: True}
12-31 19:02:46.150 I fsup.swcrashmgr(fsup-352)                    : waiting for missing components: {<Components.GUIDANCE_LOCAL: 2>}
12-31 19:02:46.150 I transitions.core(fsup-352)                   : Exited state ground.idle
12-31 19:02:46.150 I transitions.core(fsup-352)                   : Exited state ground
12-31 19:02:46.150 I transitions.core(fsup-352)                   : Entered state init
12-31 19:02:46.150 N fsup.flyingstmgr(fsup-352)                   : EVT:AUTOPILOT;state='init';flying_state='';message='FlightSup.Internal.Messages.Event.disconnected_from_guidance_local'
12-31 21:16:05.332 N boxinit     (boxinit-69009)                  : process 'guidance', pid 350 exited
12-31 21:16:05.332 N boxinit     (boxinit-69009)                  : process 'guidance' killing any children in process group
12-31 19:02:46.167 I root        (fsup-352)                       : Blocking default_mission.fsup.home_messages.Event.far
12-31 19:02:46.200 I root        (fsup-352)                       : Blocking DroneController.Messages.Event.gps_satellites
12-31 19:02:46.267 I root        (fsup-352)                       : Blocking default_mission.fsup.home_messages.Event.far
12-31 19:02:46.367 I root        (fsup-352)                       : Blocking default_mission.fsup.home_messages.Event.far

Sorry, I didn’t understand. This is the correct behaviour because Olympe is not available on the drone. You can’t use Olympe in an Airsdk mission.

Regards,
Axel

Ok, what should I use? Could we install Olympe on the drone busybox?

Hi @erick.audet,

Olympe is not available in the drone and it is not possible to install it in the drone.

You can send commands to the drone with the libairsdk library. Libairsdk gives access to the local control interface of the drone. This library is only available in C and C++.

Please, take a look at our exemples using libairsdk (move, video_photo_c, video_photo_cpp).

Regards,
Axel

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