|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#76
|
|||
|
|||
|
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
. |
|
#77
|
||||
|
||||
|
Re: Android Driver Station
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
|
||||
|
||||
|
Re: Android Driver Station
Quote:
Edit: Also, if the robot was not enabled than the compressor would not work would it? Last edited by raystubbs : 23-05-2014 at 21:01. |
|
#79
|
||||
|
||||
|
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
|
||||
|
||||
|
Re: Android Driver Station
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")?
|
|
#81
|
||||
|
||||
|
Re: Android Driver Station
I am using a Galaxy S4
|
|
#82
|
||||
|
||||
|
Re: Android Driver Station
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.
|
|
#83
|
|||
|
|||
|
I'll have access to a robot for the weekend if you need me to take a look at anything
|
|
#84
|
||||
|
||||
|
Re: Android Driver Station
Quote:
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. |
|
#85
|
||||
|
||||
|
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.
|
|
#86
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: Android Driver Station
Quote:
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. |
|
#88
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: Android Driver Station
It's good that everything still works. Any idea why Dr.Gusta's didn't work? I have no idea.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|