Hello guys, this is a great program i hope it will make my purchase worth the money. it's boring to use the rocket launcher manually, i plan to make a windows task with this :)
I'm trying to use this program to control it, but it doesn't work. Because if i am not wrong this is for the grey missile launcher, the one with white and red rockets.
However i know these are the codes to control my rocket launcher
Write:
00 00 00 00 00 00 00 00 - Stop - 0
01 00 00 00 00 00 00 00 - Up - 1
02 00 00 00 00 00 00 00 - Down - 2
04 00 00 00 00 00 00 00 - Left - 4
05 00 00 00 00 00 00 00 - Up Left - 5
06 00 00 00 00 00 00 00 - Down Left - 6
08 00 00 00 00 00 00 00 - Right - 8
09 00 00 00 00 00 00 00 - Up Right - 9
10 00 00 00 00 00 00 00 - Fire - 16
0A 00 00 00 00 00 00 00 - Down Right - 10
Read:
00 04 00 00 00 00 00 00 - All the way left
00 08 00 00 00 00 00 00 - All the way right
40 00 00 00 00 00 00 00 - All the way down
80 00 00 00 00 00 00 00 - All the way up
00 ?? 00 00 00 00 00 00 - Done Firing
I have downloaded the source files and i found a piece of code in missile-control.c where some numbers are assigned to each action:
Will it work if i replace those numbers with the corresponding ones for each action?
If not, what else should i do?.
Also how do i do to compile everything in a .exe? Makefile has no extention and i can not run it in windows.
Thanks in advance, and congrats for the good idea and implementation :).
regards,
Gaston
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am sorry but I don't have much technical knowledge.
I expect that you will need to change missile-control-lib.c as it states:
#define VENDOR_ID 0x1130
#define PRODUCT_ID 0x0202
And you will need to fire up the LibUSB Test program that came with it to find the IDs for your item.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello guys, this is a great program i hope it will make my purchase worth the money. it's boring to use the rocket launcher manually, i plan to make a windows task with this :)
I have the DreamCheeky rocket launcher, http://www.dreamcheeky.com/images/product/MISSILE%20LAUNCHER.jpg
I'm trying to use this program to control it, but it doesn't work. Because if i am not wrong this is for the grey missile launcher, the one with white and red rockets.
However i know these are the codes to control my rocket launcher
Write:
00 00 00 00 00 00 00 00 - Stop - 0
01 00 00 00 00 00 00 00 - Up - 1
02 00 00 00 00 00 00 00 - Down - 2
04 00 00 00 00 00 00 00 - Left - 4
05 00 00 00 00 00 00 00 - Up Left - 5
06 00 00 00 00 00 00 00 - Down Left - 6
08 00 00 00 00 00 00 00 - Right - 8
09 00 00 00 00 00 00 00 - Up Right - 9
10 00 00 00 00 00 00 00 - Fire - 16
0A 00 00 00 00 00 00 00 - Down Right - 10
Read:
00 04 00 00 00 00 00 00 - All the way left
00 08 00 00 00 00 00 00 - All the way right
40 00 00 00 00 00 00 00 - All the way down
80 00 00 00 00 00 00 00 - All the way up
00 ?? 00 00 00 00 00 00 - Done Firing
I have downloaded the source files and i found a piece of code in missile-control.c where some numbers are assigned to each action:
typedef enum
{
missile_stop = 0,
missile_left = 1,
missile_right = 2,
missile_up = 4,
missile_down = 8,
missile_fire = 16
}
Will it work if i replace those numbers with the corresponding ones for each action?
If not, what else should i do?.
Also how do i do to compile everything in a .exe? Makefile has no extention and i can not run it in windows.
Thanks in advance, and congrats for the good idea and implementation :).
regards,
Gaston
MinGW was used to compile.
I am sorry but I don't have much technical knowledge.
I expect that you will need to change missile-control-lib.c as it states:
#define VENDOR_ID 0x1130
#define PRODUCT_ID 0x0202
And you will need to fire up the LibUSB Test program that came with it to find the IDs for your item.