█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

AirSim

Unreal Engine पर drone और car simulator, जो गेमप्ले की बजाय AI research के लिए बनाया गया है

Simulators & Synthetic Environmentsओपन सोर्स
भाषा
C++
लाइसेंस
MIT
संक्षेप में

AirSim क्या है?

AirSim Unreal Engine पर drone और car simulator, जो गेमप्ले की बजाय AI research के लिए बनाया गया है. यह Robotics & Embodied AI टूल्स की Simulators & Synthetic Environments श्रेणी में आता है; ओपन सोर्स है, C++ में लिखा गया है और MIT लाइसेंस के तहत है। शुरू करने के लिए: precompiled environment डाउनलोड करें.

सारांश

AirSim Microsoft AI & Research का "drones, cars और उससे आगे के लिए simulator, जो Unreal Engine पर बना है" है, और इसके साथ एक experimental Unity release भी आता है। यह open source और cross-platform है, और इसका मकसद साफ़ शब्दों में बताया गया है: autonomous vehicles के लिए deep learning, computer vision और reinforcement learning में AI research को सक्षम करना। यह simulator इसीलिए है ताकि hardware को जोखिम में डाले बिना models को train और test किया जा सके।

दो खासियतें इसे एक आम engine से अलग बनाती हैं। यह PX4 और ArduPilot जैसे असली flight controllers के साथ software-in-the-loop simulation सपोर्ट करता है, साथ ही hardware-in-the-loop भी, इसलिए जिस control stack का टेस्ट हो रहा है, वही वह stack है जो असल में विमान उड़ाएगा। इसमें एक Computer Vision mode भी है, जिसमें physics बंद कर दी जाती है और camera को मनचाहे ढंग से रखा जा सकता है। इसी से आप बिना कुछ उड़ाए किसी scene से images और ground-truth labels इकट्ठा कर सकते हैं।

Vehicles को manually या programmatically चलाया जा सकता है, और APIs C++, Python, C# और Java में उपलब्ध हैं। इसलिए Python में लिखा गया training loop उसी simulator को कमांड दे सकता है जिसके खिलाफ एक C++ controller validate किया जा रहा है। Weather effects simulate होते हैं। सबसे तेज़ शुरुआत के लिए precompiled binaries GitHub Releases पर प्रकाशित हैं, और Windows, Linux और macOS के लिए build instructions documentation में दिए गए हैं। यह project MIT licence के तहत जारी किया गया है।

यह क्या करता है

  • Unreal Engine पर drone और car simulation, साथ में एक experimental Unity release
  • PX4 और ArduPilot flight controllers के साथ software-in-the-loop, साथ ही hardware-in-the-loop
  • Computer Vision mode: physics बंद, data collection के लिए camera मनचाहे ढंग से रखा जा सकता है
  • Manual और programmatic vehicle control
  • C++, Python, C# और Java में APIs
  • सिम्युलेटेड weather effects
  • GitHub Releases पर precompiled binaries; Windows, Linux और macOS के लिए builds

शुरू करें

सबसे तेज़ रास्ता है एक precompiled binary और Python client package। नीचे के commands project README और आधिकारिक API documentation से लिए गए हैं।

Precompiled environment डाउनलोड करें

Windows और Linux के लिए prebuilt binaries releases page पर प्रकाशित हैं; macOS के लिए source से build करना होता है।

टेक्स्टटेक्स्ट
https://github.com/Microsoft/AirSim/releases

Python client इंस्टॉल करें

यह client package अपने API port के ज़रिए चल रहे simulator से बात करता है।

bashbash
pip install airsim

कनेक्ट करें और कंट्रोल लें

Simulator binary चालू करें, फिर Python से कनेक्ट करें। Car-based vehicles के लिए इसके बजाय `airsim.CarClient()` का इस्तेमाल करें।

pythonpython
import airsim

# connect to the AirSim simulator
client = airsim.MultirotorClient()
client.confirmConnection()
client.enableApiControl(True)
client.armDisarm(True)

Computer Vision mode में data इकट्ठा करें

Computer Vision mode physics बंद कर देता है और camera को scene में कहीं भी रखने देता है। जब आपको flight के बजाय images और ground truth चाहिए, तब यही mode इस्तेमाल करें।

टेक्स्टटेक्स्ट
https://microsoft.github.io/AirSim/

या असली flight controller जोड़ें

Software- या hardware-in-the-loop काम के लिए, documentation की setup guides के अनुसार PX4 या ArduPilot कनेक्ट करें, ताकि जिस control stack का टेस्ट हो रहा है, वह असली हो।

टेक्स्टटेक्स्ट
https://microsoft.github.io/AirSim/

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • जब किसी drone या driving policy को train करना हो, जिसे hardware में क्रैश कराना महंगा पड़े, तब इसका इस्तेमाल करें
  • जब आपको ground truth वाली synthetic images चाहिए हों, तब इसका इस्तेमाल करें। Computer Vision mode physics को पूरी तरह छोड़ देता है
  • जब किसी PX4 या ArduPilot stack को software- या hardware-in-the-loop में परखना हो, तब इसका इस्तेमाल करें
  • जब Python में reinforcement-learning loop को उसी simulator पर चलाना हो जिस पर एक C++ controller चलता है, तब इसका इस्तेमाल करें

How AirSim compares

AirSim alongside other open-source simulators & synthetic environments tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
AirSim★ 18.7kUnreal Engine पर drone और car simulator, जो गेमप्ले की बजाय AI research के लिए बनाया गया है
CARLA★ 14.8kवह ओपन ड्राइविंग सिम्युलेटर, जिसमें ऑटोनॉमस ड्राइविंग रिसर्च बनाई और validate की जाती है
AlpaSim★ 1.3kNVIDIA का ओपन सोर्स क्लोज़्ड-लूप सिमुलेटर, एंड-टू-एंड ड्राइविंग पॉलिसी की टेस्टिंग के लिए