Drone Software Development
  • Introduction
  • Introduction
    • Drone Software Development
  • Software Development Environment
    • Software Development Environment
      • Docker
      • Manual
        • OpenCV
        • PX4
        • JMAVSim
        • MAVLink
        • Ardupilot
        • SITL Simulator
        • DroneKit
        • DroneCore
        • QGroundControl
        • APM Planner
        • GStreamer
  • Drone Solution Architect
    • Drone Solution Architect
    • Unmanned Aerial Vehicle
    • History
    • Flight Controller Hardware
    • Flight Code
    • Communication
    • Ground Control Station
    • Simulation
    • Developer API
    • Drone Software Developer
    • Unmanned Aerial Systems
    • Market Ecosystem
  • Dronecode Project
    • Dronecode Project
  • Virtual Drone Solution
    • Virtual Drone Solution
    • Flight Controller Operating System
      • NuttX
    • Flight Code
      • PX4
        • Architecture
        • DriverFramework
        • Shell
      • Ardupilot
      • Software In The Loop
        • DroneKit SITL
          • API
        • jMAVSim
        • Ardupilot SITL
          • X-Plane
      • Hardware In The Loop
    • Communication
      • MAVLink
        • PyMAVLink
    • Ground Control Station
      • QGroundControl
      • APM Planner 2
      • MAVProxy
    • Developer API
      • DroneKit
      • DroneCore
    • Features
      • Video Streaming
      • Joystick
      • Global Positioning System
    • Uses Cases
      • XunĂ¡n Kab
      • Maax
      • Tasks
      • Services
        • Telemetry
        • Image
      • Applications
  • Computer Vision
    • Computer Vision
    • OpenCV
      • Object Detection
      • Face Detection
  • Hybrid Drone Solution
    • Hybrid Drone Solution
    • Flight Controller Hardware
      • Pixhawk
    • Flight Code
      • Ardupilot
      • PX4
    • Companion Computer
      • Raspberry Pi
      • Intel Aero Platform
    • Ground Control Station
      • QGroundControl
    • Developer API
      • DroneKit
    • Computer Vision
  • Autonomous Drone Solution
    • Autonomous Drone Solution
    • FlyTbase
    • Paparazzi UAV
Powered by GitBook
On this page
  • DroneKit SITL :: API
  • DroneKit SITL :: API :: DroneKitSitlApi
  1. Virtual Drone Solution
  2. Flight Code
  3. Software In The Loop
  4. DroneKit SITL

API

DroneKit SITL :: API

SITL exposes a Python API for managing a SITL instance.

user@workstation:~$ cd ~/Bitol/VirtualDroneSolution/FlightCode/SoftwareInTheLoop/DroneKitSitl/
user@workstation:~/Bitol/VirtualDroneSolution/FlightCode/SoftwareInTheLoop/DroneKitSitl$

DroneKit SITL :: API :: DroneKitSitlApi

user@workstation:~/Bitol/VirtualDroneSolution/FlightCode/SoftwareInTheLoop/DroneKitSitl$ python DroneKitSitlApi.py 
[u'solo', u'plane', u'copter', u'rover']
Execute: /home/user/.dronekit/sitl/copter-3.3/apm -S --model quad --home=-20.6207591,-103.3991668,584,353
Started model quad at -20.6207591,-103.3991668,584,353 at speed 1.0
bind port 5760 for 0
Starting sketch 'ArduCopter'
Serial port 0 on TCP port 5760
Starting SITL input
Waiting for connection ....
user@workstation:~/Bitol/VirtualDroneSolution/FlightCode/SoftwareInTheLoop/DroneKitSitl$
PreviousDroneKit SITLNextjMAVSim

Last updated 7 years ago