Go to Post There are times when we talk as friends and joke around about things like this, but then the most important times are when he says "I'm telling you this as a mentor," no matter what it is, those moments mean a lot. - Akash Rastogi [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 21-02-2011, 15:37
Team 3657 Team 3657 is offline
Registered User
FRC #3657
 
Join Date: Feb 2011
Location: Michigan
Posts: 9
Team 3657 is an unknown quantity at this point
Need Help with Geting our robot to run

We have gotten our code to have no errors at all but when we deploy it and activate teleop the joysticks show that they are working, no errors come up but the robot doesn't respond, we have 4 drive motors and 2 window motors along with 4 solenoids. what shoud we do
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2011, 15:40
akoscielski3's Avatar
akoscielski3 akoscielski3 is offline
Mentor (1114), Alumni (772)
AKA: Aaron Koscielski
FRC #1114 (Simbotics)
Team Role: Mentor
 
Join Date: Jul 2010
Rookie Year: 2006
Location: LaSalle, Ontario, Canada
Posts: 1,066
akoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond repute
Re: Need Help with Geting our robot to run

Did u remember to plug it in...always the first thing that comes to mind. sometimes something isn't plugged in XD
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2011, 15:41
Team 3657 Team 3657 is offline
Registered User
FRC #3657
 
Join Date: Feb 2011
Location: Michigan
Posts: 9
Team 3657 is an unknown quantity at this point
Re: Need Help with Geting our robot to run

yes they are both pluged in
Reply With Quote
  #4   Spotlight this post!  
Unread 21-02-2011, 15:58
Team 3657 Team 3657 is offline
Registered User
FRC #3657
 
Join Date: Feb 2011
Location: Michigan
Posts: 9
Team 3657 is an unknown quantity at this point
Re: Need Help with Geting our robot to run

Also it seems that when watching labview the teleop doesn't seem to run even though its turned on by the DS
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2011, 16:00
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: Need Help with Geting our robot to run

What is the big orange Robot Signal Light on your robot doing?
What is the value of the battery voltage displayed on your Driver Station?
The Driver Station shows revision information for the DS and the cRIO. What are they?
Reply With Quote
  #6   Spotlight this post!  
Unread 21-02-2011, 16:42
Team 3657 Team 3657 is offline
Registered User
FRC #3657
 
Join Date: Feb 2011
Location: Michigan
Posts: 9
Team 3657 is an unknown quantity at this point
Re: Need Help with Geting our robot to run

the signal light is blinking 9 times slow and 2 times fast, the battery is fresh off the charger
Reply With Quote
  #7   Spotlight this post!  
Unread 21-02-2011, 16:49
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: Need Help with Geting our robot to run

Are you positive everthing is wired into the Crio correctly. And have you edited the teleop or begin code at all, if so, i recomend taking the frc template unedited and download it to the robot, because just because there are no errors, does not mean you have the code written correctly. If it runs fine with the template code, then you will know it is your code. If it does not run, then it will have something to do with wiring, jaguars, or motors.
P.S. always iscolate the variables one by one to find the problem, then once you know what the problem is, you can solve it. Good luck.
__________________
in FIRST, it's process over product, and team over robot.
http://www.roguerobotsof4h.com/
Team 3585 Rogue Robots of 4-H

Last edited by Ian McShane : 21-02-2011 at 16:53.
Reply With Quote
  #8   Spotlight this post!  
Unread 21-02-2011, 16:51
Team 3657 Team 3657 is offline
Registered User
FRC #3657
 
Join Date: Feb 2011
Location: Michigan
Posts: 9
Team 3657 is an unknown quantity at this point
Re: Need Help with Geting our robot to run

how can i zoom out on labview so i can show u guys a full screen shot, and how do i take the screen shot
Reply With Quote
  #9   Spotlight this post!  
Unread 21-02-2011, 16:57
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: Need Help with Geting our robot to run

just copy the file that is stored on your c drive onto a thumb drive(DO NOT DRAG AND DROP!!! I MADE THIS MISTAKE AND LOST DATA AND HAD TO REDO THE WHOLE PROGRAM) and attach to a message.
__________________
in FIRST, it's process over product, and team over robot.
http://www.roguerobotsof4h.com/
Team 3585 Rogue Robots of 4-H
Reply With Quote
  #10   Spotlight this post!  
Unread 21-02-2011, 17:04
Team 3657 Team 3657 is offline
Registered User
FRC #3657
 
Join Date: Feb 2011
Location: Michigan
Posts: 9
Team 3657 is an unknown quantity at this point
Re: Need Help with Geting our robot to run

i found we are geting a watch dog error and ill upload my code in a few min
Reply With Quote
  #11   Spotlight this post!  
Unread 21-02-2011, 17:09
Team 3657 Team 3657 is offline
Registered User
FRC #3657
 
Join Date: Feb 2011
Location: Michigan
Posts: 9
Team 3657 is an unknown quantity at this point
Re: Need Help with Geting our robot to run

heres some of the files ifu want to see more ask.
Attached Files
File Type: vi Teleop.vi (26.2 KB, 6 views)
File Type: vi Robot Main.vi (20.4 KB, 2 views)
File Type: vi Begin.vi (47.5 KB, 6 views)
File Type: vi Disabled.vi (15.0 KB, 2 views)
File Type: vi Finish.vi (23.3 KB, 3 views)
Reply With Quote
  #12   Spotlight this post!  
Unread 21-02-2011, 17:32
Ian McShane Ian McShane is offline
Registered User
FRC #3585 (Rogue Robots)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: NH
Posts: 141
Ian McShane will become famous soon enoughIan McShane will become famous soon enough
Re: Need Help with Geting our robot to run

ummmmmmm, enlighten me on what you want the robot to do, because unless you want it to do something really complicated, you are doing way more work than you have to in begin vi and teleop vi, i did not look at autonomous because that won't affect teleop.


look at our program, it drives just fine and has a two motor arm.

and our teleop is in one of my recent posts, just find all my posts.
Attached Files
File Type: vi Begin.vi (30.4 KB, 7 views)
__________________
in FIRST, it's process over product, and team over robot.
http://www.roguerobotsof4h.com/
Team 3585 Rogue Robots of 4-H
Reply With Quote
  #13   Spotlight this post!  
Unread 21-02-2011, 22:04
Clayton Yocom's Avatar
Clayton Yocom Clayton Yocom is offline
Programming Mentor
FRC #0027 (RUSH)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Clarkston, MI
Posts: 87
Clayton Yocom will become famous soon enoughClayton Yocom will become famous soon enough
Send a message via AIM to Clayton Yocom Send a message via MSN to Clayton Yocom Send a message via Yahoo to Clayton Yocom
Re: Need Help with Geting our robot to run

If you haven't had this figured out yet, I'd like to get some more information before I upload a slightly changed begin. Are you actually using Jags to run the left and right window motors? (as I presume what left and right is.) Also, are you actually using 4 solenoids? What I presume is your actually using 2 Dual Solenoids, so you can use the Dual Solenoid setting vs. the single and opening the Solenoids individually. I'm not sure what you were doing with the error out, as the normal error out *should* catch the errors that occur. The 20ms thing is also kind of confusing, so I'd like to understand better what you were doing there. Teleop looked pretty good for what you were doing in begin, as well as finish and disable.

Again, this is if you still couldn't clear stuff up in the call with Ian.
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 09:14.

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