Log in

View Full Version : Holonomic Programming


MachineSMMC
09-02-2010, 08:02
We are having a couple of problems getting the holonomic to function.

We are currently using the holonomic.vi and we have not modified it at all. I have included a screenshot of our teleop.vi so you can see how we have it wired.

Problem 1: We have joystick one setup to drive forwards and backwards and then turn left and right, I believe this would be considered arcade drive. The only problem is when you push the joystick left it turns to the right and when you push it right it turns left. Any input on this would be appreciated. We have been unable to get anywhere.

Problem 2: We have not had any success getting it to strafe at all. Joystick 2 does not do anything.

Any input would be greatly appreciated. If more info is needed please let me know.

Pausert
09-02-2010, 12:05
The holonomic drive VI does not take an input of an x, y, or x axis. you need to input a magnitude and an angle of direction along with an additional value for spin. Turn on context help and you can then see which node corresponds to which input.

MachineSMMC
09-02-2010, 12:22
Could you give me an example of what I need to do? I am having trouble following the help.

Thanks

mswalker
09-02-2010, 15:48
The inputs to the holonomic.vi are: direction (0-360 degrees), magnitude (-1 to 1), and rotation (-1 to 1 - counter clockwise/clockwise). The x/y input from the joystick needs to be converted to degrees. There is a rectangular to polar coordinate conversion vi (re/im to polar) that can help. An example of using holonomic.vi is shown here:

http://www.chiefdelphi.com/forums/showpost.php?p=915763&postcount=1