Go to Post It shows more than anything, that there are students out there that want to learn, to do better, to improve their own lives and those around them. Thankfully, FIRST is there to help them realize some of their goals. - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 10 votes, 5.00 average. Display Modes
  #46   Spotlight this post!  
Unread 28-06-2009, 18:31
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 155
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: pic: cRIO CAN Jag

NItro had the same three motor controllers on it last year at NIWeek (first week of Aug 2008). Only back then, the plastics weren't on it. The CAN control was functional back then.

A couple of other clarifications.
1. The left-most CAN jack of the bottom Jaguar is indeed for termination. A 120 ohm resistor is crimped across the inner two contacts.
2. The CAN jack is nor RJ45, it is a 6 position 4 conductor jack (6P4C).
3. When replacing a Jaguar, an address does need to be assigned to it. This is a trivial process and can be done in seconds.
Reply With Quote
  #47   Spotlight this post!  
Unread 28-06-2009, 18:39
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 155
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: pic: cRIO CAN Jag

Quote:
Originally Posted by Jon236 View Post
Has anyone ordered the Design Kit?
Why would one order an RDK?

I don't think there is any need to order the RDK since it is intended for people/companies who want to use Jaguar as a basis of their own design. Any interesting component that is included in the RDK can be downloaded from the web site, purchased as an individual component, or made (the CAN cable).
Reply With Quote
  #48   Spotlight this post!  
Unread 28-06-2009, 18:49
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 155
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: pic: cRIO CAN Jag

Quote:
Originally Posted by Jon236 View Post
From my rudimentary knowledge of CAN bus topology, I believe the Jags can be arranged in a ring, thus providing some connection redundancy. The Luminary folks at Championship thought this could be done as well.
This can be done. However, the termination resistor will have to be placed elsewhere in the circuit.
Reply With Quote
  #49   Spotlight this post!  
Unread 28-06-2009, 18:58
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,500
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: pic: cRIO CAN Jag

Quote:
Originally Posted by s1900ahon View Post
3. When replacing a Jaguar, an address does need to be assigned to it. This is a trivial process and can be done in seconds.
Done in seconds with what? And will what we use work for another team's Jaguars?
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
Reply With Quote
  #50   Spotlight this post!  
Unread 28-06-2009, 21:26
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: pic: cRIO CAN Jag

Quote:
Originally Posted by Billfred View Post
Done in seconds with what? And will what we use work for another team's Jaguars?
You somehow initialize the re-addressing part of jags program (it will have to be part of your program on Crio) then you press the user button on the jags, first one will be addr 1, and so on

yes it will work on other teams, but you will have to re address all of them (as far as i know)
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!

Last edited by biojae : 28-06-2009 at 21:40.
Reply With Quote
  #51   Spotlight this post!  
Unread 29-06-2009, 02:22
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 155
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: pic: cRIO CAN Jag

Quote:
Originally Posted by biojae View Post
You somehow initialize the re-addressing part of jags program (it will have to be part of your program on Crio) then you press the user button on the jags, first one will be addr 1, and so on
Since they come from the factory as '1' it would be recommended to start with 2 and avoid 1. You are correct that the assignment sequence originates as part of some cRIO programming. Since the address is stored in non-volatile memory on the Jaguar, this needs to happen just once, but it can be changed if needed.

Quote:
yes it will work on other teams, but you will have to re address all of them (as far as i know)
You only need to change the id if a Jaguar is moved to serve a different purpose for which the id is different.
Reply With Quote
  #52   Spotlight this post!  
Unread 29-06-2009, 11:10
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: pic: cRIO CAN Jag

Scott,

I was interested in ordering the RDK in order to find out how to address the Jag's firmware. I'm sure we would be interested in your experience with this system.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
Reply With Quote
  #53   Spotlight this post!  
Unread 29-06-2009, 12:34
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,360
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: pic: cRIO CAN Jag

You can register and then download the jag software. In there you'll see abilities that the can bus can provide. The NI and WPI interface on the CRIO has not been released as far as I know.
Reply With Quote
  #54   Spotlight this post!  
Unread 29-06-2009, 13:11
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 155
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: pic: cRIO CAN Jag

Quote:
Originally Posted by Jon236 View Post
I was interested in ordering the RDK in order to find out how to address the Jag's firmware. I'm sure we would be interested in your experience with this system.
What do you mean 'address'? Update? Modify? Understand?

As Gdeaver points out, you should grab the materials included with the RDK. The same documents are downloadable from the Luminary Micro (now TI) web site. These will likely go a long way in addressing your questions.
(see http://www.luminarymicro.com/products/rdk_bdc.html).

FYI, the RDK comes with the following components...
1. A modified Jaguar. The only modification from the stock FIRST units is that the JTAG header is populated. This allows for firmware download and debug. Firmware download can also be done over CAN but debug cannot be done over CAN.
2. An interface board for debug (MDL-ADA2). This converts the small connector on Jaguar with the evaluation board (which also serves as a USB-to-JTAG interface).
3. A LM3S2965 eval board with preloaded CAN console software.
4. A small motor.
5. A small power supply is included.
6. A CD with firmware, schematics, BOM, gerbers, CAN console application, etc.
7. LM3S2965 to Jaguar CAN cable.
8. A cable that connects the LM3S2965 board and MDL-ADA2 board.

So, if you really wanted to do your own enhancements to Jaguar (say as a senior project for a EE degree - but not for FIRST legal use) you could:
a. Download the CD documents.
b. Use a stock Jaguar and solder in the header (the part number is documented in the BOM from (a) ).
c. Purchase #2 and #3.
d. Make your own #7.
Reply With Quote
  #55   Spotlight this post!  
Unread 29-06-2009, 20:11
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: pic: cRIO CAN Jag

It looks so... PRETTY!!!!
No more PWM cables to create spaghetti.
No more PWM cables to get caught in sprockets.
No more $5 PWM cables.
No more too short $5 PWM cables.
No more too long $5 PWM cables.
No more PWM cables to make me cuss.
No more PWM cables to just come unplugged because they want to.
No more PWM cables that decide to unplug to get stuck on the 40A connections feeding the power to accelerate our robots from 0-10FPS in 1.0s flat.
No more PWM cables!!! Muaahahah!!!

Oh, but I guess a lot of the same problems exist for CAN.

It will be a good year when this happens. This is how the real world PLC systems operate, so it's good to learn.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #56   Spotlight this post!  
Unread 29-06-2009, 23:13
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: pic: cRIO CAN Jag

Quote:
Originally Posted by biojae View Post
My first test of the CAN bus will be to make a CIM servo, with PID and a tough box
Quote:
Originally Posted by s1900ahon View Post
So, if you really wanted to do your own enhancements to Jaguar (say as a senior project for a EE degree - but not for FIRST legal use) you could:
Funny you mention an EE senior project...

For my EE senior design project, me and my group constructed a master-slave robotic arm system. The big slave arm mimicked everything the small master arm did. We used Jaguars for the motor controllers, utilizing their CAN capabilities and built in position handling.

Here is a link to several pictures and a few videos of our project (Robby was one of my group members):

http://www.robbymorrill.com/464.htm

The pictures that pertain to this thread (several pictures down the page) are not too good at showing the CAN cables. The CAN cables are zip-tied to PWM style cables that we used to connect analog encoders to the Analog ports on the Jaguars. They were very easy and cheap to make. We bought 4 conductor phone cable, 4C6P phone jacks, and a cheap crimper from Fry's, and they worked perfectly.

Here is a basic outline of our project:
  1. Small master arm uses 10-turn potentiometers to measure joint angles.
  2. Custom PCB using LM3S5747 (control board) measures the pots, performs necessary calculations, and sends position data to the Jaguars through CAN bus. It also controls the gripper servo.
  3. Jaguars connected to control board through the can bus; daisy chained.
  4. Analog absolute encoders (MA3 encoders from US Digital) connected to Jaguar's analog port (by way of a voltage divider to step 5V down to 3V for the Jag).
  5. Jaguars hold position using the encoder feedback and the desired position based on the PID (Proportional - Integral - Differential) constants. (the PID constants were set by the control board via CAN)
  6. 4 Globe motors and Fischer Price motor connected to 5 Jags and one VEXplorer gripper (ran out of time for our custom designed gripper).
The first video doesn't show much arm movement except for the wrist, but you can kind of see the arm move close to the end. At that point we were working on tuning our PID constants. That was probably the last time we had the arm working really well with PI (no D). While working on D we began to see a lot of nasty oscillations in the shoulder joint. This joint used to be an RS545 motor with a Banebots 256:1 P60 gearbox. Despite Banebots hardening the shaft and the sun gear, it still deformed, creating a lot of play in the gearbox. The PID oscillations and the play in the gearbox lead to the motor eventually smoking an hour before the senior design competition! We replaced it with a Fischer Price motor (thanks 2158!) and only turned on P. Every video after that shows only P (still pretty good I might say).

We won first place in the University of Texas EE Senior Design Competition!

There were many difficult parts to the project; designing a robotic arm from scratch in Solidworks, designing a PCB, etc. Jaguar made it possible to focus on other things because the position handling was pretty much taken care of for us. We used one RDK-BDC (Reference Design Kit) to get started talking to the Jags with CAN, but all the rest were regular MDL-BDCs like we got in the kit this year. Setting the ID was very simple: send out an ID set message from the control board, press the user button on the Jag that you want to set as that ID number, presto, the ID is updated.

I'll try and get some better pictures of the Jags and the CAN cables if people are interested.

Thanks for letting me show off my project

Let me know if you have questions,
David
Reply With Quote
  #57   Spotlight this post!  
Unread 03-07-2009, 20:20
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: pic: cRIO CAN Jag

i just noticed in the picture that there is a split cord at the base of the cRio, one side goes to the jags and the other goes to an enclosure, is that another termination resistor?
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
Reply With Quote
  #58   Spotlight this post!  
Unread 03-07-2009, 23:18
dmcguire3006 dmcguire3006 is offline
Registered User
FRC #3006 (West High FIRST Robotics)
Team Role: Teacher
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Salt Lake City, UT
Posts: 21
dmcguire3006 is on a distinguished road
Re: pic: cRIO CAN Jag

The CAN connectors are RJ11's, not RJ45's. RJ11's are the same as used in wired telephones. They have 4 pins. The above comments still apply however.

See: http://www.evalkits.com/files/BDC_Datasheet.pdf page 8
Reply With Quote
  #59   Spotlight this post!  
Unread 04-07-2009, 10:55
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,112
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: pic: cRIO CAN Jag

Quote:
Originally Posted by biojae View Post
i just noticed in the picture that there is a split cord at the base of the cRio, one side goes to the jags and the other goes to an enclosure, is that another termination resistor?
Good eye. The NI catalog describes an accessory for the cRIO CAN module that is exactly that, a cable assembly which includes a termination resistor.
Reply With Quote
  #60   Spotlight this post!  
Unread 04-07-2009, 15:12
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: pic: cRIO CAN Jag

Quote:
Originally Posted by Alan Anderson View Post
Good eye. The NI catalog describes an accessory for the cRIO CAN module that is exactly that, a cable assembly which includes a termination resistor.
It looks like it could be made easily, how much does NI sell it for? (We will probably get one in the kit though)

Also what module # is in the cRIO?
I know that the jags can do 1mb per second comms, and there is a 1mb module but there is the possibility of us having the slower comms, (Though i don't believe that we will ever need to have that much data throughput)
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed attempt to explain JAG linearity vamfun Technical Discussion 66 05-06-2009 13:13
2009 Camera and Jag inventor models problem Creator Mat CAD 5 08-03-2009 14:05
1 Jag and 1 Victor not responding correctly. elbuo NI LabVIEW 4 17-02-2009 22:57
How can you add more rom space to the cRIO? Comatose FRC Control System 8 05-02-2009 21:16


All times are GMT -5. The time now is 00:30.

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