Go to Post Possibly the most amazing thing all week was that this game can be played with mecanum wheels. - fargus111111111 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-02-2010, 18:08
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-02-2010 at 19:26.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-02-2010, 18:24
Bill Taylor Bill Taylor is offline
Registered User
FRC #0388
 
Join Date: Dec 2008
Location: Grundy, VA
Posts: 12
Bill Taylor is an unknown quantity at this point
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?
Reply With Quote
  #3   Spotlight this post!  
Unread 27-02-2010, 18:43
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 27-02-2010 at 18:47.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-02-2010, 19:30
Bill Taylor Bill Taylor is offline
Registered User
FRC #0388
 
Join Date: Dec 2008
Location: Grundy, VA
Posts: 12
Bill Taylor is an unknown quantity at this point
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-02-2010, 19:36
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 27-02-2010, 19:41
Bill Taylor Bill Taylor is offline
Registered User
FRC #0388
 
Join Date: Dec 2008
Location: Grundy, VA
Posts: 12
Bill Taylor is an unknown quantity at this point
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.
Reply With Quote
  #7   Spotlight this post!  
Unread 27-02-2010, 20:23
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: need a simple motor program

If the dashboard PWM isn't showing full value, then the problem is not on the robot side.
Reply With Quote
  #8   Spotlight this post!  
Unread 27-02-2010, 22:30
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: need a simple motor program

Quote:
Originally Posted by Bill Taylor View Post
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?
Doubling a value is easy, but there's obviously something unusual going on here. Let's try to figure out what's wrong before trying to patch it.

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?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 22:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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