Go to Post Safety is a practice, not a number. - Alan Anderson [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: 4 votes, 5.00 average. Display Modes
  #76   Spotlight this post!  
Unread 23-05-2014, 19:35
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Android Driver Station

I got it installed on my tablet (an HP Touchpad running CyanogenMod), and the layout looks fine. I haven't been able to test it on our bot yet since we were busy packing for BattleCry .
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
  #77   Spotlight this post!  
Unread 23-05-2014, 20:05
Dr.Gusta's Avatar
Dr.Gusta Dr.Gusta is offline
Registered User
FRC #5107 (The Neurotoxins)
Team Role: CAD
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Upland, CA
Posts: 155
Dr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of light
Re: Android Driver Station

Quote:
Originally Posted by Dr.Gusta View Post
I have a Galaxy S4 and I don't have the option to set my subnet mask and it is asking me for a lot more information. Like Default Gateway, DNS, etc when I try to set up a static IP as instructed.
Okay so I got this figured out and got connected to the robot but the controls are unresponsive. When I enable the robot in the app the compressor comes on so I know something is happening but I can not control the robot at all. The status light also never tells me the robot is enabled.
  #78   Spotlight this post!  
Unread 23-05-2014, 20:55
raystubbs's Avatar
raystubbs raystubbs is offline
Programmer, Builder, Designer
FRC #2657 (Thundercats)
Team Role: Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Deming NM
Posts: 121
raystubbs will become famous soon enough
Re: Android Driver Station

Quote:
Originally Posted by Dr.Gusta View Post
Okay so I got this figured out and got connected to the robot but the controls are unresponsive. When I enable the robot in the app the compressor comes on so I know something is happening but I can not control the robot at all. The status light also never tells me the robot is enabled.
When did you download the app? It has been changed quite a bit since the first upload. If anyone else has a problem like this please let us know.

Edit: Also, if the robot was not enabled than the compressor would not work would it?
__________________
"If all else fails, read the instructions."

Last edited by raystubbs : 23-05-2014 at 21:01.
  #79   Spotlight this post!  
Unread 23-05-2014, 21:04
Dr.Gusta's Avatar
Dr.Gusta Dr.Gusta is offline
Registered User
FRC #5107 (The Neurotoxins)
Team Role: CAD
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Upland, CA
Posts: 155
Dr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of light
Re: Android Driver Station

I am running the most up to date version and the compressor does not come on until I hit enable but nothing else works.
  #80   Spotlight this post!  
Unread 23-05-2014, 21:09
raystubbs's Avatar
raystubbs raystubbs is offline
Programmer, Builder, Designer
FRC #2657 (Thundercats)
Team Role: Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Deming NM
Posts: 121
raystubbs will become famous soon enough
Re: Android Driver Station

Quote:
Originally Posted by Dr.Gusta View Post
I am running the most up to date version and the compressor does not come on until I hit enable but nothing else works.
I'll look into it, it is strange that it wouldn't work, I was just using it. Are you using a phone or tablet? Large (5-7"), normal (3-4"), or small (<3")?
__________________
"If all else fails, read the instructions."
  #81   Spotlight this post!  
Unread 23-05-2014, 21:46
Dr.Gusta's Avatar
Dr.Gusta Dr.Gusta is offline
Registered User
FRC #5107 (The Neurotoxins)
Team Role: CAD
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Upland, CA
Posts: 155
Dr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of lightDr.Gusta is a glorious beacon of light
Re: Android Driver Station

Quote:
Originally Posted by raystubbs View Post
I'll look into it, it is strange that it wouldn't work, I was just using it. Are you using a phone or tablet? Large (5-7"), normal (3-4"), or small (<3")?
I am using a Galaxy S4
  #82   Spotlight this post!  
Unread 23-05-2014, 23:12
raystubbs's Avatar
raystubbs raystubbs is offline
Programmer, Builder, Designer
FRC #2657 (Thundercats)
Team Role: Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Deming NM
Posts: 121
raystubbs will become famous soon enough
Re: Android Driver Station

Quote:
Originally Posted by Dr.Gusta View Post
I am using a Galaxy S4
OK, I'll see what I can find out, but I let out for summer vacation today and am going home to Mexico, so I will not have access to a robot.
__________________
"If all else fails, read the instructions."
  #83   Spotlight this post!  
Unread 24-05-2014, 05:57
dmaciel10123 dmaciel10123 is offline
The Everything Guy
AKA: David Maciel
FRC #3525 (The Nuts and Bolts of Fury)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 100
dmaciel10123 is an unknown quantity at this point
Quote:
Originally Posted by raystubbs View Post
OK, I'll see what I can find out, but I let out for summer vacation today and am going home to Mexico, so I will not have access to a robot.
I'll have access to a robot for the weekend if you need me to take a look at anything
__________________
  #84   Spotlight this post!  
Unread 24-05-2014, 14:29
raystubbs's Avatar
raystubbs raystubbs is offline
Programmer, Builder, Designer
FRC #2657 (Thundercats)
Team Role: Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Deming NM
Posts: 121
raystubbs will become famous soon enough
Re: Android Driver Station

Quote:
Originally Posted by dmaciel10123 View Post
I'll have access to a robot for the weekend if you need me to take a look at anything
I would appreciate if you could see what you can find out about Dr.Gusta's problem, you have a galaxy right? If the app works on your phone than there is no reason why it should not work on his. Thanks for all the help you have given.

I found out something about the video, it may not work, but if you would like to try it:

On the example of video code in one of my previous posts I made the URI as:
"rtsp://10.xx.yy.11/axis-media/media.3gp"

It should have been :
"rtsp://10.xx.yy.11:554/axis-media/media.3gp?videocodec=h264"

In the second URI I added the :554 after the IP address and at the end I added ?videocodec=h264 which is not necessary except for choosing the video settings, it is unneeded for the default settings.
__________________
"If all else fails, read the instructions."
  #85   Spotlight this post!  
Unread 24-05-2014, 15:06
raystubbs's Avatar
raystubbs raystubbs is offline
Programmer, Builder, Designer
FRC #2657 (Thundercats)
Team Role: Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Deming NM
Posts: 121
raystubbs will become famous soon enough
Re: Android Driver Station

I added code to support physical joysticks and buttons if anyone wants to try it out, I have no idea if it will work, have not tested it at all.
__________________
"If all else fails, read the instructions."
  #86   Spotlight this post!  
Unread 24-05-2014, 23:01
dmaciel10123 dmaciel10123 is offline
The Everything Guy
AKA: David Maciel
FRC #3525 (The Nuts and Bolts of Fury)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 100
dmaciel10123 is an unknown quantity at this point
Re: Android Driver Station

I'll see what I can do tomorrow, sorry. Didn't have much spare time today haha. Also, I found where the single image is saved, it's at http://10.xx.xx.11/axis-cgi/jpg/image.cgi so I modified my code to load from that with the default settings at about 30 FPS, so I'll see if that works tomorrow as well. I may need to work on a way to get the regular image rather than the CGI page, though, so I've been looking at various JPEG Decoder tutorials trying to find out what to do.
__________________
  #87   Spotlight this post!  
Unread 25-05-2014, 00:28
raystubbs's Avatar
raystubbs raystubbs is offline
Programmer, Builder, Designer
FRC #2657 (Thundercats)
Team Role: Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Deming NM
Posts: 121
raystubbs will become famous soon enough
Re: Android Driver Station

Quote:
Originally Posted by dmaciel10123 View Post
I'll see what I can do tomorrow, sorry. Didn't have much spare time today haha. Also, I found where the single image is saved, it's at http://10.xx.xx.11/axis-cgi/jpg/image.cgi so I modified my code to load from that with the default settings at about 30 FPS, so I'll see if that works tomorrow as well. I may need to work on a way to get the regular image rather than the CGI page, though, so I've been looking at various JPEG Decoder tutorials trying to find out what to do.
Thanks.
I was messing with the camera a while ago and found another image file at http://10.xx.xx.11/jpg/image.jpg for if the other doesn't work.
__________________
"If all else fails, read the instructions."
  #88   Spotlight this post!  
Unread 25-05-2014, 07:17
dmaciel10123 dmaciel10123 is offline
The Everything Guy
AKA: David Maciel
FRC #3525 (The Nuts and Bolts of Fury)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 100
dmaciel10123 is an unknown quantity at this point
Re: Android Driver Station

Oh, thanks haha. I wrote some code that should be able to get the image from the CGI page, but if it doesn't work (and for some reason I feel like it won't) I'll just switch it over to use the URL you found.
__________________
  #89   Spotlight this post!  
Unread 25-05-2014, 19:30
dmaciel10123 dmaciel10123 is offline
The Everything Guy
AKA: David Maciel
FRC #3525 (The Nuts and Bolts of Fury)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 100
dmaciel10123 is an unknown quantity at this point
Okay, so, I tried the app today after we got eliminated and everything worked: joysticks and buttons. I still haven't gotten the image to show but I am continuing to work on it and hope to have it working soon.
__________________
  #90   Spotlight this post!  
Unread 25-05-2014, 22:54
raystubbs's Avatar
raystubbs raystubbs is offline
Programmer, Builder, Designer
FRC #2657 (Thundercats)
Team Role: Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Deming NM
Posts: 121
raystubbs will become famous soon enough
Re: Android Driver Station

Quote:
Originally Posted by dmaciel10123 View Post
Okay, so, I tried the app today after we got eliminated and everything worked: joysticks and buttons. I still haven't gotten the image to show but I am continuing to work on it and hope to have it working soon.
It's good that everything still works. Any idea why Dr.Gusta's didn't work? I have no idea.
__________________
"If all else fails, read the instructions."
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 18:59.

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