Re:Show HN: SpaceX Dragon simulator docking autopilot in Clo...
by danpetrov on Thursday May 21, 2020 @10:00AM
(#23258421)
Heh, never thought about it that way! But good question.
Yes, it can translate on 2 axes at the same time, since the control loops for each axis run in separate threads, so there is no control locking. The same is with rotation - it can e.g. pitch, roll and yaw at the same time.
[ Parent
| on HN ]
Re:Show HN: SpaceX Dragon simulator docking autopilot in Clo...
by jcims on Thursday May 21, 2020 @02:14PM
(#23262472)
So if you click one of the rotate buttons after it has zeroed out the offsets will it correct? Is it using a PID model or something else?
Re:Show HN: SpaceX Dragon simulator docking autopilot in Clo...
by loeg on Thursday May 21, 2020 @06:39PM
(#23266358)
The SpaceX simulation is simplistic enough and gives you enough data that you really don't need a PID controller to hit the target numbers.
Re:Show HN: SpaceX Dragon simulator docking autopilot in Clo...
by jcims on Thursday May 21, 2020 @10:41PM
(#23268197)
Totally agree Iām just trying to learn PID control and seeing a few different implementations in javascript (to solve the same problem) has actually been quite informative.
Re:Show HN: SpaceX Dragon simulator docking autopilot in Clo...
by bloopernova on Thursday May 21, 2020 @11:29AM
(#23259569)
Just from a layman, this is so freaking cool, thank you for writing it and sharing it!