Go to Post I am as certain as can be on this issue ... believe me. - Paul Copioli [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-12-2008, 11:50
finman's Avatar
finman finman is offline
Programmer
AKA: Chris Finley
FRC #0888 (Robotiators)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Glenelg, MD
Posts: 16
finman is an unknown quantity at this point
Default code doesn't seem to match documentation

i have been trying to follow the programming tutorial for labview for first from the documentation on:

http://decibel.ni.com/content/docs/DOC-2631

one of the first steps says to change the booleans called RightMotorInverted and LeftMotorInverted in the teleop.vi panel; i do not see these variables. has the default code changed since the tutorial was written? is there an updated tutorial?
__________________


"Red goes to black, right guys?" ~Mike Mascaro: Our Fearless Leader
  #2   Spotlight this post!  
Unread 18-12-2008, 12:03
sparrowkc sparrowkc is offline
Registered User
AKA: Mark
FRC #1986 (Team Titanium)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Lees Summit
Posts: 114
sparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to beholdsparrowkc is a splendid one to behold
Re: Default code doesn't seem to match documentation

http://usfirst.org/community/frc/content.aspx?id=10934

Have you done all the software updates on this page? The NI update changes the default template, and updates the image used by the crio imaging tool. You need to reformat the crio before the updated default code will work on it.
  #3   Spotlight this post!  
Unread 18-12-2008, 12:28
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: Default code doesn't seem to match documentation

We found -- and changed -- those two boolean values without difficulty yesterday. It did take us two tries to get them to match the way our practice drivebase's motors were wired, but they weren't hard to find.
  #4   Spotlight this post!  
Unread 18-12-2008, 12:40
finman's Avatar
finman finman is offline
Programmer
AKA: Chris Finley
FRC #0888 (Robotiators)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Glenelg, MD
Posts: 16
finman is an unknown quantity at this point
Re: Default code doesn't seem to match documentation

i have installed all the updates listed on the page, as well as updating the image on the crio, but i still cannot find those variables. are they directly on the teleop vi?
__________________


"Red goes to black, right guys?" ~Mike Mascaro: Our Fearless Leader
  #5   Spotlight this post!  
Unread 18-12-2008, 13:27
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,721
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Default code doesn't seem to match documentation

For Basic Framework - in the Block Diagram for "Basic Robot Main.vi" on the top left you'll see them. (I'd recommend not using the Basic template for now- it has a bug that I'm sure a later patch will fix.)

For Advanced Framework - in the Block Diagram for Begin.vi towards the bottom in the center "column" you'll see them.

Documentation always lags production sw...

When you created your project did you see the choice for Basic vs Advanced framework shown the the right photo below?
If not then you haven't installed the LabVIEW FRC update.
Attached Thumbnails
Click image for larger version

Name:	InvertMotors.jpg
Views:	38
Size:	7.7 KB
ID:	7039  Click image for larger version

Name:	CreateNewFRCRobotProject.jpg
Views:	37
Size:	39.4 KB
ID:	7040  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-12-2008 at 13:49.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Code for sensor still doesn't work Ianuser Programming 3 14-02-2007 10:17
Problems integrating CMUCAM code and IFI Default Code Windward Programming 2 06-02-2007 16:48
even simple autonomous code doesn't work?? colman77 Programming 4 17-02-2006 23:58
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
Inserting Naviagation code into Default code? actorindp Programming 3 28-01-2004 18:12


All times are GMT -5. The time now is 09:28.

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