Controling BOE-BOT with DX7/AR6100 rc transmitter
david cook
Posts: 6
I would like to be able to use the high performance IR headlight navigation, plus escaping corners and be able to switch form that mode to direct control by using my DX7 radio transmitter.
I'd like to use the GEAR switch to swap between autonomous mode and direct control.
I do not need proportional control yet. just simple 4 direction control.
after searching the web for a few days I cannot find anything that helps me.
I am not good enough to code this myself yet. I just need to figure out how to insert the RC control and switch into the "high performance IR" navigation routine fron the BOE-BOT book.
I appreciate any help.
thanks a ton for your time
David
I'd like to use the GEAR switch to swap between autonomous mode and direct control.
I do not need proportional control yet. just simple 4 direction control.
after searching the web for a few days I cannot find anything that helps me.
I am not good enough to code this myself yet. I just need to figure out how to insert the RC control and switch into the "high performance IR" navigation routine fron the BOE-BOT book.
I appreciate any help.
thanks a ton for your time
David
Comments
These relays would switch the control of the Boe-Bot from the Basic Stamp running the motors etc to the AR6100 controlling it. As well one of the relays would either pull a Stamp pin up or down to indicate to the program that it was not needed and it could go into a loop checking the pin until it was cleared, at which point the Basic Stamp would take over control.
just use a pulsin on each channel to get the signal. then debug them for resolution (500 to 1000) give or take a few #s. then use if/ then on the control input and you get a simple switching control. here's a simple start.
whl VAR Word
thr VAR Word
selector VAR Word
RC:
PULSIN 10,1,selector
IF selector > 850 THEN rc2
IF selector > 750 THEN something_else
IF selector > 650 THEN any_thing
PULSIN 12,1,whl
PULSIN 11,1,thr
DEBUG DEC whl, " whl ", DEC thr, " thr ",CR
PULSOUT 15,whl
PULSOUT 14,thr
PAUSE 20
GOTO RC
rc2:
PULSIN 12,1, thr
PULSIN 11,1, whl
DEBUG DEC whl," & ",DEC thr,CR
I'll work with this and see how far I get. thank you guys for the help and sugestions
David