4 axis with joypad

More
10 years 6 months ago #73231 by Rufus
4 axis with joypad was created by Rufus
need help in the control of a 4 -axis with a joypad
not get it out because I do not know how I 4 axis ( a) must programing in the hal

Please Log in to join the conversation.

More
10 years 6 months ago #73273 by Rick G
Replied by Rick G on topic 4 axis with joypad

Please Log in to join the conversation.

More
10 years 6 months ago #73293 by Rufus
Replied by Rufus on topic 4 axis with joypad
sorry for my english :)
I can not find is , the control command for a axis
Code:
net jog-z-down halui.jog.2.plus <= input.0.btn-x net jog-z-up halui.jog.2.minus <= input.0.btn-a this is the z axis, run perfect, i cant not find the halui.jog (?) for the a axis my button for the a axis is input.0.btn-z-not input.0.btn-y-not my hal for my joypad, is run perfectly loadusr -W hal_input -KRAL Gamepad setp halui.jog-speed 10 loadrt sum2 count=1 loadrt mux4 count=1 loadrt or2 count=2 loadrt not count=1 addf sum2.0 servo-thread addf not.0 servo-thread addf or2.0 servo-thread addf or2.1 servo-thread addf mux4.0 servo-thread # achsen fahren setp mux4.0.in0 0 setp mux4.0.in1 10 setp mux4.0.in2 100 setp mux4.0.in3 700 net speed-button-1 or2.0.in0 input.0.btn-tl net speed-button-2 or2.1.in0 input.0.btn-tr net speed-1 mux4.0.sel0 <= or2.0.out net speed-2 mux4.0.sel1 <= or2.1.out net speed-out halui.jog-speed <= mux4.0.out setp input.0.abs-y-scale -127.5 net jog-x halui.jog.0.analog <= input.0.abs-x-position net jog-y halui.jog.1.analog <= input.0.abs-y-position net jog-z-down halui.jog.2.plus <= input.0.btn-x net jog-z-up halui.jog.2.minus <= input.0.btn-a

Please Log in to join the conversation.

More
10 years 6 months ago #73302 by andypugh
Replied by andypugh on topic 4 axis with joypad
The A axis would be jogged by halui.jog.3......

Please Log in to join the conversation.

More
10 years 6 months ago #73318 by Rufus
Replied by Rufus on topic 4 axis with joypad
:laugh: thanks , thanks, i am so blind,

Please Log in to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum