Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   CAN bus Jaguar intermittent errors (http://www.chiefdelphi.com/forums/showthread.php?t=81306)

bear1511 27-01-2010 21:56

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?

Bochek 27-01-2010 22:49

Re: CAN bus Jaguar intermittent errors
 
The answer is simple, add a wait (0.05) after you set your motor speeds.


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

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi