missionpinball / mpf-mc

The Mission Pinball Framework Media Controller. Controls graphics, sounds, DMDs, and LCD displays in MPF.
http://missionpinball.org
MIT License
21 stars 42 forks source link

Improve DMD communication via BCP #169

Closed toomanybrians closed 6 years ago

toomanybrians commented 8 years ago

The process for connecting a DMD (or RGB DMD) between MPF and MPF-MC needs to be improved. Currently the MC will start sending frames when a BCP connection is made, but if MPF doesn't have a DMD, it will crash. Also MPF should specifically ask for the MC to start sending frames, and MPF should also be able to ask for frames to come at a certain fps (and it should be able to change that dynamically.)

Also all this needs tests (including integration tests)

toomanybrians commented 8 years ago

if there's a physical_dmd in the config, then send frames always if fps of physical and display on mc don't match, raise exception