Go to Post I love robotics, it has a spot for every kinda future career a student chooses. - Bharat Nain [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 13-02-2013, 16:12
eyeswideopened eyeswideopened is offline
Registered User
FRC #4557
 
Join Date: Jan 2013
Location: Connecticut
Posts: 13
eyeswideopened is an unknown quantity at this point
Re: Advice for code integration

now there are no wires connected to the begin.vi and there are no nodes to connect them too..... this problem is separate from the other one. This just happened
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2013, 16:32
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: Advice for code integration

Has the code ever worked?
Have you ever had anything on the robot work?

Joysticks Dead? Try the Joystick example project to confirm there is no problem there.

Then move on to the Tank drive example project to confirm that works.
If that does not work, then we here on Chief Delphi will be better able to trouble that code than we will be able to trouble shoot your code which we have no clue as to what you are doing in your code.

Get the Tank Drive example working first then try your code again.
__________________
Omar
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2013, 23:23
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: Advice for code integration

Quote:
Originally Posted by eyeswideopened View Post
now there are no wires connected to the begin.vi and there are no nodes to connect them too..... this problem is separate from the other one. This just happened
I'm guessing you deleted the camera initialization code. That part of Begin.vi is what creates the image size input and error output that are used by Robot Main.

If nothing is working the way you want it to right now, then I think your best course of action is to start a new robot project and see if it functions as expected. You'll need to make sure you have your motor PWM connections where the code expects them to be. As Omar suggests, we can help troubleshoot your robot better if you begin with software we know to be okay.
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2013, 00:27
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Advice for code integration

You can also post your project as a zip file here. I personally won't be able to check it until tomorrow night, but I'm sure someone else can.

When zipping the project up, make sure all files are included. You can do this by clicking and dragging files from the Files tab in the Project Explorer to one common folder. I also believe there is a packaging took built into LabVIEW, but it takes a little bit of setting up.

Things I'm guessing are wrong with your code would be while loops in your teleop code, misspelled refnames, missing open statements, or timers in the teleop code.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2013, 08:49
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Advice for code integration

Also, don't forget that you have to run the driver station and enable the robot in order for the code to control anything.

Greg McKaskle
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 12:16.

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