Go to Post There is no rule that specifically states that you must obey the law of physics during the competition. This may be an oversight. - bmather [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2013, 16:16
Team 4457 Team 4457 is offline
Registered User
FRC #4457
 
Join Date: Jan 2013
Location: Portland Or.
Posts: 16
Team 4457 is an unknown quantity at this point
Parts of robot failing?

Hello, we are really scrambling to meat the bag date with a completed robot. right no our current problem is that the code we have written seems completely fine, but when it is run on the robot, certain parts don't work. When deployed from a different computer, we got a different set of parts to move, but is the exact same code. Any suggestions?
__________________
~There are always choices, some are just harder to make than others.~
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2013, 16:29
jds2001 jds2001 is offline
Registered User
AKA: Jon Stanley
FRC #4263 (CyberDrgaon)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2013
Location: United States
Posts: 160
jds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud of
Re: Parts of robot failing?

Generally, I'd say that you have electrical problems, not programming ones. Are all the connections from the digital sidecar to the various components secure? 99% of the time, these problems are electrical.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2013, 16:46
Team 4457 Team 4457 is offline
Registered User
FRC #4457
 
Join Date: Jan 2013
Location: Portland Or.
Posts: 16
Team 4457 is an unknown quantity at this point
Re: Parts of robot failing?

Well, i am a programer, and i was told that everything is wired correctly.
__________________
~There are always choices, some are just harder to make than others.~
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2013, 17:18
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: Parts of robot failing?

Quote:
Originally Posted by Team 4457 View Post
Well, i am a programer, and i was told that everything is wired correctly.
Which has nothing to do with whether it actually is wired correctly.
__________________
All opinions are my own.
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2013, 18:00
Team 4457 Team 4457 is offline
Registered User
FRC #4457
 
Join Date: Jan 2013
Location: Portland Or.
Posts: 16
Team 4457 is an unknown quantity at this point
Re: Parts of robot failing?

We just ran a test and only on side of the drive train was working (switching the PWM cables made neither work), two of our servo's work, but the third doesn't and it seems as if its code is being set to one of the servos that is working, as that servo tries to complete the action of the one that doesn't work.
__________________
~There are always choices, some are just harder to make than others.~
Reply With Quote
  #6   Spotlight this post!  
Unread 16-02-2013, 18:30
Djur's Avatar
Djur Djur is offline
WPILib
AKA: Sam Carlberg
no team
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Massachusetts
Posts: 182
Djur will become famous soon enough
Re: Parts of robot failing?

If it's a code problem, you should be able to control everything from the LiveWindow (enable your robot in test mode with the SmartDashboard open). If that doesn't work then you have electrical issues or problems with your components.
__________________
WPILib dev (RobotBuilder, SmartDashboard, GRIP)
Reply With Quote
  #7   Spotlight this post!  
Unread 16-02-2013, 20:04
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: Parts of robot failing?

Quote:
Originally Posted by Team 4457 View Post
We just ran a test and only on side of the drive train was working (switching the PWM cables made neither work).
Sounds like a wiring fault to me.
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
Reply With Quote
  #8   Spotlight this post!  
Unread 16-02-2013, 22:07
Team 4457 Team 4457 is offline
Registered User
FRC #4457
 
Join Date: Jan 2013
Location: Portland Or.
Posts: 16
Team 4457 is an unknown quantity at this point
Re: Parts of robot failing?

Ok, so we reviewed the code and this is the result.

Working: One side of drive train; launcher; loader (one direction).
Not working: other side of drive train (runs in very short bursts, few and far between.); reverse on loader (sends to one of the two launcher motors, also in the short bursts).

Again, there are no visible problems with the wiring or code. We contacted our mentor team, but got no response. Thank you all for your help, and any possible solutions are welcome.
__________________
~There are always choices, some are just harder to make than others.~
Reply With Quote
  #9   Spotlight this post!  
Unread 16-02-2013, 23:06
lorem3k's Avatar
lorem3k lorem3k is offline
1 + 1 = 0 (in Z/2Z)
AKA: Andy D.
FRC #1482 (Bishop Grandin Ghosts)
Team Role: Alumni
 
Join Date: Apr 2012
Rookie Year: 2011
Location: Calgary, AB
Posts: 165
lorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to beholdlorem3k is a splendid one to behold
Re: Parts of robot failing?

Check the diagnostics tab on the Driver Station, and copy and paste the Messages field here.
__________________
Boo! Bishop Grandin High School / GM Canada / Tenaris
2013 Western Canada - Quarterfinalists (thanks 288/4719) / 2012 GTR West - Quarterfinalists (thanks 188/1075) / 2011 GTR East - Regional Winners (thanks 1114/1503)
Reply With Quote
  #10   Spotlight this post!  
Unread 16-02-2013, 23:12
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,562
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Parts of robot failing?

First, are you using Labview, Java, or C++? Second, why don't you upload your code here for someone to look over?
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #11   Spotlight this post!  
Unread 17-02-2013, 02:26
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Parts of robot failing?

Quote:
Originally Posted by Team 4457 View Post
Again, there are no visible problems with the wiring or code.
If you don't know what the correct wiring is supposed to be, you'll never know that it's wrong unless you show it to someone who does know.

Here, the sporadic PWM outputs suggests to me that your Digital Sidecar might not be getting 12 volts from the Power Distribution Board. What do the three power LEDs on the sidecar look like -- are they all brightly lit, or is the BAT one dark? What pattern is the Robot Signal Light flashing when you enable the robot?
Reply With Quote
  #12   Spotlight this post!  
Unread 17-02-2013, 10:33
eedoga's Avatar
eedoga eedoga is offline
Registered User
FRC #2980
 
Join Date: Jan 2011
Location: Oak Harbot
Posts: 216
eedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud ofeedoga has much to be proud of
Re: Parts of robot failing?

Hey Alan,

I know you are feeling the pressure of only having two days left and having everything seem to fall apart...Been there myself as have most people here.

Electrical Engineers love to blame programmers for their problems. :-) To be honest you probably have a bit of both an electrical problem and a code problem.

Here is what I would suggest you do.

1) Change your battery for a freshly charged one. (You would be surprised how often magical problems go away when you do this.)

2) Go over your wiring really carefully. It is a rats nest in there and sometimes wires are connected to the wrong things by accident and "look" just fine.

3) Electronically go through system by system. So for example, pull all the PWM cables except for your drive motors. Then test your program for driving. Check that you have everything set right, and get that working first.

Also using a volt meter to see that you are actually getting voltage everywhere you expect it is probably a good thing.

Then slowly add back each subsystem doing the same thing.

4) Post all of your available information. Close up pictures of your wiring. Upload your program...Everything so that all the other teams you are asking for help can actually help you. Probably do step 4 first.

I wish you and your team the best of luck with this one. Remember...Even if you have to bag a non functioning robot there are plenty of teams that will help you at the competition. Teams have shown up with nothing but their kit of parts and left with a robot before...At the competition everyone wants to see your robot make it onto the field.

Good luck.

Edoga
Reply With Quote
  #13   Spotlight this post!  
Unread 18-02-2013, 16:01
Team 4457 Team 4457 is offline
Registered User
FRC #4457
 
Join Date: Jan 2013
Location: Portland Or.
Posts: 16
Team 4457 is an unknown quantity at this point
Re: Parts of robot failing?

Ok, the program is attached, anyone that wants to review it/ make nessisary changes, you are welcome to. Ill work on getting that driver station error message and some pictures of the wiring. Ill also ask the engineers to run over there wiring with a fine tooth comb. thank you all very much for your help. By the way, we are using LabView.
Attached Files
File Type: zip 4457 FRC Robo Project.zip.zip (3.49 MB, 12 views)
__________________
~There are always choices, some are just harder to make than others.~

Last edited by Team 4457 : 18-02-2013 at 17:53.
Reply With Quote
  #14   Spotlight this post!  
Unread 18-02-2013, 17:18
Team 4457 Team 4457 is offline
Registered User
FRC #4457
 
Join Date: Jan 2013
Location: Portland Or.
Posts: 16
Team 4457 is an unknown quantity at this point
Re: Parts of robot failing?

Here are the photos.

https://picasaweb.google.com/1097691...P-po2z67KNzQE#
__________________
~There are always choices, some are just harder to make than others.~
Reply With Quote
  #15   Spotlight this post!  
Unread 19-02-2013, 19:46
Team 4457 Team 4457 is offline
Registered User
FRC #4457
 
Join Date: Jan 2013
Location: Portland Or.
Posts: 16
Team 4457 is an unknown quantity at this point
Re: Parts of robot failing?

Ok, so we tested the robot again with a revised code.The right side of the robot dident run at all, and the pusher motor ran forward in those jumpy intervals as described before. Everything else ran fine. I have attached the revised code, and I will include the error message from the driver station. Thank you all for your help.

Watchdog Expiration: System 10, User 1
Watchdog Expiration: System 9, User 1
ERROR <Code> -44003 occurred at WPI_CameraIssue HTTP Request with Authentication.vi>>WPI_CameraIssue Get.vi>>WPI_CameraGet Image Appearance Property.vi>>WPI_CameraGet Color Enable.vi>>WPI_Camera Registry.vi>>WPI_CameraOpen.vi>>Begin.vi>>Robot Main.vi
<time>00:11:23 01/01/1970
FRC: Operation failed due to a communication failure with the camera.
ERROR <Code> -44003 occurred at WPI_CameraIssue HTTP Request with Authentication.vi>>WPI_CameraIssue Get.vi>>WPI_CameraSet Image Appearance Property.vi>>WPI_CameraSet Enum Appearance Property.vi>>WPI_CameraSet Image Size.vi>>Begin.vi>>Robot Main.vi
<time>00:01:57 01/01/1970ERROR <Code> -44036 occurred at WPI_PWMSetValue.vi>>WPI_MotorControlSetOutput.vi:5 >>Periodic Tasks.vi>>Robot Main.vi
<time>00:08:19 01/01/1970
FRC: Operation failed due to a communication failure with the camera.
Watchdog Expiration: System 8, User 0
Watchdog Expiration: System 7, User 0
Watchdog Expiration: System 5, User 0
Watchdog Expiration: System 3, User 0
Watchdog Expiration: System 2, User 0
ERROR <Code> -44003 occurred at WPI_CameraIssue HTTP Request with Authentication.vi>>WPI_CameraIssue Get.vi>>WPI_CameraGet Image Appearance Property.vi>>WPI_CameraGet Color Enable.vi>>WPI_Camera Registry.vi>>WPI_CameraOpen.vi>>Begin.vi>>Robot Main.vi
<time>00:01:55 01/01/1970
FRC: Operation failed due to a communication failure with the camera.
WARNING <Code> 44007 occurred at FRC_NetworkCommunications <secondsSinceReboot> 25.468

Modified Network Configuration: Set
I/O unit not detected or not installed correctly.
__________________
~There are always choices, some are just harder to make than others.~
Reply With Quote
Reply


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


All times are GMT -5. The time now is 03:55.

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