Go to Post In theory, we do not need teachers in this world because we have the written word, but in reality, teachers are one of the most valuable resources, if not the most valuable resource, we have. - Natchez [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 19-02-2012, 11:18
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Kinect Boolean Programming

I would get rid of the two small case structures inside. Just put your non-Kinect auto code there. If there are 0 players, either the Kinect isn't being used or your player is not detected, either way you want to just run auto. If there are two players, you are not necessarily going to get good data from the Kinect so I would just run the auto code there as well. This means that if "players" is anything but 1, you want to run your auto code, which is what your larger outside case structure will do.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2012, 15:39
JChavis's Avatar
JChavis JChavis is offline
Team 3490's "Pro./Electrician"
FRC #3490 (Vyper Drive)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2007
Location: Summerville, SC
Posts: 52
JChavis is an unknown quantity at this point
Re: Kinect Boolean Programming

Quote:
Originally Posted by RufflesRidge View Post
I would get rid of the two small case structures inside. Just put your non-Kinect auto code there. If there are 0 players, either the Kinect isn't being used or your player is not detected, either way you want to just run auto. If there are two players, you are not necessarily going to get good data from the Kinect so I would just run the auto code there as well. This means that if "players" is anything but 1, you want to run your auto code, which is what your larger outside case structure will do.
Oh, I didn't mean for the two inside structures to mean that it is a part of the program, I just put them there to show different examples...
__________________
Hmmm....I wonder if I can create a robot lawnmower with the knowledge I have gained from FRC.....
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 11:42.

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