|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: need a simple motor program
victor. its set in the Begin.
|
|
#2
|
|||||
|
|||||
|
Re: need a simple motor program
The Victor might need to be calibrated then.
Page 2 of this. No, strike that. The Dashboard PWM indicator could only be fooled by the joystick input. You can take the joystick out of the loop temporarily by changing the Motor Set Speed to use a constant (1=full backwards or -1=full forwards). Since the window motors probably attached to something, you can pull the breaker for it and just watch the Dashboard PWM indicator to see if it goes to full. Last edited by Mark McLeod : 27-02-2010 at 19:26. |
|
#3
|
|||
|
|||
|
Re: need a simple motor program
recalibrated the victor and switched joysticks. same effect. its like its running at almost half speed. any way to double the value between the joystick vi and get speed vi?
|
|
#4
|
|||||
|
|||||
|
Re: need a simple motor program
Is the Victor status light going red when you push the joystick all the way forward-an indication of full speed?
You can certainly multiply the joystick output, but the range of the motor speed is only -1 to 1, the same as the joystick. A larger number would get cut back to 1. And calibrating the victor to the joystick range should have made it full speed no matter what. Not a low battery, bad wire connection, or anything simple like that is it? Last edited by Mark McLeod : 27-02-2010 at 18:47. |
|
#5
|
|||
|
|||
|
Re: need a simple motor program
you're right, doubling the value didn't help. it has the same behavior. wiring and all that looks good and everything works as expected (lights, blinkies, indicators) except it is slow.
|
|
#6
|
|||||
|
|||||
|
Re: need a simple motor program
Is it a new motor, possibly damaged?
That's the only other thing that comes to mind. At full speed you should be able to test with a multi-meter to see if the motor's receiving the full 12v or close to it. Readings at other speeds won't come out right without a more sophisticated meter. |
|
#7
|
|||
|
|||
|
Re: need a simple motor program
thats the only thing i can think of is a bad motor or controller. i'm gonna swap them out at the shop monday and see if something happens. this victor came out of an "old box" and may have went bad. might just switch it with a jaguar. thanks for the help. i really appreciate it.
|
|
#8
|
||||||
|
||||||
|
Re: need a simple motor program
If the dashboard PWM isn't showing full value, then the problem is not on the robot side.
|
|
#9
|
|||||
|
|||||
|
Re: need a simple motor program
Quote:
Run the code (open the Robot Main vi and click the white "run" arrow at the top) and probe the value coming out of the joystick vi. If it doesn't go full range (+1 to -1) as you move the joystick, that's a clue that the problem is in one direction. If it does go full range, that's a clue that the problem is in a different direction. What do you see? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with simple program | Rob Stehlik | C/C++ | 2 | 23-10-2009 15:00 |
| pic: Motor program | Team2339 | Extra Discussion | 3 | 30-01-2009 15:56 |
| Need a simple challenge for VEX summer camp | Andrew Schuetze | Math and Science | 5 | 05-04-2008 21:46 |
| EasyC Question regarding simple program | aeasson | Programming | 6 | 14-01-2008 23:16 |
| HELP writing simple delphi program! | dave_macca | Programming | 1 | 25-03-2004 00:35 |