Go to Post Right, play to win. Play to win the event or play to win one match? This year, unfortunately, they are not the same thing. - Paul Copioli [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 Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 02-10-2010, 01:05
sam_who sam_who is offline
Registered User
FRC #2190
 
Join Date: Oct 2010
Location: Mississippi
Posts: 42
sam_who is an unknown quantity at this point
Jaguars and 2CAN

I'm trying to run a black jaguar with a 2CAN. I'm having only limited success. The jag works fine when in voltage mode ... not so well in speed mode. When I command the motor to move (in speed mode), I get a tiny bit of movement from the motor then nothing. Adjusting the PID values does not appear to make a difference. The driver station software states that I am enabling the jag. The LED on the jag is on steady (not pulsing). This behavior is consistent across several black jags. None are damaged. Switching back to voltage shows me that the jag works just fine.

Using BDC-COMM (yeah, non-CAN), the jag runs in either voltage or speed mode. I do have an encoder connected. I do have a terminating resistor at the end of the CAN chain. The results are similar whether I use a single jag or several jags. I can point my browser to the 2CAN ip address and view the status of all jags on the CAN bus. I updated the firmware on my jags to version 91 (yes, I used the black jag firmware version).

I'm wondering if I'm missing a hardware connection or (most probably) it's simply a programming issue. I'm programming in C++.

I have searched through these forums but have not found an answer that works.

The code I'm using now is pretty much a clone of the code at,

http://firstforge.wpi.edu/integratio...ystem=exsy1002

If anyone out there has successfully used C++ to operate a black jag in speed mode, could you please itemize the steps necessary to accomplish the task. The more specific the reply, the better.

One last unrelated thing. I've obviously figured out how to reply to a forum post. How to you start a new thread?

Thanks

Sam
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
HELP!!! Don't know where to start! comwiz7 Programming 3 29-01-2006 19:22
can anyone please tell mw where or with what can i lear programing in C techsage Programming 7 23-08-2005 00:25
Where does the line start? Morgoth General Forum 1 19-03-2003 20:44
Where to start? MacZealot General Forum 4 12-10-2002 03:27


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

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