Devlog 5 - Mae here! I’m back! i’m sorry for my absence, it took quite a while for the parts to get here, and they arrived the day I left for vacation. But anyways…
.
IT WORKS!!! I have now successfully connected a joystick to the system, allowing actual control of a spacecraft in flight!
Its actually quite simple too, the code just takes the values from 3 potentiometers mounted in the joystick, remaps the values to be in a range the game can read, and packages them into a message for the Kerbal SimPit mod. The message is then sent to the mod, where it reads it and commands the vessel to turn by the amount specified in the message. It took a while to understand how messages actually work, but i think i get it now.
.
Next up, I will be implementing data output using a 14 segment display module. Once that’s done, full scale prototyping can begin, using several arduinos at once to control most of the game. And then, once all the parts arrive, the final construction can happen. About half of the required parts have been ordered so afar, so this shouldn’t be too long from now.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.