This comprehensive document is designed to assist you in creating applications for AS-01 drones and seamlessly connecting with our user base. Our software operates seamlessly with Python 3.8 and MAVROS, offering a robust platform for developing cutting-edge drone applications.

MavROS with Python

To illustrate the application of the functionality and utilization of the MavROS service, please refer to here. Our system requires ros-melodic

Adding the Application to the Website

To integrate your application into the Astral platform, navigate to here. and click on the ‘Upload a New Application’ button. On this page, provide a comprehensive explanation of your application, outline the accepted payment methods, and carefully select relevant keywords to enhance discoverability for users. Fill in the requisite fields with accurate and detailed information.

Upon completing the necessary details, it is imperative to compress your Python code into a zip file. Subsequently, upload the compressed file to the Astral website. This streamlined process ensures that your application is seamlessly incorporated into the platform, ready to be accessed and utilized by users. Your commitment to providing clear, concise, and informative details about your application enhances its visibility and usability within the Astral ecosystem.

Sample Applications

To provide insights to our developers, we have shared several sample applications developed within the Astral framework on our GitHub page. On this page, you will find applications such as takeoff & land and arm & disarm, with more in the pipeline and explore a more detailed usage of the Astral library. If you wish to review our sample applications, we invite you to visit this address

Thank you for choosing AS-01 drones. We look forward to seeing the innovative applications you develop on our platform. If you have any further questions or require assistance, please do not hesitate to contact our support team. Happy coding!

Library Integration

When preparing an application for AS-O1 drones, it is imperative to include the following script to integrate our library:

from Astral og import AstralDroneLogger reader = AstralDroneLogger() reader.send_log_message(message)

How to Run the Autonomous Drone Simulator

This guide will walk you through setting up Docker and launching the Astral simulation.
Follow these steps carefully to ensure proper installation and execution.

1. Download and Install Required Software

Start by downloading Docker Desktop and Xming from the provided link below. You can
find the necessary files for installation here: Download Link

1.1 Docker Desktop: Install Docker Desktop on your system following the prompts from the installer.
1.2 Xming: Install Xming, which will allow GUI applications to be displayed from the container.
Follow the on-screen instructions for installation.

2. Launch Xming

Once the installations are complete, start the Xming application. It will run in the
background, enabling GUI display from Docker containers. To make sure Xming is running
check following;


3. Open Docker Terminal

Now, navigate to Docker Desktop and click on the terminal icon located in the lower-right corner to open a terminal.

Expand Terminal

To avoid problems during the QR code scanning in the next steps, expand the terminal screen upwards.


4. Pull the AstralCorp Simulation Docker Image

To pull the required Docker image for the Astral simulation, enter the following command into the terminal:

docker pull astralcorp/astralsim:v1.6

This will download the latest version (v1.6) of the AstralCorp simulation image.


5. Run the Docker Container

After the image is pulled, you can start the container with the following command:

docker run -it --rm --privileged --network host -e DISPLAY=host.docker.internal:0.0 -v /tmp/.X11-unix:/tmp/.X11-unix -v ${Env:USERPROFILE}\astralcorp\inc_files:/home/inc_files astralcorp/astralsim:v1.6

Explanation of flags:

  • -it: Interactive mode with a pseudo-TTY.
  • –rm: Automatically remove the container when it exits.
  • –privileged: Provides extended privileges to the container.
  • –network host: Uses the host network settings.
  • -e DISPLAY=host.docker.internal:0.0: Allows GUI forwarding to the Xming display.
  • -v /tmp/.X11-unix:/tmp/.X11-unix: Mounts the X11 socket for GUI support.
  • -v ${Env:USERPROFILE}\astralcorp\inc_files:/home/inc_files: Mounts your local files into the container.


6. Start the Astral Simulation

Once inside the Docker container, type the following command to start the Astral simulation:

For launching 1 drone –> astral-sim-start
For launching 2 drone –> astral-sim-start-2
For launching 3 drone –> astral-sim-start-3

7. Add a Drone (if necessary)

  • If no drone is added: You will be prompted to scan a QR code to add a drone to the simulation.

You need to scan QR code from Astral mobile app.

  • If drone/s already added: The simulation will start directly without requiring the QR code scan.
    After completing these steps, your Astral simulation environment will be up and running. Enjoy the simulation!