Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   iPhone Driver Station, No Computer Needed (http://www.chiefdelphi.com/forums/showthread.php?t=87795)

mobilegamer999 06-12-2010 22:01

iPhone Driver Station, No Computer Needed
 
4 Attachment(s)
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" :D

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.

davidthefat 06-12-2010 22:22

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.

MrHance 06-12-2010 22:23

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.:rolleyes: :cool:

Ethan E 06-12-2010 22:27

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)

mobilegamer999 06-12-2010 22:31

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)

BrendanRadabaug 06-12-2010 22:37

Re: iPhone Driver Station, No Computer Needed
 
really want it, cant wait to try it out and possibly break our robot with it.

kgzak 06-12-2010 23:07

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?

mobilegamer999 06-12-2010 23:18

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.

kgzak 06-12-2010 23:50

Re: iPhone Driver Station, No Computer Needed
 
Are you using it as a fund raiser for your team?

mobilegamer999 07-12-2010 00:16

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.

nighterfighter 07-12-2010 11:37

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.

zwz8495 07-12-2010 11:57

Re: iPhone Driver Station, No Computer Needed
 
That is really amazing. I cant wait to try it out.

viperred396 07-12-2010 12:01

Re: iPhone Driver Station, No Computer Needed
 
Nice idea! i would love to see a port for android phones sometime :P

billbo911 07-12-2010 12:03

Re: iPhone Driver Station, No Computer Needed
 
Quote:

Originally Posted by viperred396 (Post 984117)
Nice idea! i would love to see a port for android phones sometime :P

Ditto!

mobilegamer999 07-12-2010 12:58

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 :D


All times are GMT -5. The time now is 07:47.

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