Go to Post It's one thing to post thoughts, guesses, opinions - that's all good ... However, it's [different] to make statements claiming first hand knowledge & facts without actually having first hand knowledge, facts, or accurate information. - Jason Morrella [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 26-01-2010, 05:40
EagleS!! EagleS!! is offline
Registered User
FRC #3390 (Anatolian Eaglebots)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Turkey
Posts: 20
EagleS!! will become famous soon enoughEagleS!! will become famous soon enough
Jaguars and Motors

We work the LabVIEW example programs but motors aren't running. We think we have a problem with Jaguars; cause everything looks fine. We tried everything but it didn't work. Did you have the same problem? Or you know the solution??
  #2   Spotlight this post!  
Unread 26-01-2010, 09:06
engunneer's Avatar
engunneer engunneer is offline
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 868
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: Jaguars and Motors

Do you have jumpers installed in the overtravel limit inputs on the jaguar?

what color are the lights on the jaguar?

If you plug a standard hobby servo into the same port, does it move as you expect? (You can use a Y cable to have both a jaguar and a hobby servo on the same channel.)
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
  #3   Spotlight this post!  
Unread 26-01-2010, 09:58
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,855
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: Jaguars and Motors

Quote:
Originally Posted by engunneer View Post
If you plug a standard hobby servo into the same port, does it move as you expect?
This servo test also requires that a jumper be installed next to the PWM you have the servo attached to.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 26-01-2010, 10:17
kngscrpn24 kngscrpn24 is offline
Student VP and Programmer
AKA: Ed C
FRC #2064 (Panther Project Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Middlebury, CT
Posts: 18
kngscrpn24 is an unknown quantity at this point
Re: Jaguars and Motors

Hi-

I wouldn't connect both the jaguar and the servo at the same time, primarily because the jumper needed changes the voltage to the servo.

Check your PWM's are in the right way. Test everything out with servos (if you have enough) and the jumpers for the servos on the sidecar. Then, if that doesn't work, go into Labview and make sure you set everything right. The program won't be the issue, but the parameters you set could very well cause issues. First, make sure you set your team number as your CRIO IP. Then make sure the PWM ports you picked for the Motors are indeed the ones you are connected to. Ive done that before (on last year's robot, my team for some mysterious reason had the motors connected to 3 & 4). You could also have the sample program set to victors instead of Jaguars, but I doubt this would cause 0 movement.

That's about all I can think of for easy fixes. I've always been a huge fan of VIctors- they have less to go wrong and take up less space. If the jaguars are being problematic, I'd try to scrounge for a couple simply for testing purposes. (They are wired pretty much the same- except instead of color-coded screws they have molded lettering.)

-Ed C
VP & Head Programmer
Team 2064
  #5   Spotlight this post!  
Unread 26-01-2010, 10:41
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: Jaguars and Motors

Quote:
Originally Posted by EagleS!! View Post
We tried everything but it didn't work. Did you have the same problem? Or you know the solution??
I'm sure you didn't try everything. Otherwise you would have found the solution.

Let's find out what you did try, and perhaps we'll notice something you overlooked. Please tell us, in as much detail as you can, how you have connected your motors and Jaguars to the control system, and how you are running the program. Let us know what lights are blinking, what messages you are seeing on the screen, and what buttons you're clicking.
  #6   Spotlight this post!  
Unread 26-01-2010, 12:16
Patrick Levy Patrick Levy is offline
Registered User
FRC #3202
 
Join Date: Jan 2010
Location: Minnesota
Posts: 7
Patrick Levy is an unknown quantity at this point
Re: Jaguars and Motors - Labview with cRIO

We are also having big problems! We have a test board all wired up and lights seem to indicate that it is working correctly when powered up (Jaguars flash, green power lights on sidecar (all of them...), etc. We have imaged the cRIO (v. 18 I think) and that seems to work fine. When we load labview code to test out a motor it does nothing. We also tried a servo but got nothing.

Questions:
1. Does the stop button need to be plugged in for everything to work? If it is not plugged in, does everything need a reboot after plugging it in? What about the robot light (I assume this is not needed?)

2. If we put a digital voltmeter on the PWM outputs, what kind of readings should we get when trying to drive a Jaguar, and what kind of readings should we get when operating a hobby servo?

3. After uploading the labview code do we deploy by just hitting the run button at the top?

4. Any other ideas?

Thanks!
  #7   Spotlight this post!  
Unread 26-01-2010, 12:28
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,855
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: Jaguars and Motors

  • You must have the E-stop button plugged in for the robot to be enabled. No reboot is necessary unless you actually push the button, and then it's the robot that needs to be rebooted, not your PC.
  • You must also run the Driver Station from the Developer account if you want to use the LabVIEW "Run" button. Exit the Driver account to work in the Developer account, do not just switch users. You'll find "FRC Driver Station" under Windows Start -> All Programs. You have to click on the Driver Station Enable button to get the robot operating.
  • The LabVIEW "Run" button is temporary. The program will stop if you switch user accounts, log off, or reboot the robot. To put your program on the robot so it will run whenever you turn your robot on or reboot it - it must be built, then "Run as startup." You'll find both of these on the LabVIEW Project Explorer window at the very bottom under "Build Specifications" and the file listed under it (right-click).
Status lights:
  • The Driver Station will have lots of status lights on the Diagnostics tab to tell you what's working, and what isn't working.
  • The Jaguar lights should not be blinking when they are at rest. Blinking means the robot is disabled or the code or wiring is not correct. The status lights will be solid yellow when neutral, or red/green when driving.
  • There is a status LED on the Digital Sidecar that is probably blinking as well. The Robot Status Light is just a repeater for this LED, so you don't need the RSL right now. For competition, yes.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 26-01-2010 at 12:42.
  #8   Spotlight this post!  
Unread 26-01-2010, 12:56
engunneer's Avatar
engunneer engunneer is offline
Alumni turned Mentor
AKA: Branden Gunn
FRC #4761
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1996
Location: Reading, MA
Posts: 868
engunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond reputeengunneer has a reputation beyond repute
Re: Jaguars and Motors

A voltmeter is not he best tool for measuring the PWM output (measured from Black to White/Yellow), but you can get an idea of what the voltage would be using the meter in DC mode. A typical servo signal at neutral will be 1.5 ms at 5V and 18.5ms at 0V, giving an average voltage of 0.375V. Max reverse is typically 1ms (0.25V avg), and max forward is typically 2ms (0.5V avg), so you need a good meter to read this.

If your robot is disabled, you will probably get 0V on the signal.

If you can get your hands on an Oscilloscope, it's a great signal to watch, and is a good learning opportunity about test equipment.

I think you do need to get your Driver station E-Stop hooked up as mentioned above. This seems like the most likely barrier to your tests working. One person should be assigned to hold it in their hands at all times during robot testing, in case something bad happens. I assume you're not looking to put any holes in the walls or the people on your team
__________________
Student FRC23 (1996-1999), Mentor FRC246 (2000), Mentor FRC1318 (2007-2009), Mentor FRC93 (2011), Mentor FRC2151 (2012), Mentor FRC23 (2013), Mentor FRC4761 (2014-2017)
1998 - National Chairman's Award and Woodie Flowers Award (FRC23, Mike Bastoni ) | 2007 - PNW SF (488, 1595) | 2008 - Oregon RCA - Seattle #2 Seed, SF (488, 1696) | 2009 - Oregon #1 Seed, Winners (1983, 2635) - Seattle SF (945, 2865) - Galileo #2 Seed, SF (973, 25) | 2012 Midwest F (111, 71) | 2014 RIDE Winners (78, 125), Inspector - NEU #24, QF (3479, 3958) - NECMP #35 | 2015 Reading #11, SF (1058, 190), Inspector - RIDE #17, QF(4055, 5494), Inspector - NECMP #57 | 2016 Reading #4, SF (133, 4474), DCA, Inspector - Ride #22, SF (1735, 2067), Creativity, Inspector - NECMP #48, RCA - Archimedes
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
Victors and Jaguars not Receiving Signal? excel2474 Electrical 1 12-02-2009 16:41
Spikes and jaguars in labview. Shadow_Cat NI LabVIEW 0 10-01-2009 20:17
Motors, Motors, and More Motors 1033missions Motors 1 09-02-2006 18:46
Motors.. and more motors.. How many on your 2004 bot? OneAngryDaisy Motors 33 23-02-2004 00:46
Matching Drill Motors and Fischer-Price Motors archiver 2001 5 24-06-2002 00:51


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

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