News for hackers. Stuff that matters.
Re:ISS Docking Simulator by ggerganov on Wednesday January 05, 2022 @07:38AM (#29808214)
Last time I saw this posted here, people implemented various auto-pilots for this [0]. Here is a short video of my attempt: https://youtu.be/jWQQH2_UGLw

[0] https://news.ycombinator.com/item?id=27252639

Re:ISS Docking Simulator by stupidcar on Wednesday January 05, 2022 @08:51AM (#29808856)
The best I saw was one that completes docking in 16 seconds: https://www.youtube.com/watch?v=WwWccjAD2i8

Given that this simulator supposedly maps closely to the actual interface on the spacecraft, it's funny to imagine SpaceX hooking it up to the real thing and seeing how it fares. Succeed or fail, it would be a pretty wild ride.

Re:ISS Docking Simulator by fyrabanks on Wednesday January 05, 2022 @12:18PM (#29811825)
Not too dissimilar to what they're doing at Tesla with the self-driving beta, really.
Re:ISS Docking Simulator by LightG on Wednesday January 05, 2022 @09:29AM (#29809354)
If you've ever watched the movie Armageddon, you'll know this is par for the course.
Re:ISS Docking Simulator by aasasd on Wednesday January 05, 2022 @02:35PM (#29813783)
Fuel economy would be awful, though. Dragster style.
Re:ISS Docking Simulator by mbertschler on Wednesday January 05, 2022 @09:56AM (#29809710)
This sim was released for the first human mission Demo-2. Back then I also created an autopilot, written in Go and running in the browser via WebAssembly: https://github.com/mbertschler/dragon-iss-docking-autopilot

This autopilot doesn't use the rotation and translation rates as input, just the momentary values. It also uses the same control function for all axes.

Video: https://youtu.be/jLTr6UwuSd4

Re:ISS Docking Simulator by 2OEH8eoCRo0 on Wednesday January 05, 2022 @10:04AM (#29809818)
Impressive, along with your Github page. Great work!
Re:ISS Docking Simulator by annowiki on Wednesday January 05, 2022 @11:53AM (#29811424)
Is it basically a PID controller?
Re:ISS Docking Simulator by aerospace_guy on Wednesday January 05, 2022 @03:44PM (#29814652)
the code is in the youtube video description [1];

definitely not PID control

[1] https://gist.github.com/ggerganov/092b86a59fa34926998953701a...

Re:ISS Docking Simulator by jcims on Wednesday January 05, 2022 @05:40PM (#29816161)
It's AI! :P

I saw at least two autopilots that used PID control in a couple of different ways. They all needed tuning though because any moderate control input would send them spiraling off into the void.