OCCRA
Go to Post You might want to read...the Manual very carefully. . - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Events   CD-Media   CD-Spy   FRC-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 04-01-2012, 11:33 AM
dakaufma dakaufma is offline
Registered User
AKA: David Kaufman
FRC #0449 (Blair Robot Project)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Silver Spring
Posts: 22
dakaufma is an unknown quantity at this point
Still waiting for comms? How about a game of snake!

After years of repeated communication issues at FIRST regionals, team 449's programmers have decided that it is our duty to entertain our drivers while they wait for robot communications. Accordingly, during the last few weeks of build season, we programmed the classic video game "Snake" in LabVIEW and made it a part of our dashboard. We started with code from https://decibel.ni.com/content/docs/DOC-15149 and modified it to make a two-player competitive version of snake. As a safety measure we automatically hid the snake game while the robot was enabled and provided the drivers with a button to hide the game so they could view the diagnostics it covers without enabling the robot.

All of our robot's code is open source and can be found at https://svn.robot.mbhs.edu/svn/firstRoboticsCode2012 (you will get some warning about our certificate being expired; that's ok, we just haven't gotten around to setting up SSL properly). While you can view the directory structure and download files from your web browser, this is actually an SVN repository and you should probably check it out with an SVN client such as TortoiseSVN. Feel free to copy Snake or any other part of our code; just give credit where it is due.

We are planning to make another game next year, only this time starting development during preseason training. I encourage other teams to follow our lead and look forward to seeing the results.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-01-2012, 08:38 PM
agartner01 agartner01 is offline
Captain + Control Sys & Design
FRC #4174
Team Role: Engineer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Hector MN
Posts: 109
agartner01 is an unknown quantity at this point
Re: Still waiting for comms? How about a game of snake!

Quote:
Originally Posted by dakaufma View Post
After years of repeated communication issues at FIRST regionals, team 449's programmers have decided that it is our duty to entertain our drivers while they wait for robot communications. Accordingly, during the last few weeks of build season, we programmed the classic video game "Snake" in LabVIEW and made it a part of our dashboard. We started with code from https://decibel.ni.com/content/docs/DOC-15149 and modified it to make a two-player competitive version of snake. As a safety measure we automatically hid the snake game while the robot was enabled and provided the drivers with a button to hide the game so they could view the diagnostics it covers without enabling the robot.
+1 to this
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 06:10 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi