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)

Greg McKaskle 18-04-2014 07:18

Re: iPhone Driver Station!!!
 
That is a very cool achievement, but like Austin, I request that you think about safety and test, test, test. Then consider how confident you are that nobody will be hurt using your DS. Then consider whether modifications to the DS by others are likely to stay safe.

It looks like the app only supports teleOp enable and disable modes. If that is the case, perhaps you should do what the Parrot Drone does, with thumbs-lifted transitioning to disabled. If you implement Auto, perhaps the user has to hold a button to keep auto enabled. Can the robot be enabled when on other screens like camera?

Perhaps you also want a scaling factor on the joysticks. This can be done on the robot code as well, but if others try to drive their robot with the app, can they control it?

What happens when two DS Apps connect to the robot? Same question for a FIRST DS and a DS App? The FIRST DS Apps detect one another and the new one asking the older one to bow out, but that hasn't always been the case, and it caused issues.

To repeat. Cool accomplishment. Be safe.

Greg McKaskle

rich2202 18-04-2014 08:15

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by Chiller (Post 1375679)
Also no implementation for the camera it is all independent and everything you need is in the app!

You should be able to use a browser to access the video feed from an Axis camera on the robot.

JohnFogarty 18-04-2014 10:15

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by rich2202 (Post 1375775)
You should be able to use a browser to access the video feed from an Axis camera on the robot.

Yeah, but an iPhone can't run multiple apps at once on the same screen like Android devices can.

Chiller 18-04-2014 13:01

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by rich2202 (Post 1375775)
You should be able to use a browser to access the video feed from an Axis camera on the robot.

What I meant to say was that the camera will not have to depend on your robot code, it accesses the camera through the ip.

Chiller 18-04-2014 13:05

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by Greg McKaskle (Post 1375770)
That is a very cool achievement, but like Austin, I request that you think about safety and test, test, test. Then consider how confident you are that nobody will be hurt using your DS. Then consider whether modifications to the DS by others are likely to stay safe.

It looks like the app only supports teleOp enable and disable modes. If that is the case, perhaps you should do what the Parrot Drone does, with thumbs-lifted transitioning to disabled. If you implement Auto, perhaps the user has to hold a button to keep auto enabled. Can the robot be enabled when on other screens like camera?

Perhaps you also want a scaling factor on the joysticks. This can be done on the robot code as well, but if others try to drive their robot with the app, can they control it?

What happens when two DS Apps connect to the robot? Same question for a FIRST DS and a DS App? The FIRST DS Apps detect one another and the new one asking the older one to bow out, but that hasn't always been the case, and it caused issues.

To repeat. Cool accomplishment. Be safe.

Greg McKaskle

This does have support for teleop and auto and the robot stays active if you change to camera view, the camera view is just a camera right in between the joysticks.

And yes it is pretty dangerous to have modified the FRC ds, I have had it where the robot has gone out of control from the joysticks probably getting stuck in a full on state, I will continue to test.

ekapalka 19-04-2014 00:59

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by Chiller (Post 1375643)
Unfortunately no since I do not have an android device...

The Android SDK has an emulator for devices :) Its also free. I get the impression that they did everything in their power to encourage people to develop apps for it

geomapguy 19-04-2014 01:04

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by ekapalka (Post 1376254)
The Android SDK has an emulator for devices :) Its also free. I get the impression that they did everything in their power to encourage people to develop apps for it

Also, google play's app-critiquing process is not so rigorous

Chiller 19-04-2014 13:26

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by ekapalka (Post 1376254)
The Android SDK has an emulator for devices :) Its also free. I get the impression that they did everything in their power to encourage people to develop apps for it

Even though I am good at java ive never really took my time to develop for android...

Torrance 20-04-2014 05:44

Re: Team 4095 Presents: iPhone Driver Station!
 
Sounds super cool!

Can we make it run Cheesy Vision? On the downside, it would be particularly hard to take Cheesy Vision Selfies...

hiyou102 20-04-2014 07:45

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by Chiller (Post 1376377)
Even though I am good at java ive never really took my time to develop for android...

I'm sure there are plenty of FIRSTers who would be happy to port it to Android. Maybe even as part of FIRST Summer of Code. If you made the IOS version open source it would make it much easier to expand the app to new platforms.

Chiller 20-04-2014 12:18

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by hiyou102 (Post 1376710)
I'm sure there are plenty of FIRSTers who would be happy to port it to Android. Maybe even as part of FIRST Summer of Code. If you made the IOS version open source it would make it much easier to expand the app to new platforms.

Well I was planning on using this app as a fundraising technique, sell it for some on the app store and then our team will get a little extra money.

Maybe if we reach a quota or something I will release the source. But until then it will be closed source...

mman1506 20-04-2014 13:04

Re: iPhone Driver Station!!!
 
Quote:

Originally Posted by Chiller (Post 1376770)
Well I was planning on using this app as a fundraising technique, sell it for some on the app store and then our team will get a little extra money.

Maybe if we reach a quota or something I will release the source. But until then it will be closed source...

You could still sell the app and release it as open source. I doubt anyone would take the time to copy the code and publish the app if it was available for a reasonable price.

m1506m 29-04-2014 14:27

Or, there is another member working on the Android version already. http://www.chiefdelphi.com/forums/sh...d.php?t=129073

tech2077 29-04-2014 22:17

Re: Team 4095 Presents: iPhone Driver Station!
 
Do you have the protocol documented anywhere outside the source code, I am interested in writing a cross platform version of the driver station just for debugging and testing purposes and would be be very interested in the protocol documentation so I could go through with this project without having to go through with wiresharking the protocol.

Edit: It seems the protocol has been publish at http://www.chiefdelphi.com/media/papers/2266

Chiller 01-05-2014 13:26

Re: Team 4095 Presents: iPhone Driver Station!
 
Quote:

Originally Posted by tech2077 (Post 1380780)
Do you have the protocol documented anywhere outside the source code, I am interested in writing a cross platform version of the driver station just for debugging and testing purposes and would be be very interested in the protocol documentation so I could go through with this project without having to go through with wiresharking the protocol.

Edit: It seems the protocol has been publish at http://www.chiefdelphi.com/media/papers/2266

Ya you can find the protocol from like two different people if you try hard enough.


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

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