Go to Post I'm pretty sure Andrew Baker and Andy Baker are the same person. Then again, Andy may just be holding out on us. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-03-2011, 20:51
Camren's Avatar
Camren Camren is offline
Mentor
FRC #3081 (RoBoEaGleS)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Minnesota
Posts: 219
Camren is a jewel in the roughCamren is a jewel in the roughCamren is a jewel in the rough
Angry Victor troubles

Ok folks having some really wired problems with my victors to start off no their not brand new but they are from last year they are hooked up in the
12v power distribution spot and are connected using a pwm cable. but when i enable the robot the motors starts spinning in reverse when the joystick is in the 0 position when the joy stick is in the -1 position it stops and when its in the 1 position it goes forward im looking for some insite on what i can do to fix this
  #2   Spotlight this post!  
Unread 03-03-2011, 20:59
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Victor troubles

Quote:
Originally Posted by Camren View Post
Ok folks having some really wired problems with my victors to start off no their not brand new but they are from last year they are hooked up in the
12v power distribution spot and are connected using a pwm cable. but when i enable the robot the motors starts spinning in reverse when the joystick is in the 0 position when the joy stick is in the -1 position it stops and when its in the 1 position it goes forward im looking for some insite on what i can do to fix this
It sounds like they're waaaaaaaay out of calibration, or your code is whacked out. I'd suspect code first.

What are you using to program the robot? I'd use a printf() (or the equivalent for your programming language) to dump out what commands you're issuing the Victors in code to make sure it's doing what you want. If it is, then try calibrating them.

Out of curiousity, what are the lights on the Victors doing as this occurs?
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #3   Spotlight this post!  
Unread 03-03-2011, 21:01
Micah Chetrit's Avatar
Micah Chetrit Micah Chetrit is offline
Registered User
FRC #3276 (NSR)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: New London - Spicer MN
Posts: 90
Micah Chetrit is on a distinguished road
Re: Victor troubles

that sounds like programming. I use C++, but what I would do is when I "get" the value from the joystick subtract one and that should (emphasis on should) fix it.
  #4   Spotlight this post!  
Unread 03-03-2011, 21:07
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Victor troubles

Quote:
Originally Posted by Micah Chetrit View Post
that sounds like programming. I use C++, but what I would do is when I "get" the value from the joystick subtract one and that should (emphasis on should) fix it.
This doesn't sound as simple as an offset error, but something a bit more loopy.

It would also help to see the code that commands the Victors.

My IM contact information is in my profile, if you guys want to try and reach me directly, I'm assuming you're competing this weekend, so obviously you're in a time crunch.

Matt
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #5   Spotlight this post!  
Unread 03-03-2011, 21:50
Camren's Avatar
Camren Camren is offline
Mentor
FRC #3081 (RoBoEaGleS)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Minnesota
Posts: 219
Camren is a jewel in the roughCamren is a jewel in the roughCamren is a jewel in the rough
Re: Victor troubles

Actually this is our practice bot since are is bagged and tagged and the lights that flash are orange when dissable and then red and orange when enable red when it starts to jolt and spins motor and orange when it is stopped also we use lab view software to program
  #6   Spotlight this post!  
Unread 03-03-2011, 21:51
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Victor troubles

Quote:
Originally Posted by Camren View Post
Actually this is our practice bot since are is bagged and tagged and the lights that flash are orange when dissable and then red and orange when enable red when it starts to jolt and spins motor and orange when it is stopped
Sounds like it's your code. Can we see it? What language is it in?
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #7   Spotlight this post!  
Unread 04-03-2011, 06:28
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Victor troubles

Are the Victors properly set as Victors when you open the Device Reference in Begin.VI?

If they are, or you don't know what that means, please post your Begin.VI and Teleop.VI and let us know which DevRefs refer to the devices in question.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #8   Spotlight this post!  
Unread 04-03-2011, 09:14
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Victor troubles

Are they referenced as Servo's?
__________________
  #9   Spotlight this post!  
Unread 04-03-2011, 22:58
Camren's Avatar
Camren Camren is offline
Mentor
FRC #3081 (RoBoEaGleS)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Minnesota
Posts: 219
Camren is a jewel in the roughCamren is a jewel in the roughCamren is a jewel in the rough
Re: Victor troubles

Teleop.vi
Begin.vi
  #10   Spotlight this post!  
Unread 05-03-2011, 08:24
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Victor troubles

Quote:
Originally Posted by Camren View Post
Looks like your copy of Labview has not been updated. On your programming computer you need to get the Labview Update and Utilities Update from this page


On your Classmate or other Driver Station computer you need to get the Driver Station Update from the same page.

After updating Labview your Open 2 Motor VI will become a polymorphic VI. This means it will have a box under it like your solenoid VIs do to select the type of motor controller (Jaguar, Victor, CAN Jaguar). Change the box to Victor and you should be good to go with the Drive motors.

Does that solenoid code work properly? If you want to set a single solenoid using one of two buttons you should use a single Solenoid Set VI and an AND to combine the button signals. If they are double solenoids which is what your comments seem to suggest then you may be able to use the code in a similar way to how it is currently written but you will have to pass a device reference for a single solenoid on the appropriate channel to each solenoid set VI, not the same device reference to both.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #11   Spotlight this post!  
Unread 05-03-2011, 08:44
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Victor troubles

Don't forget that Victors and Jaguars have a calibrate feature. This is a simple internal learning mode that establishes the extreme throttle positions and center position of your joysticks. If the center calibration is off your motors will move when your joysticks are centered. Since these are not new, consider that someone has calibrated to different center values in the past.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #12   Spotlight this post!  
Unread 03-04-2011, 16:38
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Victor troubles

Quote:
Originally Posted by Al Skierkiewicz View Post
Don't forget that Victors and Jaguars have a calibrate feature. This is a simple internal learning mode that establishes the extreme throttle positions and center position of your joysticks. If the center calibration is off your motors will move when your joysticks are centered. Since these are not new, consider that someone has calibrated to different center values in the past.
To by knowledge, doesn't Victor calibration involves moving from 0, then back and forth between -1 and 1, then back to 0 to identify maximum forward, maximum reverse, and neutral? I can't quite see how they would be recalibrated to 1 fd, 0 rev, and -1 neutral.

This sounds more like a code issue to me, though I can't see for the life of me how it's happening.
Closed Thread


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


All times are GMT -5. The time now is 04:52.

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