Can't launch DC Thunder rocket launch from Raspberry Pi
I recently bought a Miss Cheeky Thunder sniper rocket and I want to control it from my raspberry pi.
Using retaliation code ( https://raw.githubusercontent.com/codedance/Retaliation/master/retaliation.py ) I was able to write a small Python script to send commands to Thunder. The move commands and the "stop" command work fine and actually move or stop the thunder. However, when I send fire command "0x10", the launcher does not start and the connection to it is terminated.
I am using standard raspbian os. Has anyone else experienced this problem, and if so, how did you resolve it?
source to share
Late answer here ...
The Pi isn't drawing enough current out of the box. However, you can add max_usb_current=1
in /boot/config.txt
and reboot to provide enough current to run Miss Cheeky Thunder Missile Launcher (tested on Raspberry Pi 2). Make sure you have a large enough power supply.
Check the settings with vcgencmd get_config int
.
See https://raspberrypi.stackexchange.com/questions/27708/is-setting-max-usb-current-1-to-give-more-power-to-usb-devices-a-bad-idea and https: / /github.com/martisak/martisak.github.io
source to share