Go to Post Dean looks rather debonaire in a tux. Like some sort of engineer super hero. The tuxedo is like his Clark Kent costume under which lies his amazing denim suit, to be whipped out at a moments notice in the face of uninspired youth and problems unconquered. - phrontist [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 06-02-2011, 14:55
Slothbron's Avatar
Slothbron Slothbron is offline
Registered User
AKA: Nathan
FRC #3216 (Missoula Robotics Team)
Team Role: Engineer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Montana
Posts: 35
Slothbron is an unknown quantity at this point
Question Main vi.

I know that this is the framework for your robot code. But are you able to deploy it with out editing it and be able to drive your robot around



Team 3216
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2011, 15:46
MotorHead's Avatar
MotorHead MotorHead is offline
Programming Mentor
AKA: Jeff Beltramo
FRC #1922 (OZ-Ram)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Concord, NH
Posts: 68
MotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to behold
Re: Main vi.

When you start a new FRC project in LabView select the option for "Robot Framework with Game Code". This will give you the basic code to do Line Following in Autonomous, acquire camera image, and most importantly, it is setup to do Arcade control in Tele-op. So with a Joystick on USB 1 and motors hooked to PWM outputs one and two, you can control a robot right out of the box.
__________________
Jeff Beltramo
Team #1922
Concord, New Hampshire

Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2011, 16:28
Slothbron's Avatar
Slothbron Slothbron is offline
Registered User
AKA: Nathan
FRC #3216 (Missoula Robotics Team)
Team Role: Engineer
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Montana
Posts: 35
Slothbron is an unknown quantity at this point
Re: Main vi.

We just tried to run with it but errors just came up with the left and right motors, any ideas on how to fix it? Then how do I edit it with other vi. that have have made else where?
__________________
MRT 3216
2010- Salt lake City Highest Rookie Team seed
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2011, 17:34
MotorHead's Avatar
MotorHead MotorHead is offline
Programming Mentor
AKA: Jeff Beltramo
FRC #1922 (OZ-Ram)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Concord, NH
Posts: 68
MotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to behold
Re: Main vi.

Can you post a screen capture of what you are trying to do?
__________________
Jeff Beltramo
Team #1922
Concord, New Hampshire

Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2011, 02:47
Acarid Acarid is offline
<3 Nested Clusters
FRC #2521
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Eugene, Oregon
Posts: 10
Acarid is an unknown quantity at this point
Re: Main vi.

Quote:
Originally Posted by Slothbron View Post
We just tried to run with it but errors just came up with the left and right motors, any ideas on how to fix it? Then how do I edit it with other vi. that have have made else where?
You probably have the motors configured to the wrong PWM. Open up the begin vi and check that the "left and right motors" are set to the right PWMs.
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:20.

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