Go to Post If full body suits can be made to fit properly, why do we have so many robots with saggy bumper covers? - GaryVoshol [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
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 15-02-2011, 01:19
BrandonG's Avatar
BrandonG BrandonG is offline
IRC Junkie
FRC #2865 (Roboteknix)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Post falls
Posts: 48
BrandonG is a glorious beacon of lightBrandonG is a glorious beacon of lightBrandonG is a glorious beacon of lightBrandonG is a glorious beacon of lightBrandonG is a glorious beacon of light
Problems connecting to Jaguars from cRIO

We are having a problem where we can use BDC-COMM to access and control jaguars, but when using the black jaguars in LabVIEW as CAN, and using the appropriate serial adapter and cables (RJ12 6p6c), they appear as if to be stuck in pwm mode (flashing lights, as opposed to the solid when they are in CAN mode). We can read from them with LabVIEW, but not write: e.g. set values for motion.

Black Jag with FW V92
cRIO FW V25
LabView 8.6.1f3 update 3.1

We have tried the jaguars in a single and daisy chain configuration with the same problem; controllable via BDC-COMM but not LabVIEW.
__________________
www.roboteknix.com


Quote:
Originally Posted by A bum in Atlanta
if you was my sister I'd mug you
If anyone uses IRC, pm me and let me know what networks, I have never heard of anyone in FRC using IRC besides me O_o

Last edited by BrandonG : 15-02-2011 at 01:24.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2011, 20:24
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Problems connecting to Jaguars from cRIO

Have you set the plugin on the cRIO?
Have you enabled the robot (using the Driver Station)?
__________________
-- Marshal Horn
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2011, 21:07
KillerGardevoir KillerGardevoir is offline
Registered User
FRC #2865 (Roboteknix)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Post Falls
Posts: 10
KillerGardevoir is an unknown quantity at this point
Re: Problems connecting to Jaguars from cRIO

(I'm a mentor for 2865 who initially discovered and attempted to diagnose the issue) The plugin is set, we are using the firmware utility that uses "net console" (built 12.16.2010 if memory serves, acquired from the PDF describing how to get CAN working) which we enable and select the Black Jaguar plugin. In addition we have tried the latest public (v28) firmware for the cRIO, I haven't been able to locate an older version, but I imagine I would get a similar result.

The robot is not enabled, nor is the driver station in the loop, but it also does not check any state, or for that matter the presence of a driver station. All it does is attempt to set the value of the jaguars, which it simply fails quietly at.

Note we can read just fine, so we know the bus is working, and for all intensive purposes should function just fine. We have tried 2 different cRIO's so unless there is an issue with the firmware, the firmware utility, the black jaguar plugin* or somehow two cRIO's have the exact same malfunction; it must be an issue in the code which I am unable to identify. I have attached the code we are using (note: 11 is the valid device number as we do get feedback from that jaguar)

*This is who, if not the code, is probably causing the issue, as it is the only commonality between all the tests.
Attached Files
File Type: vi TestPoint.vi (16.0 KB, 6 views)
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2011, 21:32
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Problems connecting to Jaguars from cRIO

If it is not connected via the Driver Station, you cannot set the output of the Jaguar. This is one of the things that is specific to the FIRST Jaguar firmware.
__________________
-- Marshal Horn
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2011, 11:13
drakesword drakesword is offline
Registered User
AKA: Bryant
FRC #0346 (Robohawks)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: USA
Posts: 200
drakesword is on a distinguished road
Re: Problems connecting to Jaguars from cRIO

Agreed with ^^^^

If the robot is not enabled the cRio will not allow output period.

So enable your robot and report back!
Reply With Quote
  #6   Spotlight this post!  
Unread 16-02-2011, 14:18
BrandonG's Avatar
BrandonG BrandonG is offline
IRC Junkie
FRC #2865 (Roboteknix)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Post falls
Posts: 48
BrandonG is a glorious beacon of lightBrandonG is a glorious beacon of lightBrandonG is a glorious beacon of lightBrandonG is a glorious beacon of lightBrandonG is a glorious beacon of light
Re: Problems connecting to Jaguars from cRIO

Thanks all, that solved it
__________________
www.roboteknix.com


Quote:
Originally Posted by A bum in Atlanta
if you was my sister I'd mug you
If anyone uses IRC, pm me and let me know what networks, I have never heard of anyone in FRC using IRC besides me O_o
Reply With Quote
  #7   Spotlight this post!  
Unread 16-02-2011, 15:53
KillerGardevoir KillerGardevoir is offline
Registered User
FRC #2865 (Roboteknix)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Post Falls
Posts: 10
KillerGardevoir is an unknown quantity at this point
Re: Problems connecting to Jaguars from cRIO

This seems like something that should be listed in the documentation somewhere, under a section like "Things you need to know about the RobotDrive Algorithms" or something to that extent.
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 17:53.

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