Go to Post Your wheels look delicious. - Alexa Stott [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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-01-2012, 11:48
Alex698's Avatar
Alex698 Alex698 is offline
Sparky
FRC #2449 (Out of Orbit Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Arizona
Posts: 114
Alex698 is a jewel in the roughAlex698 is a jewel in the roughAlex698 is a jewel in the rough
Send a message via AIM to Alex698
Re: CAN jags not working

I had similar issues and it boiled down to not having the driver station enabling the cRIO, even while using the CAN example. If you are already enabling the cRIO, are you using 2CAN or serial? More information will be required, maybe a photo of the test setup?
__________________
Eat, Sleep, Build Robots
  #2   Spotlight this post!  
Unread 19-01-2012, 11:58
blackflame2996's Avatar
blackflame2996 blackflame2996 is offline
Alumni
AKA: David Donahue
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Colorado springs, CO
Posts: 67
blackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to all
Re: CAN jags not working

we are using serial.
  #3   Spotlight this post!  
Unread 19-01-2012, 12:12
Alex698's Avatar
Alex698 Alex698 is offline
Sparky
FRC #2449 (Out of Orbit Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Arizona
Posts: 114
Alex698 is a jewel in the roughAlex698 is a jewel in the roughAlex698 is a jewel in the rough
Send a message via AIM to Alex698
Re: CAN jags not working

How long are your CAN cables?
Are you using a terminator on the last jaguar?
What device IDs are you using?
How fast is the loop for CAN? (remember serial is like 1/10th of the CAN bandwidth)
What firmware is on the cRIO and the jaguars?
You can Enum without being enabled, that's why I asked before.
__________________
Eat, Sleep, Build Robots
  #4   Spotlight this post!  
Unread 19-01-2012, 12:55
blackflame2996's Avatar
blackflame2996 blackflame2996 is offline
Alumni
AKA: David Donahue
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Colorado springs, CO
Posts: 67
blackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to all
Re: CAN jags not working

Quote:
Originally Posted by Alex698 View Post
How long are your CAN cables?
Are you using a terminator on the last jaguar?
What device IDs are you using?
How fast is the loop for CAN? (remember serial is like 1/10th of the CAN bandwidth)
What firmware is on the cRIO and the jaguars?
You can Enum without being enabled, that's why I asked before.
all but the first are less than 6 in
yes
3 and 11
I don't know
latest firmware
yes, teleop is enabled
  #5   Spotlight this post!  
Unread 19-01-2012, 17:06
Alex698's Avatar
Alex698 Alex698 is offline
Sparky
FRC #2449 (Out of Orbit Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Arizona
Posts: 114
Alex698 is a jewel in the roughAlex698 is a jewel in the roughAlex698 is a jewel in the rough
Send a message via AIM to Alex698
Re: CAN jags not working

OK, so just to verify:
You have something close to this?

Default 2012 robot project
Begin.vi:
Open2Motor VI -> CAN Jaguar -> Replace PWM drop-down with device IDs -> MotorRef

Teleop.vi:
MotorRef -> Loop[Motor control] -> CloseMotorRef

It may also help to try one jaguar, at a time.
__________________
Eat, Sleep, Build Robots

Last edited by Alex698 : 19-01-2012 at 17:06. Reason: more thoughts
  #6   Spotlight this post!  
Unread 19-01-2012, 17:13
blackflame2996's Avatar
blackflame2996 blackflame2996 is offline
Alumni
AKA: David Donahue
FRC #2996 (Cougars Gone Wired)
Team Role: Alumni
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Colorado springs, CO
Posts: 67
blackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to allblackflame2996 is a name known to all
Re: CAN jags not working

Yeah, that's what we have. by the way, i forgot to mention that when we try to move the motor, the jag's light blinks quicker.
  #7   Spotlight this post!  
Unread 19-01-2012, 17:35
Alex698's Avatar
Alex698 Alex698 is offline
Sparky
FRC #2449 (Out of Orbit Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Arizona
Posts: 114
Alex698 is a jewel in the roughAlex698 is a jewel in the roughAlex698 is a jewel in the rough
Send a message via AIM to Alex698
Re: CAN jags not working

Quote:
Originally Posted by blackflame2996 View Post
Yeah, that's what we have. by the way, i forgot to mention that when we try to move the motor, the jag's light blinks quicker.
What color does the jaguar blink?
If red or green, check to see if there is voltage on the M+ and M- outputs, if not the internal jaguar hardware is bad. The LED will blink because the CAN and PWM interface is isolated from normal jaguar functions in-case of a failure it can keep communication alive.
__________________
Eat, Sleep, Build Robots
  #8   Spotlight this post!  
Unread 19-01-2012, 17:56
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: CAN jags not working

Quote:
Originally Posted by Alex698 View Post
What color does the jaguar blink?
If red or green, check to see if there is voltage on the M+ and M- outputs, if not the internal jaguar hardware is bad. The LED will blink because the CAN and PWM interface is isolated from normal jaguar functions in-case of a failure it can keep communication alive.
Rapidly flashing yellow indicates that the CAN ID is invalid, not that hardware is damaged. Refer to Table 2-2 here for more details.

Have you correctly configured and updated the Jaguars with the BDC-COMM interface?
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
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 02:09.

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