Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Robot Problems For Electronics (http://www.chiefdelphi.com/forums/showthread.php?t=105212)

nydnh01 29-03-2012 21:45

Robot Problems For Electronics
 
When our robot is deployed with code and enabled the jaguars are displaying the blinking lights. After 2.5 seconds the motors give a jerk and after the robot jerks the jaguars keep blinking. I have replaced the sidecar, the jaguars and the PWM Wires. This issue continues to persist even after we replaced these essential parts. Please help me resolve this issue.

Kevin Sevcik 29-03-2012 22:13

Re: Robot Problems For Electronics
 
Has this code ever worked? Are you getting any error messages on the diagnostic tab of the driver station? Are you getting watchdog errors?

Fletch1373 29-03-2012 22:52

Re: Robot Problems For Electronics
 
Sounds kinda like a Watchdog error to me. The lights blink while they aren't receiving a signal. For example if the cabling is loose/missing, or simply if the robot is disabled. Watchdog errors essentially disable the robot, and thus would cause that blink pattern.

What language did you program in? I suggest trying to debug the code directly on the robot. Java, Windriver, and LabView all have real-time debugging tools. At the very least, you can look at the Diagnostics tab of the driver station application for any Errors printed to the window

nydnh01 29-03-2012 23:17

Re: Robot Problems For Electronics
 
Quote:

Originally Posted by Kevin Sevcik (Post 1151380)
Has this code ever worked? Are you getting any error messages on the diagnostic tab of the driver station? Are you getting watchdog errors?

I have used this code on another robot and it seemed to work. I also do get watchdog timeout errors.

nydnh01 29-03-2012 23:18

Re: Robot Problems For Electronics
 
Quote:

Originally Posted by Fletch1373 (Post 1151406)
Sounds kinda like a Watchdog error to me. The lights blink while they aren't receiving a signal. For example if the cabling is loose/missing, or simply if the robot is disabled. Watchdog errors essentially disable the robot, and thus would cause that blink pattern.

What language did you program in? I suggest trying to debug the code directly on the robot. Java, Windriver, and LabView all have real-time debugging tools. At the very least, you can look at the Diagnostics tab of the driver station application for any Errors printed to the window

It is a watchdog error problem but I am not sure how to debug in NI Labview.

Alan Anderson 30-03-2012 00:06

Re: Robot Problems For Electronics
 
How many of the PWM outputs are you using?
While this is happening, what does the Robot Signal Light do?
Are all three of the power LEDs lit on the Digital Sidecar?

Kevin Sevcik 30-03-2012 08:53

Re: Robot Problems For Electronics
 
Quote:

Originally Posted by nydnh01 (Post 1151424)
It is a watchdog error problem but I am not sure how to debug in NI Labview.

You could post your code here on CD so someone else can look it over.

pfreivald 30-03-2012 08:58

Re: Robot Problems For Electronics
 
The fastest fix for that problem we have found is to disable all camera code. If that brings back the rest of your functionality, then you can work at adding it back in.

(This is of course a shot in the dark at the problem.)

Kevin Sevcik 30-03-2012 09:29

Re: Robot Problems For Electronics
 
Better suggestion. You're at an event with a lot of experienced teams and a CSA. Put out a pit announcement asking for programming help with a Labview Watchdog problem.


All times are GMT -5. The time now is 11:08.

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