Close

Getting Closer

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 01/08/2015 at 06:410 Comments

I've been knee-deep in Arduino code, just hacking away at problems. I'm not really experienced with C, so I'm kinda fudging my way through at points. I managed to get vectors integrated with the project which makes it easier to have containers for each type of object and act on them as a group.

I also started working on wrapper classes for the 7-segment displays and bargraphs. I'm kinda getting ahead of myself here, but I wanted to get some of my ideas out of my head and into a file.

In addition, I've made serious progress on getting the Arduino and Python sides talking. I'm still having problems getting the Arduino to recognize output, but I can fool it into sending data anyway. I was hoping to have a first launch using the controller, but that was not to be. There seems to be an errant '?' variable slipping into my JSON which was crashed everything. I haven't been able to get the Mega to accept new uploaded code, so I'm going to turn in for the night.

Exciting times. Having a first working test will be very exciting. In addition, lots of parts from Adafruit, Tindie and Sparkfun are arriving. I haven't been able to play with them all, but it's exciting to have them here, waiting to be implemented.

Discussions