Go to Post Looks very well designed. Now where is the "export to reality" button in the CAD software? (I have been looking for it for weeks). - sanddrag [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 12-01-2013, 01:13
1482Furchuck 1482Furchuck is offline
Registered User
FRC #1482
 
Join Date: Jan 2013
Location: Calgary
Posts: 1
1482Furchuck is an unknown quantity at this point
No more than four motor controllers run at once

Our robot drives on a four motor, six wheel drive train. We plan on using motors as a shooter for the discs, and potentially as part of a pick up mechanism. As the robot is coded now, it opens references to four motors (using the OPEN-Four Motors WPI code, on the Jaguar setting) on PWM 1-4. If we open anything on PWM 5+ the robot simply does not run. The code deploys, and can be enabled, but will not respond to any input on the controller, and does not return any error codes to the driver station. The windows that show the motor speed respond to a joystick input in a predictable manner as well. We ran into the same problem last year, (returning an error code, I can't remember it off the top of my head but I remember the diagnostics window saying "the code is running too slowly") but worked around it by using PWM splitter cables to allow one PWM port to send a signal to two Jaguars instead of having the code try to run four motor controllers. Does anyone have any clue as to why the robot won't run with more than four motors?

In a couple of days we'll be able to test Talon motor controllers to see if they react differently to this error, but I was wondering if there was any programming fixes for this problem, rather than finding a way to trick the robot.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-01-2013, 01:25
vhcook's Avatar
vhcook vhcook is online now
Reader of Things
AKA: Victoria
FRC #1939 (Kuh-nig-its)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, MO
Posts: 546
vhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond repute
Re: No more than four motor controllers run at once

Can you show us your code? That will make it much easier to diagnose the problem.

Have you tried opening five motors, using PWM1-4 and PWM6? (It sounds like you did, but I want to make sure I've read you correctly.)

Have you tried opening only four motors and assigning one of them to PWM 5 or higher (with appropriate cabling, of course)?
__________________


Reply With Quote
  #3   Spotlight this post!  
Unread 12-01-2013, 07:06
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: No more than four motor controllers run at once

Another potential cause is improper wiring of power to the Digital Sidecar.
Make sure the three power LEDs on the Sidecar are all brightly lit.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 12-01-2013, 19:29
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: No more than four motor controllers run at once

Remember that the digital sidecar needs to be powered from the 12 volt power distribution board.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2013, 16:19
lorem3k's Avatar
lorem3k lorem3k is offline
1 + 1 = 0 (in Z/2Z)
AKA: Andy D.
FRC #1482 (Bishop Grandin Ghosts)
Team Role: Alumni
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Calgary, AB
Posts: 165
lorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to behold
Re: No more than four motor controllers run at once

Thanks for the help, we've got it working. We had the sidecar wired to 5V last year, which seems to have been the problem. We just drove the robot with 5 Jags.
__________________
Boo! Bishop Grandin High School / GM Canada / Tenaris
2013 Western Canada - Quarterfinalists (thanks 288/4719) / 2012 GTR West - Quarterfinalists (thanks 188/1075) / 2011 GTR East - Regional Winners (thanks 1114/1503)
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


All times are GMT -5. The time now is 21:44.

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