Go to Post I decided I would keep coming and it just kept getting more and more fun. By the time build season started going I couldn't have quit if I wanted to ^_^ - Mr. Pockets [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 Rating: Thread Rating: 15 votes, 4.93 average. Display Modes
  #1   Spotlight this post!  
Unread 17-04-2014, 21:00
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Team 4095 Presents: iPhone Driver Station!

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:

Click image for larger version

Name:	IMG_0478.PNG
Views:	1319
Size:	50.8 KB
ID:	16857
Click image for larger version

Name:	IMG_0479.PNG
Views:	1261
Size:	53.1 KB
ID:	16858
Click image for larger version

Name:	IMG_0480.PNG
Views:	875
Size:	74.0 KB
ID:	16859
  #2   Spotlight this post!  
Unread 17-04-2014, 21:02
czielinski's Avatar
czielinski czielinski is offline
Czielinsk
AKA: Carter Zielinski
FRC #0027 (Team Rush)
Team Role: Alumni
 
Join Date: Sep 2012
Rookie Year: 2012
Location: Michigan
Posts: 31
czielinski is on a distinguished road
Re: iPhone Driver Station!!!

That looks really awesome! Is Android in the works as well?
__________________
Carter of Team RUSH 27
2013: Finalists: Livonia, St. Joseph, RCA: St. Joseph, MSC, EI: Northern Lights
2014: Finalists: St. Joseph, Howell. Winner: MSC, RCA: Northern Lights, World Chairmans Award

2015: Finalists: Woodhaven, MSC, Galileo. KPCB, Creativity, Spirit

  #3   Spotlight this post!  
Unread 17-04-2014, 21:03
who716's Avatar
who716 who716 is offline
Registered User
AKA: Stephen Kalogiannis
FRC #0716 (Who'sCTEKS)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Falls Village Connecticut
Posts: 424
who716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to beholdwho716 is a splendid one to behold
Re: iPhone Driver Station!!!

WOW! should be a lot of fun!!
__________________
2014-
-WPI number one seed
-Innovation in controls award
- NECMP#4 seed semifinalist
- 9th in NEW ENGLAND

2008- Connecticut regional winners
2004-UTC new England regional Winners
2001 highest rookie seed award winner
  #4   Spotlight this post!  
Unread 17-04-2014, 21:03
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: iPhone Driver Station!!!

Quote:
Originally Posted by czielinski View Post
That looks really awesome! Is Android in the works as well?
Unfortunately no since I do not have an android device...
  #5   Spotlight this post!  
Unread 17-04-2014, 21:04
Charles Boehm's Avatar
Charles Boehm Charles Boehm is offline
Build Team Lead, Weapons Officer
AKA: Charles
FRC #2175 (The Fighting Calculators)
Team Role: Leadership
 
Join Date: May 2013
Rookie Year: 2013
Location: Minnesota
Posts: 56
Charles Boehm is a jewel in the roughCharles Boehm is a jewel in the roughCharles Boehm is a jewel in the rough
Re: iPhone Driver Station!!!

Very cool! This would be an awesome tool for demos or sponsor events!
__________________
Achievements since I joined
2016 Minnesota North Star Regional - Winners (Thanks 3130 and 3042) -Industrial Safety Award - Gracious Proffesionalism Award
2014 Minnesota State Champions - Rank #1 (Thanks 2052 and 4778)
2014 Archimedes Division - Quarter finalists (Thanks to 399 and 2056)
2014 North Star Semifinalists (Thanks 967 and 4607) - Creativity Award - Safety Award
2014 Northern Lights Winners (Thanks 359 and 2502) - Excellence in Engineering - Safety Award
2013 Minne-Mini Winners (Thanks 2169, 3883, and 4239)
2013 MRI Winners (Thanks 2052, 3130, and 3313)
2013 MN State Fair Winners
2013 IRI Participant
2013 Minnesota State Championship - Winners (Thanks 2052 and 4607)
2013 Galileo Division - Finalists (Thanks 2169 and 3284)
2013 North Star Regional - Winners (Thanks 967 and 4607) - Team Spirit Award
2013 Northern Lights Regional - Quarterfinalists (Thanks 3130 and 1675!) - Entrepreneurship Award
  #6   Spotlight this post!  
Unread 17-04-2014, 21:36
Mike Ounsworth's Avatar
Mike Ounsworth Mike Ounsworth is offline
Roboticist
FRC #3710 (Cyber Falcons)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Montreal, Qc, Canada
Posts: 22
Mike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the rough
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?
__________________
I am doing graduate work on autonomous aerial and underwater vehicles with McGill University's Mobile Robotics Lab.

I have been Lead Programming Mentor with Teams 296 and 3710, as well as Head Mentor for 2 years at 3710.
  #7   Spotlight this post!  
Unread 17-04-2014, 21:51
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
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
  #8   Spotlight this post!  
Unread 17-04-2014, 21:54
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: iPhone Driver Station!!!

Quote:
Originally Posted by yash101 View Post
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!
  #9   Spotlight this post!  
Unread 17-04-2014, 22:04
Mike Ounsworth's Avatar
Mike Ounsworth Mike Ounsworth is offline
Roboticist
FRC #3710 (Cyber Falcons)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Montreal, Qc, Canada
Posts: 22
Mike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the rough
Re: iPhone Driver Station!!!

Quote:
Originally Posted by Chiller View Post
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?
__________________
I am doing graduate work on autonomous aerial and underwater vehicles with McGill University's Mobile Robotics Lab.

I have been Lead Programming Mentor with Teams 296 and 3710, as well as Head Mentor for 2 years at 3710.
  #10   Spotlight this post!  
Unread 17-04-2014, 22:16
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 803
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: iPhone Driver Station!!!

Quote:
Originally Posted by Mike Ounsworth View Post
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.
  #11   Spotlight this post!  
Unread 17-04-2014, 22:33
alexander.h's Avatar
alexander.h alexander.h is offline
Lead Programmer, Captain, Driver
FRC #3975 (The Dragons)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Montreal, Quebec, Canada
Posts: 261
alexander.h has a spectacular aura aboutalexander.h has a spectacular aura aboutalexander.h has a spectacular aura about
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!
__________________



2012 - Rebound Rumble - Montreal Robotics Festival - Qualified 15th - Semifinalists thanks to 3379 and 3710 (Record : 8-8-1)
2013 - Ultimate Ascent - Montreal Robotics Festival - Qualified 33rd - Dean's List Finalist : Yazid Djenadi (Record : 4-8-0)
2014 - Aerial Assist - Montreal Robotics Festival - Qualified 9th (Record : 6-4-1)
2015 - Recycle Rush *** I predicted the game ***

  #12   Spotlight this post!  
Unread 18-04-2014, 00:09
Mike Ounsworth's Avatar
Mike Ounsworth Mike Ounsworth is offline
Roboticist
FRC #3710 (Cyber Falcons)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Montreal, Qc, Canada
Posts: 22
Mike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the roughMike Ounsworth is a jewel in the rough
Re: iPhone Driver Station!!!

Quote:
Originally Posted by AustinSchuh View Post
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!
__________________
I am doing graduate work on autonomous aerial and underwater vehicles with McGill University's Mobile Robotics Lab.

I have been Lead Programming Mentor with Teams 296 and 3710, as well as Head Mentor for 2 years at 3710.

Last edited by Mike Ounsworth : 18-04-2014 at 00:16.
  #13   Spotlight this post!  
Unread 18-04-2014, 00:22
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,187
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
Re: iPhone Driver Station!!!

Awesome! Any chance for iOS 6 compatibility?
__________________
2010: FRC 3043, Build Assistant
2011: FRC 3043, Head of Minibot subteam; FLL 12762, Team Captain
2012: FRC 3043, Electrical; FLL 12762, Team Captain; FTC 5670, Team Captain
2013: FRC 4301, Electrical, Team Co-Captain
2014: FRC 4301, Electrical/Programming, Team Co-Captain
2015: FRC 4301, Electrical/Programming, Team Captain
2016: FRC 4301, Chief Technical Officer; FTC 10860, 10861, and 11004: Mentor. Winner, Hub City Regional (3310 & 4063)
  #14   Spotlight this post!  
Unread 18-04-2014, 00:55
Dominick Ferone's Avatar
Dominick Ferone Dominick Ferone is offline
Registered User
FRC #5030 (The Second Mouse)
Team Role: College Student
 
Join Date: Dec 2012
Rookie Year: 2009
Location: Plainview NY
Posts: 250
Dominick Ferone is just really niceDominick Ferone is just really niceDominick Ferone is just really niceDominick Ferone is just really nice
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.
__________________

2010-2013 Team 353 The POBots - Student, 2014-present Alumni.


2014- present Team 5030 The Second Mouse - Mentor and Founder.
  #15   Spotlight this post!  
Unread 18-04-2014, 01:16
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: iPhone Driver Station!!!

Quote:
Originally Posted by Dominick Ferone View Post
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.
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


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

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