ajan-airsim-python

A Python API for communicating with Airsim

https://github.com/buvnswrn/ajan-airsim-python

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

A Python API for communicating with Airsim

Basic Info
  • Host: GitHub
  • Owner: buvnswrn
  • Language: Python
  • Default Branch: config
  • Size: 96.7 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 4
  • Releases: 0
Created about 3 years ago · Last pushed 9 months ago
Metadata Files
Readme Citation

README.md

Ask DeepWiki

AJAN-Airsim-Python

A Python API for communicating with Airsim from AJAN Agent System

Installation

  • Create a virtual environment using the following command python -m venv AJAN-Airsim-Python
  • Install the requirements.txt file using pip pip install -r requirements.txt

Usage

  • activate the virtual environment. Goto the directory where the virtual environment is created and run the following command AJAN-Airsim-Python\Scripts\activate or go to the directory AJAN-Airsim-Python\Scripts and run the command activate
  • python app.py To start the application, run the app.py file. By default, the application will start and connect to the Airsim simulator.
  • access the application by going to the following URL in a web browser http://localhost:5002 ## Configuration
  • The config.ini file contains the configuration for the Airsim simulator. The IP address and port number can be changed to match the configuration of the Airsim simulator. Modify the config.ini file to change the configuration of the Airsim simulator or execute in real world and not simulation.

    ``` [DEFAULT] enableAirsim = True # Set to False to disable Airsim enableRealWorldExecution = False # Set to True to enable real world execution

    [AIRSIM] ip = 192.168.178.154 # IP address of the Airsim simulator port = 41451 # Port number of the Airsim simulator ```

  • Normally the PyCharm IDE is used to run which uses the config- Env variable: PYTHONUNBUFFERED=1

Ports

  • The application runs on port 5002 by default.

Note: Only one of the enableAirsim and enableRealWorldExecution can be set to True at a time, if both resources are not available. Note: Airsim should be running before the application is started. and should always be restarted when the simulation is restarted. Else, WARNING:tornado.general:Connect error on fd 780: WSAECONNREFUSED will be popping up and the instance quits after some retries or If the controller is not executing any actions, it means the Airsimserver has restarted (Typically happens when a new instance of Unity is launched).

Tech Stack

buvnswrn/AJAN-Airsim-Python is built on the following main stack:

  • JavaScript JavaScript – Languages
  • Jinja Jinja – Templating Languages & Extensions
  • Python Python – Languages
  • Ruby Ruby – Languages
  • Flask Flask – Microframeworks (Backend)
  • Matplotlib Matplotlib – Charting Libraries
  • Tornado Tornado – Frameworks (Full Stack)
  • MQTT MQTT – Message Queue
  • pip pip – Front End Package Manager
  • OpenCV OpenCV – Image Processing and Management
  • Pillow Pillow – Image Processing and Management
  • NumPy NumPy – Data Science Tools
  • Pandas Pandas – Data Science Tools
  • SciPy SciPy – Data Science Tools

Full tech stack here

Owner

  • Name: Bhuvaneshwaran I
  • Login: buvnswrn
  • Kind: user
  • Location: Saarbücken, Germany
  • Company: Universität des Saarlandes

A Tech-Enthusiast. Master's in DSAI @ UdS. Research Assistant @ DFKI. Currently, exploring various fields in AI

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: AJAN Airsim
message: REST based Airsim and Unity Communication API for AJAN
type: software
authors:
  - given-names: Bhuvaneshwaran
    family-names: Ilanthirayan
    email: buvnswrn@gmail.com
identifiers:
  - type: url
    value: 'https://github.com/buvnswrn/AJAN-Airsim-Python'
    description: 'Github Link for AJAN-Airsim Service '
repository-code: 'https://github.com/buvnswrn/AJAN-Airsim-Python'
abstract: >-
  REST API for Microsoft Airsim Framework Communication and
  Unity Warehouse Scene Communication  from AJAN Agent
  Framework
keywords:
  - ajan
  - unity
  - airsim
  - rest-api
license: GPL-3.0+

GitHub Events

Total
  • Watch event: 1
  • Delete event: 3
  • Push event: 5
  • Pull request event: 3
  • Create event: 1
Last Year
  • Watch event: 1
  • Delete event: 3
  • Push event: 5
  • Pull request event: 3
  • Create event: 1