brata-hsdc / brata.station

Automatically exported from code.google.com/p/brata.station
Apache License 2.0
0 stars 0 forks source link

Integrate flight_profile graphics with station framework #17

Open ellerychan opened 8 years ago

ellerychan commented 8 years ago

Right now the _flightprofile animated playback of a docking run is implemented as a separate app (called _flightprofile). The app uses pygame to do the graphics.

The integration should be pretty straightforward. The only tricky part might be getting the asynchronous framework events to play with the pygame main loop.

ellerychan commented 8 years ago

@jaron42: My updates from the Friday hack session are in the integrate_dock_flight_profile branch. I could use the corresponding MS changes to do testing at home. What's your latest and greatest?

ellerychan commented 8 years ago

@sminster: I just merged your work-scott branch into my integrate_dock_flight_profile branch. You might want to merge my branch back into yours before it diverges too much. It adds a little bit of smarts to setting the IP address, and you can specify the preferred interface from the command line (e.g., "-i eth0"), so you shouldn't have to keep modifying runstation.conf. It adds code to get the RPi unique serial number that gets passed to the MS in the join message, and updates join to work with the 2016 MS. It adds the new station types for 2016 to runstation.conf.

It also adds a bunch of code for the Dock station, but that should not affect you.