The colorful wolf

March 11, 2010

iPhone rocket launcher

Filed under: Tech — randy @ 21:56
Tags: , , ,

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 🙂

iPhone application source code

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)

Advertisements

2 Comments »

  1. I thought your last days are work were _very_ busy. I must have miss read you.

    Comment by Alex — March 12, 2010 @ 2:54 | Reply

  2. I am very busy. This is the combined work of two and a half lunch breaks 😀

    Comment by rheide — March 12, 2010 @ 9:05 | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: