View Single Post
  #1   Spotlight this post!  
Unread 22-02-2012, 17:03
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,560
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
CAN periodic status

Is anyone using the periodic status feature of the jaguars? It looks like it's in the LabVIEW library and BDC-COMM, but not in C++ or Java. I also didn't see it in the jaguar CAN documentation (although I may have missed it).

When I use it, I get the requested status, but I also get the following error reported to the driver's station
Quote:
>> ERROR <Code> -44086 occurred at Did not receive the appropriate number of bytes from the Jaguar.WPI_CANJaguar_GetStatus.vi:1<http://jaguar.wpi_canjaguar_getstatus.vi:1/>Periodic Tasks.vi>>Robot Main.vi <time>18:11:34 02/18/2012 FRC: JaguarCANDriver detected insufficient buffer size.
Diving into the WPI_CANJaguar_GetStatus, it appears that it is only sometimes is receiving the status, and when it doesn't it throws that error.

I set it up with a rate of 0.1 seconds and read it in a 100ms loop in periodic tasks (see attached pictures). Is anyone else using it?
Attached Thumbnails
Click image for larger version

Name:	periodic_status_begin.png
Views:	34
Size:	3.9 KB
ID:	12053  Click image for larger version

Name:	Read_status.png
Views:	28
Size:	33.8 KB
ID:	12054  

Last edited by Joe Ross : 22-02-2012 at 17:08.
Reply With Quote