Go to Post I want to win, but I want to beat my opponent when they are at their best. - wilsonmw04 [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:	575
Size:	36.9 KB
ID:	9470  Click image for larger version

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

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

Name:	Photo Dec 06, 3 41 02 PM.jpg
Views:	382
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: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.
  #5   Spotlight this post!  
Unread 07-12-2010, 18:30
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: iPhone Driver Station, No Computer Needed

Quote:
Originally Posted by mobilegamer999 View Post

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)
I have some experience with iOS programming as well as an iPad. I'd be happy to beta test the ipad version or even help with the app if you would find that agreeable. I can always email you copies of NSLog's output as well as safes of instrument runs. (At least I think you can save trials from instruments)

Good luck
Oliver
  #6   Spotlight this post!  
Unread 07-12-2010, 18:59
raymohi2181 raymohi2181 is offline
Registered User
FRC #2181
 
Join Date: Dec 2010
Location: Minnesota
Posts: 3
raymohi2181 is an unknown quantity at this point
Re: iPhone Driver Station, No Computer Needed

Quote:
Originally Posted by mobilegamer999 View Post

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)
I have an iPad, so I could test it and send feedback. If you would like. The current robot I would use has a verity of custom senors and outputs.

-Ray H.
  #7   Spotlight this post!  
Unread 07-12-2010, 19:15
DDSLoan96's Avatar
DDSLoan96 DDSLoan96 is offline
Jack of all trades
AKA: Danny
FRC #1468 (J-Birds)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Hicksville
Posts: 40
DDSLoan96 is an unknown quantity at this point
Re: iPhone Driver Station, No Computer Needed

When will it come out and what is it going to be called??
  #8   Spotlight this post!  
Unread 07-12-2010, 19:51
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

Quote:
Originally Posted by DDSLoan96 View Post
When will it come out and what is it going to be called??
It will most likely be called simply "Drive Station" or "FRC Driver Station" and it will be submitted to apple as soon as I make an icon and a splash image for it.
__________________
  #9   Spotlight this post!  
Unread 07-12-2010, 21:09
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
Question Re: iPhone Driver Station, No Computer Needed

I have been following this thread with great interest as I am sure that FRC is as well.

I am not a programmer so bear with me.

I am a Design Engineer so these questions are to help me understand the relationship of the system with the existing FRC controls.

Some other questions as far as using it at comps.

Will it be legal?

Will the WiFi signal interfere with other teams that maybe using the same applications or other application?

What is the range limitation?

How does this interface with the driver station controller?

Will this app. work with other systems like VEX, NURC and LEGO controll?

As I think of other applications I will post the questions here.

Agian, Great work and I hope this will help you all make it thru college.
  #10   Spotlight this post!  
Unread 07-12-2010, 21:38
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

MrHance, I'm glad you brought that up, and that is probably something I should have stated in the opening post, this would not be a legal control system during competitions, due to the fact that it is WiFi based and any wireless is not allowed on the field during a match except for the wireless the robots are using. On a side note to that however, I am looking into a possible way this could be modified to be a legal control method, but its unlikely that it would be very practical if it were in working, legal condition.

As far as your question of "How does this interface with the driver station controller?"
This is actually a complete replacement for the drive station, this application runs 100% independently by itself with no computer required anywhere in the system.

And No, this application is not programmed to work with the VEX,NURC, or LEGO controllers, it can only control FRC robots.

This app is mainly expected to be used for demonstration purposes, or in any circumstance where it is inconvenient/impractical/impossible to use the driver station. As far as the range of the system is concerned, if the iPhone is within the range of the WiFi network, and so is the robot, they you have control, which typically, line of sight would be about 200-300 feet, and with many walls in between about 100 feet. If you have any more questions feel free to ask me.
__________________

Last edited by mobilegamer999 : 07-12-2010 at 21:51.
  #11   Spotlight this post!  
Unread 12-12-2010, 14:27
buildmaster5000 buildmaster5000 is offline
Trying to program the swerve drive
AKA: Alex
FRC #2421 (Rolling Thunder Robotics)
Team Role: Alumni
 
Join Date: May 2009
Rookie Year: 2009
Location: Northern Virginia
Posts: 207
buildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud of
Re: iPhone Driver Station, No Computer Needed

Quote:
Originally Posted by mobilegamer999 View Post
This app is mainly expected to be used for demonstration purposes, or in any circumstance where it is inconvenient/impractical/impossible to use the driver station. As far as the range of the system is concerned, if the iPhone is within the range of the WiFi network, and so is the robot, they you have control, which typically, line of sight would be about 200-300 feet, and with many walls in between about 100 feet. If you have any more questions feel free to ask me.
This is all well and good, something I am really interested in actually buying (I never buy apps for my itouch), but I have a few questions:
1. If it connects via wifi, what, if anything would have to be done to the gaming adapter on the robot?
2. For joysticks, does the app have virtual joystics on screen, or does it use the accelerometer in the device?
3. How would a user go about changing user I/O? I personally think this needs to be easily accessible at all times.
__________________
-Alex



2010 Washington DC Regional: Engineering Excellence Award
  #12   Spotlight this post!  
Unread 12-12-2010, 14:47
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

Quote:
Originally Posted by buildmaster5000 View Post
This is all well and good, something I am really interested in actually buying (I never buy apps for my itouch), but I have a few questions:
1. If it connects via wifi, what, if anything would have to be done to the gaming adapter on the robot?
2. For joysticks, does the app have virtual joystics on screen, or does it use the accelerometer in the device?
3. How would a user go about changing user I/O? I personally think this needs to be easily accessible at all times.

1) no changes need to be made to the gaming adapter
2)it uses 2 onscreen joysticks (video page 2) and the accelerometer
2) there is a screen for setting/reading digital IO and the analog inputs
__________________
  #13   Spotlight this post!  
Unread 12-12-2010, 14:58
buildmaster5000 buildmaster5000 is offline
Trying to program the swerve drive
AKA: Alex
FRC #2421 (Rolling Thunder Robotics)
Team Role: Alumni
 
Join Date: May 2009
Rookie Year: 2009
Location: Northern Virginia
Posts: 207
buildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud of
Re: iPhone Driver Station, No Computer Needed

Quote:
Originally Posted by mobilegamer999 View Post
1) no changes need to be made to the gaming adapter
2)it uses 2 onscreen joysticks (video page 2) and the accelerometer
2) there is a screen for setting/reading digital IO and the analog inputs
After so many "gaming adapter problems" threads, it is nice to hear that you seem to have put a lot of thought into this app. I look forward to getting my hands on it. One thought: it might be nice to have the capapbility to set the accelerometer as two joystick axis...
__________________
-Alex



2010 Washington DC Regional: Engineering Excellence Award
  #14   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)
  #15   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.
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 22:07.

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