Close

Getting close

A project log for KAPCOM

Yet another hardware controller for Kerbal Space Program. Leveraging Telemachus, Python and Arduino to drive joysticks, buttons and displays

lawnmowerlattelawnmowerlatte 03/27/2015 at 05:070 Comments

Really getting close to the state I was in prior to the memory issue. I finished converting all the classes to Python and added some printouts to help debug formatting. Using this I was able to test the formatter for the 7-segment displays to make sure it works within the constraints.

I worked on kapcom.py and tying all the pieces together. I was able to create instances of all the controls and simulate a run and everything worked well. Now I'm working on putting the device settings in a configuration file. After looking into the options, I've decided to go with JSON. It might be a bit harder to work with manually, but I think it's worth it given how easy it is to parse in Python. I might even add an interactive configurator since that should be fairly easy.

I still have to work on getting the values from JSON and creating instances based on those values. That's pretty much the last piece. I think I can take a test run tomorrow night maybe. If not, definitely over the weekend.

Once I actually test everything, I should be able to order my PCBs. Then it's back to the hardware side of things. I have a lot of connections and wires to solder to hook up all my goodies.

Discussions