Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Holonomic Programming (http://www.chiefdelphi.com/forums/showthread.php?t=82229)

MachineSMMC 09-02-2010 08:02

Holonomic Programming
 
1 Attachment(s)
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

Re: Holonomic Programming
 
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

Re: Holonomic Programming
 
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

Re: Holonomic Programming
 
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/sh...63&postcount=1


All times are GMT -5. The time now is 11:46.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi