Go to Post I don't want a carbon copy of your wheels.. I want to improve upon your design. - Tom Bottiglieri [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 06-12-2010, 22:01
mobilegamer999 mobilegamer999 is offline
Registered User
FRC #3357 (Comets)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Michigan
Posts: 124
mobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the rough
Talking iPhone Driver Station, No Computer Needed

Title pretty much says it all.
I have created a iPhone/iPod touch (sorry iPad users) application, that allows for full, 100% control of the robot without the need for the driver station, becasue the application IS the driver station.

The app features the ability to
  • Enable/Disable the robot
  • Teleop/Autonomous Control
  • Read battery voltage and robot state
  • Full digital and analog I/O
  • 10 joystick buttons
  • 2 virtual joysticks
  • accelerometer control

Future Abilities will include
  • Camera View
  • Robot debug messages
  • Anything suggested that is "reasonable"

This app will have a few final improvements to be made (icons, splash screen, etc) but should be submitted to apple shortly. Updates will be posted on the state of the applications submission progress

Also attached are a few images of what the UI looks like so far. As always on CD, any and every comment/suggestion is more than welcome.

Edit:
This application also requires no flashing/specialized reprogramming on the robot to work, joysticks are initialized and read in as normal.
Attached Thumbnails
Click image for larger version

Name:	Photo Dec 06, 3 40 10 PM.jpg
Views:	578
Size:	36.9 KB
ID:	9470  Click image for larger version

Name:	Photo Dec 06, 3 40 37 PM.jpg
Views:	477
Size:	41.2 KB
ID:	9471  Click image for larger version

Name:	Photo Dec 06, 3 40 47 PM.jpg
Views:	501
Size:	32.6 KB
ID:	9472  Click image for larger version

Name:	Photo Dec 06, 3 41 02 PM.jpg
Views:	385
Size:	35.4 KB
ID:	9473  
__________________

Last edited by mobilegamer999 : 06-12-2010 at 22:43. Reason: Added info
  #2   Spotlight this post!  
Unread 06-12-2010, 22:22
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: iPhone Driver Station, No Computer Needed

Can I ask how you got it to communicate with the robot without the driver station.

I always thought the communication was proprietary.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.

Last edited by davidthefat : 06-12-2010 at 22:24.
  #3   Spotlight this post!  
Unread 06-12-2010, 22:23
MrHance's Avatar
MrHance MrHance is offline
Long Distance Mentor
FRC #0647 (Cyber Wolf Corp)
Team Role: Mentor
 
Join Date: Oct 2007
Rookie Year: 2001
Location: Killeen, Tx
Posts: 23
MrHance has a spectacular aura aboutMrHance has a spectacular aura aboutMrHance has a spectacular aura about
Thumbs up Re: iPhone Driver Station, No Computer Needed

This is great news!

But what about those that do not use the I-phone/I-touch?

Is the program able to be transfers to other systems?

Are you working on an I-Pad version?

Can this be uses for a touch screen laptop computer?

These would be excellent options for various other input devices.

Again, Great work.
  #4   Spotlight this post!  
Unread 06-12-2010, 22:27
Ethan E Ethan E is offline
Registered User
FRC #1683
 
Join Date: Feb 2010
Location: Johns Creek, GA
Posts: 7
Ethan E is an unknown quantity at this point
Re: iPhone Driver Station, No Computer Needed

I knew that creating a custom dashboard was (relatively) simple, but was under the impression that the driver station (I/O, joysticks, enable/disable) was locked down by FIRST. Did they publish an API, or did you reverse engineer it, or what? (Sorry if the answer is obvious, I don't frequent CD too much)
  #5   Spotlight this post!  
Unread 06-12-2010, 22:31
mobilegamer999 mobilegamer999 is offline
Registered User
FRC #3357 (Comets)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Michigan
Posts: 124
mobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the rough
Re: iPhone Driver Station, No Computer Needed

@davidthefat
#EDIT
I used a mix of packet analyzer (wireshark - a program to analyze the packets being sent to/from the drivers station) and packet definitions found in WPIlib to determine how the robot and driver station communicated so I could make an iPhone application that would communicate in that manner.

@MrHance
It could be written for other systems without a tremendous amount of work, more details about what system you would like it made for would be helpful. Also, i would like to make an iPad version of this to test with, but the lack of an iPad to test with is kinda an obstacle (however i might be able to borrow one from someone)
__________________

Last edited by mobilegamer999 : 06-12-2010 at 23:17.
  #6   Spotlight this post!  
Unread 06-12-2010, 22:37
BrendanRadabaug's Avatar
BrendanRadabaug BrendanRadabaug is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2006
Location: Florida
Posts: 74
BrendanRadabaug is a splendid one to beholdBrendanRadabaug is a splendid one to beholdBrendanRadabaug is a splendid one to beholdBrendanRadabaug is a splendid one to beholdBrendanRadabaug is a splendid one to beholdBrendanRadabaug is a splendid one to behold
Re: iPhone Driver Station, No Computer Needed

really want it, cant wait to try it out and possibly break our robot with it.
__________________
---------------
Bacon

Last edited by BrendanRadabaug : 06-12-2010 at 22:44.
  #7   Spotlight this post!  
Unread 06-12-2010, 23:07
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: iPhone Driver Station, No Computer Needed

Looks sweet. I'd love to try this out. I'll be waiting. Is this app going to be free?
  #8   Spotlight this post!  
Unread 06-12-2010, 23:18
mobilegamer999 mobilegamer999 is offline
Registered User
FRC #3357 (Comets)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Michigan
Posts: 124
mobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the rough
Re: iPhone Driver Station, No Computer Needed

@kgzak
the finesse and approval process will probably take about 3 weeks or so, and im planning on either .99 or 1.99, but im leaning more towards 99 cents.
__________________
  #9   Spotlight this post!  
Unread 06-12-2010, 23:50
kgzak's Avatar
kgzak kgzak is offline
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: iPhone Driver Station, No Computer Needed

Are you using it as a fund raiser for your team?
  #10   Spotlight this post!  
Unread 07-12-2010, 00:16
mobilegamer999 mobilegamer999 is offline
Registered User
FRC #3357 (Comets)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Michigan
Posts: 124
mobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the rough
Re: iPhone Driver Station, No Computer Needed

not really, its more of a "help me through college" deal, but if the app turned significant profit, a good portion WOULD go to my team.
__________________
  #11   Spotlight this post!  
Unread 07-12-2010, 11:37
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: iPhone Driver Station, No Computer Needed

This sounds really interesting.

So it should work with any current robot, no matter what the programming language is? Will the cRIO properly recognize the "getY()" function from the Iphone?

Regardless, I can't wait for it to come out and test it.
  #12   Spotlight this post!  
Unread 07-12-2010, 11:57
zwz8495's Avatar
zwz8495 zwz8495 is offline
Team 1677 Mentor
AKA: Zach W
FRC #1677 (Quantum Ninjas)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2004
Location: Kalamazoo, MI
Posts: 1
zwz8495 is an unknown quantity at this point
Send a message via AIM to zwz8495
Re: iPhone Driver Station, No Computer Needed

That is really amazing. I cant wait to try it out.
  #13   Spotlight this post!  
Unread 07-12-2010, 12:01
viperred396's Avatar
viperred396 viperred396 is offline
people have lives during January?!?
AKA: Bryan
FRC #2240 (Brute Force)
Team Role: Leadership
 
Join Date: Nov 2008
Rookie Year: 2009
Location: Colorado
Posts: 185
viperred396 has a spectacular aura aboutviperred396 has a spectacular aura aboutviperred396 has a spectacular aura about
Re: iPhone Driver Station, No Computer Needed

Nice idea! i would love to see a port for android phones sometime
__________________

2010 CO Regional: Finalist
2007 CO Regional: Semi-Finalist
  #14   Spotlight this post!  
Unread 07-12-2010, 12:03
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,385
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: iPhone Driver Station, No Computer Needed

Quote:
Originally Posted by viperred396 View Post
Nice idea! i would love to see a port for android phones sometime
Ditto!
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #15   Spotlight this post!  
Unread 07-12-2010, 12:58
mobilegamer999 mobilegamer999 is offline
Registered User
FRC #3357 (Comets)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Michigan
Posts: 124
mobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the roughmobilegamer999 is a jewel in the rough
Re: iPhone Driver Station, No Computer Needed

Me and my friend are hoping to make an android version, it will take me a little time to get used to the android sdk versus iPhone sdk, but I will keep everybody posted on android status
__________________
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
Driver Station? qpang FRC Control System 2 27-01-2010 16:59
Personal Computer Problem With FRC Driver Station Pewter_Newb General Forum 2 19-01-2010 23:26
2010 Driver Station Netbook Driver Account and Java joshholat FRC Control System 2 10-01-2010 15:04
Driver Station S.O.S. M. Gildner Electrical 15 28-11-2009 19:35
Driver Station dnrobotics11 Control System 2 18-02-2009 21:35


All times are GMT -5. The time now is 11:25.

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