USB Missile Launcher – 1.4.10 Release 31 December 2007Posted by David Wilson in USB Missile.
Tags: USB Missile Launcher Release DreamCheeky RocketBaby
I’m pleased to announce that the USB Missile Launcher NZ software now supports the DreamCheeky “RocketBaby” launcher. There were a number of people who assisted with getting this release across the line, thank you to Joe (for sending me a launcher) and Phil for his USB support (particularly his use of the USB Protocol Analyser and the requirement for reading the HID Descriptor).
Details of changes in this release.
- Correct issues with Installer Maker packaging not working (something to do with spaces in file names?)
- Have received actual Rockey Baby Launcher for testing, testing completed – up/down/right/left/fire all working – also detected correctly full travel movement responses from launcher
- Correct application launch issues when kext not installed and causes application crash
- Found and fixed a bug in the FindInterfaces USB code, this may have effected some launcher operations
- Adding support for new DreamCheeky Launcher (internal name = RocketBaby)
- Added new kext for RocketBaby support
- Added code to DeviceAdded to read the HID Descriptor (the RocketBaby won’t work properly unless this is done). It is now done for all launchers
- Enhanced application version checking code
- Added message to display window if launcher is actually connected at application start
- Added “Prime Fire” button – works for two models of DreamCheeky launcher. This means that there is now a shorter time to actually fire when you do fire.
Please refer to the download links on the left of this page to get your updated release.
Note: I have had some issues with the PackageMaker under Leopard while trying to get this release produced. As a consequence, the folder that is installed within the Applications folder on your machine has been renamed to have the spaces removed file from name. You may be left with the old folder in the Application directory, this can be removed.
For anyone trying to do their own coding for this launcher, here are the updated control codes:
// Set up Packet - 21 09 00 02 00 00 00 00
// 0x01 - down
// 0x02 - up
// 0x04 - left
// 0x08 - right
// 0x10 - fire
// 0x20 - stop
// 0x40 - request status
// 1. To fire, Send 0x10
// 2. The motor keeps working now, keep sending 0x40 to ask for status (say, every 100~500ms)
// 3. If 0x00 received, then the missile is not fired.
// 4. If 0x10 received, them missile is fired.
// 5. If the missile is fired, send 0x20 to stop it.
// Other launcher Responses - these are returned as bits and thus you need to check like "if (rbBuffer & 0x01)" using Bitwise AND
// 0x01 - all the way down
// 0x02 - all the way up
// 0x04 - all the way left
// 0x08 - all the way right
// 0x10 - fire has completed