View Full Version : X and Y axis
Joshua3663
11-02-2012, 20:07
We cannot figure out how to activate the x and y axis. Does anyone know how?
Can you elaborate? I really have no idea what you are talking about
There's no such thing as "activating" the x and y axes. Do you mean reading x and y joystick values?
A potato battery is a type of electrochemical cell. An electrochemical cell converts chemical energy into electrical energy. In the potato battery, there is a transfer of electrons between the zinc coating the galvanized nail that will be inserted into the potato and the copper wire that will be inserted another part of the potato. The potato conducts electricity, yet keeps the zinc ions and copper ions separate, so that the electrons in the copper wire are forced to move (generate current). It's not enough power to shock you, but the potato can run a small digital clock.
Did somebody post in the wrong thread by any chance? ^
:eek:
I do find it interesting how your rookie year was in 2020 though...
Did somebody post in the wrong thread by any chance? ^
He/she/it seems to be trolling. Look at his other posts:
http://www.chiefdelphi.com/forums/search.php?do=finduser&u=63073
It appears to be so...yes...yes...
REPORT!
JK
Rogue Leader
15-02-2012, 21:44
As mentioned by the people above me, you're going to have to tell us what you mean by "activating the X and Y Axis." Although you're being very vague, it sounds like you're talking about joysticks. If so, go to the WPI Robotics Library and go to robot drive, then joystick, then "Open Joystick." That will initialize the joystick, essentially turning it on.
Next, go to the joystick palette again, and get the "Get" vi. This allows you to get button and axis information for you to use. Once you've done that, go to the cluster palette and get the "unbundle by name" block and plug that in to the joystick. Once you do that, you can get button and axis information. Click the unbundler and change the shown items to "X Axis" and "Y Axis." Once you get these, you can do whatever you like to utilize the joystick. Please note that if you are using two joysticks, you will need to do this process twice. And if you're using a tank drive, you need to use the Y Axis to drive the robot.
I hope that helped, and if you have any further questions feel free to ask!
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.