Go to Post I don't really care that the best on Curie may or may not be better than Newton, since we're going to spend the rest of the offseason discussing it no matter how the decision fell. - Jessica Boucher [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-18-2011, 05:47 PM
JMillar's Avatar
JMillar JMillar is offline
Registered User
FRC #2172 (Streetleagle)
Team Role: Leadership
 
Join Date: Feb 2010
Rookie Year: 2007
Location: Lakewood, Ohio
Posts: 7
JMillar is an unknown quantity at this point
CAN Jaguar Help

We are using a black jag to serial connection, and that is working. We have updated all of the firmware on the jaguars, firmware 92, and have updated the firmware on the crio, to version 28 and have set it to use the black jaguar as the start of the CAN. Yet no matter how we have done we cannot get the motors to run. On the driver station we get the error 44087- in set transaction() in C:/windriver/workspace/WPILIB/CANJaguar.cpp, which we found to be dataBuffer[0] = reference. Anyone know what the problem is, or do you have any code for CAN that we could see? Thanks!

Here is a fraction of our code which we are using for the CAN Jaguars:
Code:
//We defined:

CANJaguar *jag;

//Then in OperatorControl, we had:

jag = new CANJaguar(3, CANJaguar::kSpeed);
jag->ConfigEncoderCodesPerRev(360);
jag->ConfigMaxOutputVoltage(6.0);
jag->ConfigNeutralMode(CANJaguar::kNeutralMode_Brake);
jag->SetSpeedReference(CANJaguar::kSpeedRef_None);
jag->EnableControl();

//And in the IsOperatorControl() loop, we have:

jag->Set(0.5);
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


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

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