Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Team 4095 Presents: iPhone Driver Station! (http://www.chiefdelphi.com/forums/showthread.php?t=128894)

Chiller 17-04-2014 21:00

Team 4095 Presents: iPhone Driver Station!
 
3 Attachment(s)
I present to you a FULLY FUNCTIONING iPhone driver station!

Right now it is a late beta stage, everything does work, Enabling, Disabling, auto, teleop, joysticks, buttons, accelerometer joystick and the camera!

We have successfully controlled our robot with my iPhone without the need of the FRC driver station!

This will be fun to use since you can just pull your phone out and turn your robot on and boom robot control at your fingertips instantly!

This will be released to the app store soon once I make some minor safety upgrades such as if you drop your phone the robot will disable.

I might add in the ability to connect to the main phone controlling with another phone via bluetooth and use the second phone as a secondary joystick!

Here are some images:

Attachment 16857
Attachment 16858
Attachment 16859

czielinski 17-04-2014 21:02

Re: iPhone Driver Station!!!
 
That looks really awesome! Is Android in the works as well?

who716 17-04-2014 21:03

Re: iPhone Driver Station!!!
 
WOW! should be a lot of fun!!

Chiller 17-04-2014 21:03

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by czielinski (Post 1375641)
That looks really awesome! Is Android in the works as well?

Unfortunately no since I do not have an android device...

Charles Boehm 17-04-2014 21:04

Re: iPhone Driver Station!!!
 
Very cool! This would be an awesome tool for demos or sponsor events!

Mike Ounsworth 17-04-2014 21:36

Re: iPhone Driver Station!!!
 
That's awesome!!

I'm guessing it connects directly to the robot's wifi and then sends its data directly by socket?

yash101 17-04-2014 21:51

Re: iPhone Driver Station!!!
 
Does this require any application-specific code on the cRIO side? I wouldn't be surprised if this requires the programmers to add a socket server to create a new protocol for communication

Chiller 17-04-2014 21:54

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by yash101 (Post 1375678)
Does this require any application-specific code on the cRIO side? I wouldn't be surprised if this requires the programmers to add a socket server to create a new protocol for communication

Nope you do not need to add ANYTHING!

It connects just like how the FRC Driver Station does! Joysticks are implemented the same way.

Also no implementation for the camera it is all independent and everything you need is in the app!

Mike Ounsworth 17-04-2014 22:04

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by Chiller (Post 1375679)
Nope you do not need to add ANYTHING!

It connects just like how the FRC Driver Station does! Joysticks are implemented the same way.

Sweet! I would love to see how you're doing that. Are you making the source public?

AustinSchuh 17-04-2014 22:16

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by Mike Ounsworth (Post 1375683)
Sweet! I would love to see how you're doing that. Are you making the source public?

Having implemented something similar in the past, I would personally be hesitant about releasing the source. There are enough hints around on the internet and good enough tools out there that it doesn't take too long to make it work, and you can cause a lot of damage (robot out of control and no quick way to stop it) if you aren't careful.

The robot listens on a specific UDP port for packets with everything it needs from the DS.

alexander.h 17-04-2014 22:33

Re: iPhone Driver Station!!!
 
If it's an iPhone app, I would assume it would work on an iPad as well, right? An iPhone is nice, but for controlling the robot, from my point of view, the larger the screen, the better. By the way, nice job!

Mike Ounsworth 18-04-2014 00:09

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by AustinSchuh (Post 1375687)
Having implemented something similar in the past, I would personally be hesitant about releasing the source. There are enough hints around on the internet and good enough tools out there that it doesn't take too long to make it work, and you can cause a lot of damage (robot out of control and no quick way to stop it) if you aren't careful.

I've heard a lot of arguments both ways for open source vs closed source but "don't touch it you'll hurt yourself" is a new one.

Mapping out all the driver station protocols by Wireshark is a lot of work and I respect that. The giddy child in me was hoping that someone who's done it would share their findings so we can all benefit. I'm curious more than anything, and won't have access to a cRIO till the fall so I can't map it out myself :( .

Good work on the app by the way! I look forward to trying it out!

Whippet 18-04-2014 00:22

Re: iPhone Driver Station!!!
 
Awesome! Any chance for iOS 6 compatibility?

Dominick Ferone 18-04-2014 00:55

Re: iPhone Driver Station!!!
 
im guessing all you would need to do is select the router for team xxxx and then open the app and your good to go? I wouldn't want my students knowing about it haha, i feel like they might fool around to much, but i can't wait to play with it. Can you give us an ETA on when to expect it.

Chiller 18-04-2014 01:16

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by Dominick Ferone (Post 1375747)
im guessing all you would need to do is select the router for team xxxx and then open the app and your good to go? I wouldn't want my students knowing about it haha, i feel like they might fool around to much, but i can't wait to play with it. Can you give us an ETA on when to expect it.

I won't have access to our cRio till tuesday so I still need to test out the analog and digital IO. I still have to look over all of the communication to make sure that all enabling and disabling features are working flawlessly.

Im hoping for it to be out on the market (iPhones only 7.1) within the next 2-3 weeks!

I will make it compatible for iPads soon but first I want to get the core functionality down.


All times are GMT -5. The time now is 20:22.

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