using a script to interface with a digital joystick

4 years 11 months ago #29534130 by jcco104
I am using a digital joystick to control the of an AGV in manual mode. Question is this posible with a loop asking for inputs.

ee

while true
if Yplus then
setcommand(_go, 1, 500)
elseif Yminus then
setcommand(_go, 1, -500)
end if
setcommand(_go, 1, 0)
end while

Please Log in or Create an account to join the conversation.

4 years 11 months ago #29534223 by Gabriel_Isko
Replied by Gabriel_Isko on topic using a script to interface with a digital joystick
Did you try using our digital input interface?

Please Log in or Create an account to join the conversation.

Time to create page: 0.049 seconds