iPhone Create Controller Project

6 replies [Last post]
xander787
xander787's picture
Title: Youth Advisory Council Member/Admin
Joined: 04/03/2009
Posts:
BotPoints: 62
User offline. Last seen 9 years 41 weeks ago.

Hey guys, check out this article I just posted.

http://community.botball.org/articles/iphone-create-controller-project-n...

Real programmers don't comment their code. If it was hard to write it should be hard to read!
The only valid measurement of code quality: WTFs/minute

Jeremy Rand
Jeremy Rand's picture
Title: Botball Youth Advisory Council
Joined: 04/03/2009
Posts:
BotPoints: 1168
User offline. Last seen 7 years 18 weeks ago.

Hi Alexander,

Nice article. Is there any particular reason you decided not to wait until GCER 2010, so that you get a bit more recognition? (User Articles don't get the same level of exposure as GCER papers, as I'm sure you know.)

On the technical side, is there any particular reason you didn't go with the jailbroken iPhone? I haven't looked at iPhone homebrew yet, so I'm not sure how difficult the homebrew SDK's are to use, but from a software engineering standpoint, I imagine removing the Mac from the loop would certainly cut down on latency. How much latency do you get with your current setup?

(Besides, iPhone jailbreaking is a fun thing to educate high school students about! It gets them thinking outside the box.)

-Jeremy Rand
Senior Programmer, Team SNARC (2012-2013), Norman Advanced (2010-2011), Norman HS (2008-2009), Norman North (2005-2007), Whittier MS (2003-2004)
2012-2013 VP of Tech, 2011 President, Botball YAC (2009-2013)
Mentor, Alcott and Whittier MS

Jake_Hall
Jake_Hall's picture
Title: RocketBot
Joined: 06/30/2009
Posts:
BotPoints: 197
User offline. Last seen 12 years 20 hours ago.

Wow, that looks great, nice job!

Jake Hall
College Student

~Grand Valley State University Team Leader~
Beyond Botball: * Trinity College Robotics: * Mircomouse: * DARPA 2012:

xander787
xander787's picture
Title: Youth Advisory Council Member/Admin
Joined: 04/03/2009
Posts:
BotPoints: 62
User offline. Last seen 9 years 41 weeks ago.

Well I will not realistically be able to attend the 2010 GCER (although I definitely would have LOVED to have this presented at one of the GCERs) so I at least wanted some of you guys to see this. As far as why we didn't use the jailbroken iPhone to remove the mac- We actually initially tested ideas with this sort of setup, and actually found that when we used an un-jailbroken iPhone with a mac, the reliability was far higher and we received very very very little latency over an Ad-hoc network hosted by the mac. I personally have been working with the iPhone SDK for quite some time and its great, and as far as making jailbroken apps, its just about the same as the normal SDK but with less reliability and less restrictions (no such thing as a free lunch i guess!).

But I do have to say our final setup working marvelously! We wrote quite a lot of code to insure that all of the networking that was done went smoothly, and even made each device smart enough to know when packets were slowing down and they counter-acted this issue. So, to the end user when they were controlling the create with the phone they felt no "lag" in the create at all!

Real programmers don't comment their code. If it was hard to write it should be hard to read!
The only valid measurement of code quality: WTFs/minute

xander787
xander787's picture
Title: Youth Advisory Council Member/Admin
Joined: 04/03/2009
Posts:
BotPoints: 62
User offline. Last seen 9 years 41 weeks ago.

BTW, did you get a chance to see the video that was attached to the article? What you think?

Real programmers don't comment their code. If it was hard to write it should be hard to read!
The only valid measurement of code quality: WTFs/minute

roomote
Title: NooBot
Joined: 11/03/2011
Posts:
BotPoints: 0
User offline. Last seen 10 years 47 weeks ago.

I responded to your article with links to my own Roomba iPhone remote project.

Anyone interested can see my Roomote webpage here: http://www.brianhpratt.net/roomote/

A link to the source code for the project can be found there.

Enjoy!

gibsongilbert
Title: NooBot
Joined: 08/06/2022
Posts:
BotPoints: 39
User offline. Last seen 1 day 7 hours ago.

Such a nice and amazing post and I really like it, and I also would like to share it on FM WhatsApp Apk if you allow me to share it...