TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: I wrote a multicopter simulation library in Python

3 点作者 hazrmard超过 1 年前
Documentation: <a href="https:&#x2F;&#x2F;multirotor.readthedocs.io&#x2F;en&#x2F;latest&#x2F;" rel="nofollow">https:&#x2F;&#x2F;multirotor.readthedocs.io&#x2F;en&#x2F;latest&#x2F;</a><p>Source code: <a href="https:&#x2F;&#x2F;github.com&#x2F;hazrmard&#x2F;multirotor">https:&#x2F;&#x2F;github.com&#x2F;hazrmard&#x2F;multirotor</a><p>Demo&#x2F;Quickstart: <a href="https:&#x2F;&#x2F;multirotor.readthedocs.io&#x2F;en&#x2F;latest&#x2F;Quickstart.html" rel="nofollow">https:&#x2F;&#x2F;multirotor.readthedocs.io&#x2F;en&#x2F;latest&#x2F;Quickstart.html</a><p>There are many simulation libraries out there. For example AirSim using Unreal Engine, several implementations in Unity3D, Matlab toolboxes. I wanted a simple hackable codebase with which to experiment.<p>So, I wrote this. Propellers, motors, batteries, airframe are their own components and can be mixed and matched. The code lets you create any number of propellers, and an optimization function learns a PID controller for that vehicle. Additionally, there are convenience functions to visualize in 3D and sensor measurements.<p>Please let me know what you think :)

2 条评论

westurner超过 1 年前
Could it output drones for existing sims?<p>X-Plane Plane Maker: <a href="https:&#x2F;&#x2F;developer.x-plane.com&#x2F;manuals&#x2F;planemaker&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;developer.x-plane.com&#x2F;manuals&#x2F;planemaker&#x2F;</a><p>Juno: New Origins (and also Hello Engineer)<p>MS Flight Simulator <i>cockpits</i> are built with MSFS Avionics Framework which is React-based: <a href="https:&#x2F;&#x2F;docs.flightsimulator.com&#x2F;html&#x2F;Introduction&#x2F;SDK_Overview.htm" rel="nofollow noreferrer">https:&#x2F;&#x2F;docs.flightsimulator.com&#x2F;html&#x2F;Introduction&#x2F;SDK_Overv...</a><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37619564">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=37619564</a> :<p>&gt; <i>[Multi-objective gym + MuJoCo]</i> for drone simulation<p>&gt; <i>Idea: Generate code like BlenderGPT to generate drone rover sim scenarios and environments like the Moon and Mars</i><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36052833">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36052833</a> :<p>&gt; <i>awesome finite element analysis <a href="https:&#x2F;&#x2F;www.google.com&#x2F;search?q=awesome+finite+element+analysis+site%3Agithub.com" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.google.com&#x2F;search?q=awesome+finite+element+analy...</a> </i><p>Also: awesome-cfd<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31049608">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31049608</a> :<p>&gt; Numerical methods in fluid mechanics: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Numerical_methods_in_fluid_mechanics" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Numerical_methods_in_fluid_mec...</a>
评论 #38263592 未加载
westurner超过 1 年前
* Documentation: <a href="https:&#x2F;&#x2F;multirotor.readthedocs.io&#x2F;en&#x2F;latest&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;multirotor.readthedocs.io&#x2F;en&#x2F;latest&#x2F;</a><p>* Source code: <a href="https:&#x2F;&#x2F;github.com&#x2F;hazrmard&#x2F;multirotor">https:&#x2F;&#x2F;github.com&#x2F;hazrmard&#x2F;multirotor</a><p>* Demo&#x2F;Quickstart: <a href="https:&#x2F;&#x2F;multirotor.readthedocs.io&#x2F;en&#x2F;latest&#x2F;Quickstart.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;multirotor.readthedocs.io&#x2F;en&#x2F;latest&#x2F;Quickstart.html</a>