Show HN: SpaceX Dragon simulator docking autopilot in Clojure
1–10 of 38 posts
Re: Show HN: SpaceX Dragon simulator docking autopilot in Clojure
#2Re: Show HN: SpaceX Dragon simulator docking autopilot in Clojure
#3Re: Show HN: SpaceX Dragon simulator docking autopilot in Clojure
#4Re: Show HN: SpaceX Dragon simulator docking autopilot in Clojure
#5Re: Show HN: SpaceX Dragon simulator docking autopilot in Clojure
#6So in dragon.clj there's a case statement to execute commands in the translate function such that the command to go down or left in an abstract calculated sense is implemented as hitting a virtual down or left keyboard key.
What happens if you have to go down AND left?
I was just thinking why not pass a Clojure list to the translate function and when list contains a down it hits the virtual s key AND if the list contains a left command it hits a virtual a key, then you could wiggle "down-left" at the same time.
I mean, obviously it works and sometimes architectural decisions have no technical reason and are arbitrary, which would be perfectly OK. I was just idly curious.
Clojure is cool, like programmer catnip, so I had to look at it.
Re: Show HN: SpaceX Dragon simulator docking autopilot in Clojure
#7I have a question about control flow of the overall system. Note that I haven't actually run this or debugged it. Or frankly, thought about it for more than a minute or two. Its more of an architectural question. So in dragon.clj there's a case statement to execute commands in the translate function such that the command to go down or left in an abstract calculated sense is implemented as hitting a virtual down or le…
Re: Show HN: SpaceX Dragon simulator docking autopilot in Clojure
#8https://www.reddit.com/r/spacex/comments/gigmfh/spacex_iss_d... does it in one line but it's kind of cheating.
Re: Show HN: SpaceX Dragon simulator docking autopilot in Clojure
#9https://www.reddit.com/r/spacex/comments/gigmfh/spacex_iss_d... does it in one line but it's kind of cheating.
Re: Show HN: SpaceX Dragon simulator docking autopilot in Clojure
#10https://www.reddit.com/r/spacex/comments/gigmfh/spacex_iss_d... does it in one line but it's kind of cheating.