![]() |
Random Signal
Hey CD,
When I enable our robot, every 15-20seconds or so (its random), our Drive motor controllers (victors) receive a signal and the robot makes a click noise (from the motor getting that tiny signal). Sometimes it happens when I slow down our shooter and bring it to a stop and for some reason the drive motors get a signal. I've looked through the code many times and there is nothing controlling PWM 1 and 2 where are drive controllers are connected to but Teleop.vi where the default arcade drive is. Any idea why these victors would detect some itsy signal every now and then? I put a probe while running it labview on the joystick axis values and even sometimes when its 0, it'll still do a jerk without actually moving the robot from its place. Any help appreciated! |
Re: Random Signal
Can you describe what exactly this signal is? (i.e. how do the Victors respond, what color does the LED turn)
I assume you've checked your DB37 for proper assembly, but if not, check that immediately. Make sure to check for shorts - is your cRIO (and camera, if you have one) electrically isolated from the frame? |
Re: Random Signal
^ yes, everything is electrically isolated from the frame. I checked this a few times and also did the ground test on the robot frame (in as segments as I could).
Also regarding the DB37 cable, we decided to use the round one from previous years. I don't remember the exact patter the LED signal gives since I won't have access to the bot til tomorrow, but from what I do remember, the blink pattern changes to exactly how it would be if I was to actually drive the robot with the joystick. |
Re: Random Signal
Quote:
Quote:
|
Re: Random Signal
Are there any errors reported in the diagnostics tab of the driver station?
|
Re: Random Signal
Thanks to everyone who has responded. I will try the new DB37 cable tomorrow and check if the problem persists (already fixed the cable).
@Joe Ross, the only error we are receiving in the DS is the -44061 re: the loop containing robotdrive not running fast enough/being starved |
Re: Random Signal
Quote:
|
Re: Random Signal
Quote:
Could it be that the lag gives it that quick little signal? I'm also thinking it could be the default camera Vision code. I'll try disabling vision tomorrow and see if the error goes away. If it does, does anyone think it would be worth disabling the vision loop overall, except when I deliberately want to use it (ie. case structure w/ joystick button; it's being used for auto-alignment w/ hoop)? |
Re: Random Signal
Quote:
|
Re: Random Signal
First off, are you using PWM?
If so, our team had a similar issue where, when enabled and recieving no signal from the joystick, it will randomly move the motors a little bit. It looks like the robot is twitching. If this is what is happening to you, go into your code and make sure there are no slots on the Digital Sidecar that are not hooked up (e.g. if you are trying to send values to PWM 7, which has nothing plugged into it.) When you get an active pin with no wire, it builds up a small charge on the Digital Sidecar, which then randomly discharges, and is interpreted by the motor controller as a very small signal. |
| All times are GMT -5. The time now is 11:13. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi