|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: We need help getting motors moving using Labview!!!
Thank you for your help! We switched the PWM plugs around so the black and red wires are lined up properly. We restarted everything, but it still isn't responding to the joystick control. Here's a screen shot of our labview.
http://vanier.htcsd.ca/robotics/inde...motors-moving/ |
|
#2
|
|||||
|
|||||
|
Re: We need help getting motors moving using Labview!!!
Your Driver Station is showing error messages, but your screen captures are shrunk and don't have enough resolution for me to read what they say. Please post them at actual size.
|
|
#3
|
|||
|
|||
|
Re: We need help getting motors moving using Labview!!!
Sorry about the small pictures. I reposted them as large as they can go. We don't have a camera, so it gives us that error.
|
|
#4
|
||||
|
||||
|
Re: We need help getting motors moving using Labview!!!
In the Teleop code, there is an array. On the output of the array (right side) this goes to the Arcade Drive block (which is correct). On the input to the array (left side) you need to put in the axis number for the controller (ex. "4" and "5"). This tells the code what axis will control the Forward/Reverse, and what axis will control the Left/Right.
EDIT: Added picture as an example. See blue numbers. Last edited by JPL69 : 15-02-2016 at 20:11. |
|
#5
|
|||||
|
|||||
|
Re: We need help getting motors moving using Labview!!!
What kind of joystick or game controller are you using to command the motors?
Look at the USB configuration tab on the Driver Station to make sure you have it connect as USB 1. It has indicators that tell you what the axes and buttons values are. Make sure you're getting responses on the axes that you have wired to the Arcade Drive function (0 and 1). |
|
#6
|
|||
|
|||
|
Re: We need help getting motors moving using Labview!!!
We changed the axis numbers to 1 and 4 and fired it up and it works!
Thank you aeastet, ebmonon36, Alan Anderson, and JPL69 for all your help. We really appreciate your time and wisdom. You can imagine the excitement in the room when it finally started to move! |
|
#7
|
|||
|
|||
|
Re: We need help getting motors moving using Labview!!!
Really glad to hear it.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|