Skip to content

Dronekit SITL error  #149

@Turbullance

Description

@Turbullance

Companion Computer: RPi 4B
Dronekit : 2.9.2
Dronekit sitl: 3.3.0

I received this two errors:

  1. pi@raspberrypi:~ $ dronekit-sitl copter
    os: linux, apm: copter, release: stable
    SITL already Downloaded and Extracted.
    Ready to boot.
    Traceback (most recent call last):
    File "/home/pi/.local/bin/dronekit-sitl", line 8, in
    sys.exit(main())
    File "/home/pi/.local/lib/python3.7/site-packages/dronekit_sitl/init.py", line 601, in main
    sitl.launch(args, verbose=True)
    File "/home/pi/.local/lib/python3.7/site-packages/dronekit_sitl/init.py", line 251, in launch
    caps = ArdupilotCapabilities(self.path)
    File "/home/pi/.local/lib/python3.7/site-packages/dronekit_sitl/init.py", line 160, in init
    process = subprocess.Popen([path, '--help'], stdout=subprocess.PIPE)
    File "/usr/lib/python3.7/subprocess.py", line 775, in init
    restore_signals, start_new_session)
    File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
    OSError: [Errno 8] Exec format error: '/home/pi/.dronekit/sitl/copter-3.3/apm'

  2. pi@raspberrypi:~ $ python hello.py
    Start simulator (SITL)
    Traceback (most recent call last):
    File "hello.py", line 2, in
    import dronekit_sitl
    ImportError: No module named dronekit_sitl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions