Hi,all
One mouth ago ,i bought L6 from lynxmotion,
i want to use the joystick to control it ,
but i don’t konw how to do it ,
the one who used the joystick can help me ,
the first step i can do .
thanks in advance !
Hi,all
One mouth ago ,i bought L6 from lynxmotion,
i want to use the joystick to control it ,
but i don’t konw how to do it ,
the one who used the joystick can help me ,
the first step i can do .
thanks in advance !
You can control the robot with a play station style USB controller connected to the PC using our RIOS program. Alternately you can control the arm with a Bot Board II, Atom 28 processor and our PS2 controller using this mini tutorial.
lynxmotion.com/images/html/build091.htm
If you want to DIY a program, you migh try the fairly simple Just Basic programming application. I made a simple program to operate a servo based pan/tilt cam via a joystick using another type servo controller. Below is a thread where I posted some code including some gamepad code. Bottom is some code that displays the values received from the joystick for experimentation. I’ve got some code I was testing with the ssc-32, but my $5 joystick has pretty sloppy pots and I often get out of range errors.
lynxmotion.net/phpbb/viewtopic.php?t=3655
nomainwin
open "joystick demo" for graphics as #joy
#joy "down" 'put the pen down
#joy "trapclose [quit]"
timer 100, [readStick] 'every tenth second read the stick
wait
[readStick]
scan
readjoystick 1 'either 1 or 2
#joy "place 50 50"
#joy "\Reading X = ";Joy1x;" " 'either 1 or 2
#joy "\Reading Y = ";Joy1y;" " 'either 1 or 2
x = int(Joy1x/256) 'either 1 or 2
y = int(Joy1y/256) 'either 1 or 2
#joy "\Reading X = "; x;" "
#joy "\Reading Y = "; y;" "
#joy "\Reading jb1 = "; Joy1button1;" " 'either 1 or 2
#joy "\Reading jb2 = "; Joy1button2;" " 'either 1 or 2
wait
[quit]
close #joy
end