Project Surveyor Powered-Descent Autopilot written in Rust

thomasantony

Member
Joined
Nov 19, 2007
Messages
355
Reaction score
6
Points
18
Location
USA
Website
www.thomasantony.com
This is a follow up to my recent post about Orbiter addon development in Rust: https://orbiter-forum.com/threads/orbiter-addon-development-in-rust.40307/

I have created a proof-of-concept addon module written entirely in Rust using the above library. It is based on the OrbiterWiki tutorial but also implements the powered-descent guidance algorithm. The guidance algorithm is a simplified version of the one that flew on the actual spacecraft. Once I get a bit of time, I will add some documentation on how I do the thruster allocation for attitude control.

This was more of an exercise in implementing the guidance algorithm than making a spacecraft you can fly by hand. Right now, the autopilot engages as soon as the scenario starts. I plan on changing this so that it is triggered by a key-press instead. This is actively being updated so things may change. Build instructions are in the README. Try running the "Surveyor 01 - Autopilot Engaged" scenario to see the whole trajectory starting at about ~110km above the lunar surface.

https://github.com/thomasantony/surveyor

I plan on taking a stab at a Mars re-entry guidance algo sometime soon.
 
Last edited:
Top