Go to Post i just want to say how awesome the high volume tank is. The high volume tank is 7/4 as awesome as the previous tanks. - Tytus Gerrish [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-17-2010, 02:49 PM
mattbutts mattbutts is offline
Registered User
FRC #1741 (Red Alert)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Greenwood, IN
Posts: 4
mattbutts is an unknown quantity at this point
Potential Issue with the C++ CANJaguar Implementation

I have our Jaguars all running in CAN communication mode and the ones that are being controlled in voltage control are working great.

However, when I try to control a Jaguar in position control, I am getting garbage back from the encoder. I verified that everything was setup correctly by testing it with the BDC-COM utility. I can see the encoder perfectly there, and I can tune the controller and it works great.

We have a display for the encoder position on the driver station, and if I watch the value here it jumps around erratically (3 -> 8 -> 11 -> 65535 etc.). This makes me think it has something to do with the way the code is unpacking the data from the CAN messages, but I am not familiar enough with the messages to know that this is the case.

I guess my real question is: Has anyone else been able to get meaningful data back from a CANJaguar, and if so, did you have to do anything special? I really need to be able to get the position reliably.

Thanks,
Matt
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
Weird issue with the power distribution block X-Istence Electrical 17 03-08-2009 06:32 PM
[FTC]: [FTC]: RobotC Template Problem (causing an FMS issue) and Potential Servo Prob PackersFan FIRST Tech Challenge 11 01-26-2009 09:25 PM
An Issue with downloading the Master Code. Neil [Coconuts] Programming 6 02-07-2008 02:03 PM
Issue with downloading code to the 2007 RC thefro526 Programming 3 02-10-2007 05:26 PM
Potential Problem with "fighting over the goal" Kyle Fenton General Forum 4 02-17-2002 10:21 AM


All times are GMT -5. The time now is 03:57 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