Go to Post I urge them to build the kitbot and repeateadly smash it into a concrete wall in order to sate their anger. It will soon wane when they manage to do more damage to the wall than to the kitbot. That is honestly the reason that we ended up using the kitframe this year. - Andrew Blair [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

 
 
 
Thread Tools Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #11   Spotlight this post!  
Unread 18-12-2010, 23:27
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: CAN vs PWM

Quote:
Originally Posted by ratdude747 View Post
1. what all does the programmer need to know to convert the code written for pwm to CAN?
I'm a C++ programmer, so this may not be 100% accurate, but from my understanding of the LabVIEW API you just need to replace the references to the regular Jaguar VIs with CANJaguar VIs

Quote:
Originally Posted by ratdude747 View Post
2. is the cRIO FTP thing the same?
Nothing changes in the stuff to upload from C++ to LabVIEW

Side note: Your PDF may not have said this, but you need to make sure to undo the change to ni-rt.ini before attempting to re-image the cRIO. For some reason it fails if the CAN plugin is loaded.

Quote:
Originally Posted by ratdude747 View Post
the electrical and firmware thing i have down... I was made electrical subteam leader today and i read the pdf and my laptop is set to be a reflash device (you use the homemade serial dongle to do that, right?).

any other advice?
Yep, the serial dongle is all you need to reflash the jaguars.

Make sure you have plenty of extra cables. One broken cable will most likely take the entire network down. We have 2 or 3 spare jag-jag (2 wire) cables, and an extra jag-cRIO (6-wire) cable. We also found it useful to make a second serial dongle and keep the spare jag-cRIO cable with it so we don't have to dig the connection out of the robot if anything goes wrong (like last year's device number reset bug). A spare termination resistor is also a good idea.

Also, be extra careful about disconnecting power to jaguars. Even though the bus can still travel through an unpowered jaguar, C++ had a (hopefully fixed) bug that would cause glitches if it didn't receive responses from a jaguar. Not sure if LV had that same bug.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote
 


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
R63 and mixed CAN-PWM designs Shinigami2057 Electrical 2 18-01-2010 10:51
PWM cables... Where can i buy them??? M. Gildner Electrical 10 11-02-2009 12:31
Can one PWM control 2 Victors for Tandem Motors ericsundbergva Control System 1 18-02-2008 04:55
Can we shorten the PWM cables? RAWdealer59 Electrical 3 18-02-2003 15:49


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

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