<story><title>Creating an autopilot in X-Plane using Python</title><url>https://austinsnerdythings.com/2021/10/15/creating-an-autopilot-in-x-plane-using-python-part-1/</url></story><parent_chain></parent_chain><comment><author>auspiv</author><text>Austin from Austin&amp;#x27;s Nerdy Things here - super stoked to see my blog&amp;#x27;s traffic at 7x the daily average at 7am! Thanks to all the visitors!&lt;p&gt;I actually revisited this series a few weeks ago. I added a Flask&amp;#x2F;html frontend to control the autopilot setpoints (much easier&amp;#x2F;fluid than editing the code and restarting) using Redis as a quick intermediate &amp;quot;database&amp;quot; to store the setpoints.&lt;p&gt;I whipped up a post this morning demonstrating this to get it out there due to the volume of visitors who might find it interesting! Hopefully I find time to polish the post later.&lt;p&gt;Here it is &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;austinsnerdythings.com&amp;#x2F;2024&amp;#x2F;03&amp;#x2F;24&amp;#x2F;adding-some-polish-to-the-x-plane-python-autopilot-with-flask-redis-and-websockets&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;austinsnerdythings.com&amp;#x2F;2024&amp;#x2F;03&amp;#x2F;24&amp;#x2F;adding-some-polish...&lt;/a&gt;</text></comment>
<story><title>Creating an autopilot in X-Plane using Python</title><url>https://austinsnerdythings.com/2021/10/15/creating-an-autopilot-in-x-plane-using-python-part-1/</url></story><parent_chain></parent_chain><comment><author>saulrh</author><text>You can also do this for Kerbal Space Program using the kRPC mod: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;forum.kerbalspaceprogram.com&amp;#x2F;topic&amp;#x2F;130742-18x-to-112x-krpc-control-the-game-using-c-c-java-lua-python-ruby-haskell-c-arduino-v052-18th-march-2023&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;forum.kerbalspaceprogram.com&amp;#x2F;topic&amp;#x2F;130742-18x-to-112...&lt;/a&gt;. It&amp;#x27;s a much less polished experience, but you get more of the experience of an actual avionics&amp;#x2F;robotics project doing it this way - multiple sensors that may not necessarily agree with each other (for example, IIRC accelerometers installed at different ends of the ship will register different readings!), you have to be quite a bit more careful when interfacing with engines and may not have access to a simple &amp;quot;go left&amp;quot; control input, you have to deal with whatever nightmare vehicle you built that you need a computer to handle, that kind of thing.</text></comment>