|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Robot doesn't drive when code is deployed.
We are 1st time programmers and have no mentors that know how to program. We were able to format the cRIO and upload the default code to the robot. The only changes we made were that we changed to mechanum wheels, and we switched the jaguars to talons. We received this error message. I don't not really know a lot about labview, but I have been reading beginners guides, and watching tutorials. If it is not a easy problem to explain just pm me and I would be happy to talk through skype or email.
Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-GOOD, FMS-bad Driver Station <time>1/23/2014 7:04:14 PM<unique#>9 FRC: Driver Station ping status has changed. Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-GOOD, FMS-bad Driver Station <time>1/23/2014 7:03:36 PM<unique#>8 FRC: Driver Station ping status has changed. Watchdog Expiration: System 5, User 1 ERROR <Code> -44009 occurred at Driver Station <time>1/23/2014 7:02:03 PM<unique#>7 FRC: A joystick was disconnected while the robot was enabled. Watchdog Expiration: System 4, User 1 ERROR <Code> -44009 occurred at Driver Station <time>1/23/2014 7:01:50 PM<unique#>6 FRC: A joystick was disconnected while the robot was enabled. Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-GOOD, FMS-bad Driver Station <time>1/23/2014 7:00:18 PM<unique#>5 FRC: Driver Station ping status has changed. Watchdog Expiration: System 3, User 1 WARNING <Code> 44008 occurred at FRC_NetworkCommunications <radioLostEvents> 1574.395 <radioSeenEvents> FRC: Robot radio detection times. WARNING <Code> 44007 occurred at FRC_NetworkCommunications <secondsSinceReboot> 1572.132 Warning <Code> 44001 occurred at Modified Network Configuration: Set FRC: Time since robot boot. Driver Station <time>1/23/2014 6:59:56 PM<unique#>4 Warning <Code> 44002 occurred at Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-bad, FMS-bad Driver Station <time>1/23/2014 6:59:55 PM<unique#>3 FRC: Driver Station ping status has changed. Warning <Code> 44004 occurred at Driver Station <time>1/23/2014 6:59:53 PM<unique#>2 FRC: The Driver Station has lost communication with the robot. Warning <Code> 44006 occurred at Driver Station <time>1/23/2014 6:59:52 PM<unique#>1 FRC: Custom I/O is not enabled or is not connected to the driver station. |
|
#2
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
Those messages probably mean that something in your code is causing it to crash or hang. Or, you possibly don't have any communications with the robot at all. What does your Driver Station look like? Which lights are green and which are red? (Check the Diagnostics tab too.)
|
|
#3
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
All of them were green in both the diagnostics and in the operations tab. I figured the default code would allow is to drive somewhat to make sure it is all working. I can say that we were directly connected to the robot and not using the router. Any suggestions on what is going wrong? In the upper part of the drive station we can see that it is reading our joystick and our buttons, but we are not getting any response from the robot its self.
|
|
#4
|
|||
|
|||
|
Re: Robot doesn't drive when code is deployed.
Those messages tell you that over about four minutes, you launched the DS without a Cypress I/O board. You connected to a robot that was booted about 25 minutes prior. You enabled the robot and presumably because it wouldn't drive, you disconnected joysticks a few times.
My suspicion is that the code was running fine but you have an electrical issue. What do the motor controller LEDs show, what do the LEDs on the digital breakout look like? Greg McKaskle |
|
#5
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
Our talons flash yellow the whole time and everything else flashes green.
|
|
#6
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
Quote:
Power to digital sidecar plugged in?? If it's not too hard, please post a picture of your wiring. |
|
#7
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
I will be able to post pictures tomorrow. I appreciate the help and I hope we can figure this out! Thanks again. Team 4073
|
|
#8
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
Quote:
![]() |
|
#9
|
|||||
|
|||||
|
Re: Robot doesn't drive when code is deployed.
Quote:
If the three power LEDs on the Digital Sidecar are not all brightly lit, the problem is probably simple and trivially fixed: you don't have battery voltage going from the Power Distribution Board to the Digital Sidecar's power input. |
|
#10
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
Something that our team ran into during the offseason was that code would appear to deploy fine but not run if the actual source file isn't in the correct folder that is being deployed or the "main project". I'm not sure if this is the entire solution to your problem, so yoyo should still check all of the electrical wiring etc. Could you copy and paste the code so we can look at it?
|
|
#11
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
Some updates. We tried reversing all of our pwm's and that didnt help I needed to correct that only the talon's flash orange and the other green lights are constant. I will also include some pictures in this post. *The pictures were too big to post so I put them in a album that you can view in this link.
http://imgur.com/a/e9Wy1 |
|
#12
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
Our team is having the same issue - we have not figured it out yet - the only difference is that we do not get anything in the DS in response to moving the joysticks.
|
|
#13
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
best bet would be to take pictures of your wiring and post your code either here or link on github(or similar)
|
|
#14
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
We actually found our issue! The modules on the cRIO were opposite what they needed to be so when we put them in the right order we were able to get a response.
|
|
#15
|
||||
|
||||
|
Re: Robot doesn't drive when code is deployed.
Great!!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|