Go to Post I'm a programmer by training and inclination, so my mechanical ideas are sometimes rather, um, loosely constrained by physical reality. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-01-2010, 21:56
bear1511 bear1511 is offline
Registered User
AKA: John Hall
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Nov 2008
Rookie Year: 2008
Location: Rochester, New York
Posts: 6
bear1511 is an unknown quantity at this point
CAN bus Jaguar intermittent errors

Our robot's drivetrain uses four CIM motors, one for each wheel, each controlled by a Jaguar controller. The first is a new black Jaguar, connected to the cRIO serial port. The rest are tan Jaguars daisy-chained from the black one. The last one has a resistive terminator as described in the doc.

When we run the robot, the wheels turn as expected except with a severe jerkiness, as though the power were cutting in and out.

The following error appears in the log numerous times"
<Code>-52007 ERROR:status = -52007 (0xFFF34D9) in sendMessage() in C:/windriver/workspace/thunderbot2010/canjaguar.CANJaguar.cpp at line 175
NI Platform Services: The requested operation did not complete in time.
Examining CANJaguar.cpp shows an assertion is failing because a call is returning 0xFFF34D9 when zero was expected.

We're stumped. Can anyone provide some wisdom about what's going on here, or suggestions for how we should proceed to investigate and debug this?
  #2   Spotlight this post!  
Unread 27-01-2010, 22:49
Bochek's Avatar
Bochek Bochek is offline
Registered User
AKA: Adam Bochek
FRC #2200 (MMRambotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Burlington, Ontario, Canada
Posts: 577
Bochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud of
Re: CAN bus Jaguar intermittent errors

The answer is simple, add a wait (0.05) after you set your motor speeds.
__________________
-----------------------------------------------
Adam Bochek - FRC 2200
http://www.mmrambotics.com
http://www.watchfirstnow.com
Closed Thread


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
CAN Jaguar Synchronous Updates?? Bryscus Programming 3 30-01-2010 16:13
Getting started with CAN/Jaguar CVassos Programming 1 27-01-2010 23:43
Black Jaguar RS232->CAN - anyone? oddjob C/C++ 12 22-01-2010 16:25
New Jaguars on CAN bus ellisk C/C++ 4 21-01-2010 09:53
Can I control a victor/jaguar with an RC receiver Bruceb Electrical 3 30-12-2008 10:50


All times are GMT -5. The time now is 10:06.

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