A USB rocket launcher is a nifty desktop toy with which you can threaten your neighbouring cubicles with missile attacks. You can control the movement and firing of the launcher via USB with a program running on the PC. Being bored at work during lunch time gave rise to the idea of controlling the launcher using the iPhone. Turns out I’m not the first one to try this, but it was an interesting experiment nonetheless.
The SharpLauncher source code was a great help in building my own RocketServer, listening on a RocketSocket for RocketConnections from basically anywhere. I made two rather plain-looking iPhone apps to control the launcher. One app uses buttons, and the other one uses accelerometer values to control the movement.
Since I’m not going to have time to work on this in the near future, I decided to post the source code here, hereby released to the public domain. Have you have fun with it 🙂
Server binary (Update 2010-03-18: fixed a stupid bug)
(Usage: should run fine without any parameters. If it fails, try giving it your public IP. Eg: RemoteRocketController 192.168.0.x)