Go to Post I believe it is healthy to leave FIRST at some point and carry on with a well-rounded life (family, fun, school, & work). Focus your creative energy on developing your skills as a professional; then, come back to FIRST as a mentor later down the line. - Erin Rapacki [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 25-02-2012, 14:00
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
Question Viewing More Kinect Buttons on Driver Station

Alright, so we have a Hybrid Program made with an Autonomous Program that will allow us to go between Auto and Hybrid whenever the Kinect is connected or not. However, the default Dashboard Program only allows us to see the three Axes and only Three buttons. I know that there are nine buttons that are defaulted in the Server code linked with each KinectStick.

My question is this: How will we be able to see more outputs on the kinect viewer of the Dashboard when it comes with the buttons?

Don't worry about the space on our dashboard, we are using a different laptop with a higher processing rate and bigger screen, and I extended more space on the Dashboard so we can utilize the new bigger space we have. We plan on using the same 9 buttons, and I will reprogram the server so that we can create an X axis.
Attached Thumbnails
Click image for larger version

Name:	Extra Button Post.PNG
Views:	26
Size:	69.1 KB
ID:	12105  
__________________
Hmmm....I wonder if I can create a robot lawnmower with the knowledge I have gained from FRC.....
Reply With Quote
  #2   Spotlight this post!  
Unread 25-02-2012, 14:20
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Viewing More Kinect Buttons on Driver Station

I have not tried it, but here's what I would do.

In Build Simple Skeleton Data.vi, you would need to decode more buttons in the for loop at the bottom, and add more leds to the simple joystick info control on the front panel.
Reply With Quote
  #3   Spotlight this post!  
Unread 25-02-2012, 15:44
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
Lightbulb Re: Viewing More Kinect Buttons on Driver Station

Quote:
Originally Posted by Joe Ross View Post
I have not tried it, but here's what I would do.

In Build Simple Skeleton Data.vi, you would need to decode more buttons in the for loop at the bottom, and add more leds to the simple joystick info control on the front panel.
Alright, so I went to the BSSD.vi file and added 9 more elements to the Cluster AND Array so that the wiring would agree. After that, I added the 9 extra LEDs Like you suggested and got the cluster wiring to agree with the button cluster.

After that, I went ahead and updated the Dashboard by Ungrouping the bars and LEDs and deleting both of the original LEDs from the program. I went into the Block Diagram and right clicked the outputs of the buttons and created the new indicators to let the program adapt to the new added buttons. I did some rearranging, and labeled the new LEDs on the Bigger Dashboard.

However, the new button group on the Dashboard don't look like the original. I would be fine with the way it is now, for I think it should work (for the RUN arrow isn't broken, which indicates no errors), but it would be great if I can make it look like the Awesome original...

Thanks!

What do You Think?
Attached Thumbnails
Click image for larger version

Name:	Fix 1 BSSD.PNG
Views:	15
Size:	38.3 KB
ID:	12106  Click image for larger version

Name:	Fix 2 BSSD.PNG
Views:	16
Size:	33.6 KB
ID:	12107  Click image for larger version

Name:	Fix 1 Dash.PNG
Views:	17
Size:	74.7 KB
ID:	12108  Click image for larger version

Name:	Fix 2 Dash.PNG
Views:	13
Size:	31.3 KB
ID:	12109  
__________________
Hmmm....I wonder if I can create a robot lawnmower with the knowledge I have gained from FRC.....

Last edited by JChavis : 25-02-2012 at 15:57.
Reply With Quote
  #4   Spotlight this post!  
Unread 25-02-2012, 18:25
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Viewing More Kinect Buttons on Driver Station

Just a heads up -

When you arrive at your Regional competition, you'll see the Kinect Station set up. A Kinect will sit above a Classmate. On the Classmate, the Kinect Kiosk will be running.

Your Kinect player will be looking at the Kiosk, not your Dashboard/camera feeds.
Reply With Quote
  #5   Spotlight this post!  
Unread 25-02-2012, 18:30
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: Viewing More Kinect Buttons on Driver Station

Quote:
Originally Posted by DominickC View Post
On the Classmate, the Kinect Kiosk will be running.
And the Kinect Kiosk shows the value of all 6 axes and 12 buttons on both KinectSticks in addition to the "green man", player count and team number
Reply With Quote
  #6   Spotlight this post!  
Unread 25-02-2012, 18:32
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
Thumbs up Re: Viewing More Kinect Buttons on Driver Station

Quote:
Originally Posted by DominickC View Post
Just a heads up -

When you arrive at your Regional competition, you'll see the Kinect Station set up. A Kinect will sit above a Classmate. On the Classmate, the Kinect Kiosk will be running.

Your Kinect player will be looking at the Kiosk, not your Dashboard/camera feeds.
Thanks for telling me that, for it would make it a bit easier to show the driver what he is doing. However, Our drivers at the Operator Console can help yell out to the driver from a different view....

The main reason why I am changing the Dashboard is so that we can see the button outputs on the driver station during our Stop Build Month.

I know we could use the Kinect Kiosk during this time, but our new School Laptop has some Admin controls on it (long story short, it would be better for us to use the Dashboard)....

Again, thanks for letting us know about this!!!
__________________
Hmmm....I wonder if I can create a robot lawnmower with the knowledge I have gained from FRC.....
Reply With Quote
  #7   Spotlight this post!  
Unread 25-02-2012, 18:36
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
Question Re: Viewing More Kinect Buttons on Driver Station

QUESTION:

Does the data for the Kinect run from the Laptop at the Driver Console, or from the Kinect Setup?

I ask this because we figured out that the Kinect Runs REALLY slow from our original Classmate, but runs smoothly from our New Laptop...
__________________
Hmmm....I wonder if I can create a robot lawnmower with the knowledge I have gained from FRC.....
Reply With Quote
  #8   Spotlight this post!  
Unread 25-02-2012, 18:38
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: Viewing More Kinect Buttons on Driver Station

At Competition you plug the Kinect into your Driver Station computer via USB so the software runs on whatever you are using for your Driver Station. The Kiosk computer is just a display device.

Also, the one's in Nashua definitely weren't Classmates, they were some monster 17+ inch laptops
Reply With Quote
  #9   Spotlight this post!  
Unread 25-02-2012, 22:31
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,752
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: Viewing More Kinect Buttons on Driver Station

To make it look the same, you go to the tool window and choose the coloring tool. The shortcut is to shift-right-click in open space, and choose the coloring tool. Then right click on the background of the cluster and it will bring up the color picker. Te easiest thing to do is to choose the T in the upper right corner. You. May also want to do this to the cluster border. Note that some objects, particularly shadows and effects, will not color except as transparent and non-transparent. For those objects, it is often useful to hover over transparent symbol and hit space or another key.

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 22:06.

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