Go to Post It's not fair. it's not right, but stuff like this happens. If you don't get picked for finals tomorrow, get in those stands and cheer for those who did. Remember, this is FIRST. - wilsonmw04 [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 03-01-2016, 00:28
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,548
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
RIOdroid: RoboRIO + Android USB Communication

I've been working on this for a while and I'm finally to the point where I think it might be useful to other teams. This is still very young and will need a lot of work before it ever becomes really useful.

The basic idea for the project is to be able to use the power of inexpensive Android devices on FRC robots. Android devices are getting faster and cheaper and they include many sensors and also a mature code base to draw from.

What has been accomplished so far?
  • Complied Android Debug Bridge (ADB) for the roboRIO
  • Modified jadb and usb4java to work with the roboRIO
  • A port forwarding solution between an Android Device and external ports on the roboRIO (This allows for IP Webcam apps to work on the Android device)
  • Simple install script for copying over the needed files and installing needed packages on the roboRIO
  • None of this requires a rooted android device, so it can be used with most cheap pre-paid phones, etc.

Project Home: RIOdroid on Github

What can you currently do?
  • Forward ports from an Android device to the roboRIO and external ports
  • Run ADB commands from your Java code (including running Android shell commands from Java)
  • use LibUSB commands in Java (This will allow you to setup your roboRIO as an Android Accessory)

Most useful thing you can currently do.
  • Auto start a webcam server (like IP Webcam) and forward that port so you can view the video on your driverstation laptop with the web interface controls
  • RIOdroid-test project does this on boot, just have your android device running the webcam server on port 8080, connect the device to the roborio and power on the roborio, go to roborio-XXXX.local:8080 to view the video.

Volunteers
I'm not much of a programmer (anyone looking at the project can probably tell that) I just do it for FRC. If anyone with experience wants to help work on this please let me know. This is just a side project for me that I think could have some cool applications in the future.
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt

Last edited by AllenGregoryIV : 03-01-2016 at 01:01.
Reply With Quote
 


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 08:43.

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