Go to Post I think all drivers will be required to wear tights! - Mike Martus [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 21-02-2013, 12:30
robot4497 robot4497 is offline
Registered User
FRC #4497
 
Join Date: Feb 2013
Location: canada
Posts: 1
robot4497 is an unknown quantity at this point
Controlling 6 motors

Does anyone have success in controlling 6 motors on a robot? They are not all on at once....our code is simple and not the issue. We think it is either a defective sidecar or a restrictive glitch in one of the drive Vi's

I can make 3 motors work perfect on any of the 10 PWM channels but when I try to initialize the 4th or more...the motors are erratic.

Another interesting quirk is that if I set the robotdrive VI to jaguar, 3 motors work perfect, BUT if I set the robotdrive VI to Victor, motors do not work....I am using Victor 888's

Any ideas greatly appreciated
Brent Neudorf
4497
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2013, 12:32
Steven Donow Steven Donow is offline
Registered User
AKA: Scooby
no team
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2009
Location: Boston, MA
Posts: 1,335
Steven Donow has a reputation beyond reputeSteven Donow has a reputation beyond reputeSteven Donow has a reputation beyond reputeSteven Donow has a reputation beyond reputeSteven Donow has a reputation beyond reputeSteven Donow has a reputation beyond reputeSteven Donow has a reputation beyond reputeSteven Donow has a reputation beyond reputeSteven Donow has a reputation beyond reputeSteven Donow has a reputation beyond reputeSteven Donow has a reputation beyond repute
Re: Controlling 6 motors

Did you try moving around and re addressing the PWMs/using different slots? This could determine whether the issue is the sidecar.
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2013, 12: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,844
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: Controlling 6 motors

Sounds like a standard Sidecar power issue.

You have 12v piped in from the Power Distribution Panel to the Sidecar?
3 bright green power status lights on the Sidecar?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 21-02-2013, 13:03
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Controlling 6 motors

It sounds like you are using RobotDrive VI's for all of your motors. Only use this VI for your drive motors. The rest of the motors in your system should use just Motor Set VI's. This can be found under the RobotDrive Palette > Advanced > MotorControl.

I believe if you use more than one RobotDrive VI, the motor safety kicks in and stops the robot because of the conflict.
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2013, 13:13
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,844
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: Controlling 6 motors

Good catch on the Drive VIs comment. Using single motor defs for non-drivetrain motors is the common practice.

But we can have multiple Drive Vi's and the motor Safety won't conflict.
The Motor Safety checks are based on unique device references.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 21-02-2013 at 13:55.
Reply With Quote
  #6   Spotlight this post!  
Unread 21-02-2013, 13:51
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Controlling 6 motors

Ah, thanks for clearing that up. I wasn't quite sure, seem to be conflicting reports around.
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #7   Spotlight this post!  
Unread 21-02-2013, 14:19
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: Controlling 6 motors

The big clue here is that it works a little when telling the code to control Jaguars, but doesn't work when telling the code to control Victors. That's about as specific a symptom as one could ask for. I think the Jaguar PWM pulse happens twice as often as the Victor PWM pulse, giving just a little more phantom power to the sidecar.

Bottom line: make sure 12 volt power is getting from the Power Distribution Board to the Digital Sidecar.
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 01:59.

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