I believe I may have found something useful and interesting.
NASA has an open source spacecraft OS that is realtime and has what
looks to me like perhaps an ideal platform for rocket flight
control/cubesat
https://cfs.gsfc.nasa.gov/Features.html
Looks like it will run on Pixhawk, Pi and bone.
Paul Breed what do you think? Better solution?