Home FlytBase Forums API Reference

Introduction



FlytOS is the software framework of FlytBase. It is based on Linux and ROS (Robot Operating System) making it an ideal platform for research and commercial drone applications. It can interact with any compatible drone/autopilot using its adapter layer and exposes high level FlytAPIs in ROS, C++, Python, REST and Websocket. It makes it easy to integrate custom payload and also provides advanced APIs using its onboard modules. These rich set of APIs allow for easy development of onboard business logic as well as remote monitoring and control through web and mobile apps. The modular design of FlytOS allows for integration with external ROS/Linux libraries and custom data plumbing between onboard and offboard apps.

FlytOS comes preloaded with FlytPOD/PRO. Alternatively, it is also available for download and can then be installed on a Linux/ROS based computer. This setup allows for integration with any compatible drone/autopilot.

The apps developed with FlytAPIs can talk to compatible drone/autopilot and can also be tested in a virtual ROS/Gazebo environment using FlytSim. The vision of FlytOS is to provide a standard language for the drone developers to talk to their drones.

../../../_images/FlytOSArch_withbg.png

FlytOS Architecture Diagram

Start / Stop FlytOS

Start/Stop FlytOS on boot

  1. If you have installed FlytOS correctly, FlytOS will start automatically on every bootup.
  2. On bootup FlytOS will also check for any updates. Available updates will be downloaded and installed automatically.
  3. You can find more information on FlytOS automatic updates here.

Start/Stop FlytOS from command line

  1. Launch FlytOS

    You can also launch FlytOS in a terminal to see debug messages at startup. Open a new terminal and run this command.

    $ sudo $(rospack find core_api)/scripts/launch_flytOS.sh
    

    Important

    If you get this error: Error: package 'core_api' not found, source your /etc/bash.bashrc file.

  2. Kill FlytOS

    To kill this instance of FlytOS, run this command in your terminal.

    $ sudo $(rospack find core_api)/scripts/stop_flytOS.sh