Go to Post Sports have the power to change culture in a way that games do not. - Nate Laverdure [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 19-03-2010, 17:54
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Using the arm with VICTOR motor

Quick unrelated question. What physical motor are you using on the robot that was wired up to the Spike? There's a pretty short list of motors that you're not allowed to wire to a Spike, I'd like to make sure we're not making this change for no reason.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #2   Spotlight this post!  
Unread 19-03-2010, 18:28
hapenkop hapenkop is offline
Registered User
FRC #3382
 
Join Date: Feb 2010
Location: Montreal, Canada
Posts: 12
hapenkop is an unknown quantity at this point
Re: Using the arm with VICTOR motor

Quote:
Originally Posted by Kevin Sevcik View Post
Quick unrelated question. What physical motor are you using on the robot that was wired up to the Spike? There's a pretty short list of motors that you're not allowed to wire to a Spike, I'd like to make sure we're not making this change for no reason.

A Victor motor.
  #3   Spotlight this post!  
Unread 19-03-2010, 18:30
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Using the arm with VICTOR motor

Quote:
Originally Posted by hapenkop View Post
A Victor motor.
A Victor is a Motor Controller, not a motor itself. Is it a CIM? Fisher Price? Window motor? 555?
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #4   Spotlight this post!  
Unread 19-03-2010, 18:37
hapenkop hapenkop is offline
Registered User
FRC #3382
 
Join Date: Feb 2010
Location: Montreal, Canada
Posts: 12
hapenkop is an unknown quantity at this point
Re: Using the arm with VICTOR motor

Quote:
Originally Posted by apalrd View Post
A Victor is a Motor Controller, not a motor itself. Is it a CIM? Fisher Price? Window motor? 555?
Well, I don't know
  #5   Spotlight this post!  
Unread 19-03-2010, 18:39
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Using the arm with VICTOR motor

If it is a CIM or Fisher-Price motor it must be on a Victor. All others can be on Spikes. Since you said it's an arm I would guess CIM or Fisher Price, as the others are fairly wimpy motors.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #6   Spotlight this post!  
Unread 19-03-2010, 18:52
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,789
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Using the arm with VICTOR motor

Can you give a physical description?

Big, black cylinder: CIM
smaller, gray/silver cylinder: FP, Mabuchi
oblong with a diskish shape on one end: Window motor
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #7   Spotlight this post!  
Unread 19-03-2010, 18:55
hapenkop hapenkop is offline
Registered User
FRC #3382
 
Join Date: Feb 2010
Location: Montreal, Canada
Posts: 12
hapenkop is an unknown quantity at this point
Re: Using the arm with VICTOR motor

Well, I'll see tuesday the type of Victor.
  #8   Spotlight this post!  
Unread 23-03-2010, 17:02
hapenkop hapenkop is offline
Registered User
FRC #3382
 
Join Date: Feb 2010
Location: Montreal, Canada
Posts: 12
hapenkop is an unknown quantity at this point
Re: Using the arm with VICTOR motor

Sorry. but it doesn't work. I've tried to stack the case structures. I've made three print screens and will post it right now.

By the way, our Victor control is a 2.5 '' CIM Motor, 12V DC, 2.5'' diameter, and we were advise to use a Victor instead of a Spike because it's not allowed.







Thank you very much!
  #9   Spotlight this post!  
Unread 23-03-2010, 17:43
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Using the arm with VICTOR motor

Just checking on the legality of things. Moving on...

Your code there looks good and should work. I think I see the problem, and we should have all noticed it earlier, but it's a tricky one to catch. I think you're accidentally using different names for your motor reference.

In the screen where you're closing the reference and the screen where you're controlling the motor, it looks like you're calling it [Bras Robot]

In the screen where you're opening the reference to the motor, it looks like you're calling it [Bras Robot ] with an extra space at the end. That extra space DOES matter and it means you're saving the motor reference to a different name that you're accessing it with.

So, I think if you double check all your references to [Bras Robot] and make sure they're all exactly the same, things should work for you. Copy / Paste works well here. You might also want to double check this for anything else in your program you're having problems with.

In case that doesn't fix things, what does the LED on the Victor look like when your robot is on and in teleop? Is it blinking yellow or is it a solid color? Does it change colors when you press buttons 1 and 5?
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #10   Spotlight this post!  
Unread 23-03-2010, 20:39
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: Using the arm with VICTOR motor

Quote:
Originally Posted by hapenkop View Post
Well, I'll see tuesday the type of Victor.
The type of Victor had better be 884. That's the only one permitted according to <R42>. The question is what type of motor you're trying to control.

Quote:
Originally Posted by Kevin Sevcik View Post
I think I see the problem, and we should have all noticed it earlier, but it's a tricky one to catch. I think you're accidentally using different names for your motor reference.
An unrecognized reference name will be indicated in the diagnostic messages window on the Driver Station. Are there any other messages there that might tell you what else you should be looking at?
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Limit Switches with the Arm iwin2000 Programming 3 18-02-2008 03:52
pic: 753 Arm with banebot motor MIsanthropist Extra Discussion 2 18-02-2007 00:03
Using a switch with a victor J. Stofflett Programming 3 30-01-2006 21:00
Which do you use a spike or a victor on the Bosch motor? Leo 1529 Technical Discussion 2 20-01-2006 20:29
Window Motor With Spike/Victor supergrover Control System 9 30-01-2004 15:38


All times are GMT -5. The time now is 03:31.

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