Go to Post If you guys ever need anything, just let us know. Just remember you have the FIRST family behind you.<3 - hayleybayley217 [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: 3 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 17-12-2014, 01:39
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 325
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Scouting App Development

Quote:
Originally Posted by ExecutiveAssist View Post
Unfortunately, despite being in the same language, bluetooth communications between an Android Java app and a computer running a Java app are hard to establish.

Once networking works, the server and client apps seem fairly self evident, presuming you know what you want to collect
Can you just use a Bluetooth PAN profile for this, then implement everything using TCP/IP? I have little experience with Bluetooth, but I figure once you have a PAN set up, any of the server/client type programs should work no problem.

I just tried this out with a simple http server on a laptop and connected to my Galaxy S5 and it seemed to work just fine. I've read that the protocol is limit to 8 devices and 3Mbps, but that should be more than enough for simple scouting data.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
  #17   Spotlight this post!  
Unread 18-12-2014, 14:39
IceStorm IceStorm is offline
Mentor FRC 5046, FTC 8688
AKA: Chad
FRC #5046 (Jacked Up Jackets)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 137
IceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of light
Send a message via AIM to IceStorm Send a message via Yahoo to IceStorm
Quote:
Originally Posted by wt200999 View Post
Can you just use a Bluetooth PAN profile for this, then implement everything using TCP/IP? I have little experience with Bluetooth, but I figure once you have a PAN set up, any of the server/client type programs should work no problem.



I just tried this out with a simple http server on a laptop and connected to my Galaxy S5 and it seemed to work just fine. I've read that the protocol is limit to 8 devices and 3Mbps, but that should be more than enough for simple scouting data.

Bluetooth PAN is the way that were working towards right now. One of our biggest challenges is that we won't have a common device to build an app for since we are relying on student/mentor provided tablets. So our solution will be server/client based. The server will be a raspberry Pi running a basic LAMP setup and then having the clients access using there native web browser.

I have the bluetooth PAN working pretty good on the Pi. Next step is to start developing the code and database.
__________________

  #18   Spotlight this post!  
Unread 03-01-2015, 22:49
pensono pensono is offline
Registered User
FRC #5495
 
Join Date: Jan 2015
Location: Snohomish, WA
Posts: 15
pensono is an unknown quantity at this point
Re: Scouting App Development

I'm also working on a scouting app using bluetooth. Here's a good blog post explaining how to connect an android device to a computer, using JR-82 and bluetooth. I haven't tried it yet, but it looks like it will work alright.

The network design I'm planning on implementing would be completely decentralized, able to sync data across devices in the pit without internet access automatically, and completely network fault tolerant, not being tied to a laptop in the stands.

To address OP's question though, I don't think 2-3 months is quite enough time to learn how to do mobile app development. Last year, I implemented a system that relied on manually copying data to and from a central laptop over a USB cord with windows explorer. It was pretty ghetto, but it worked pretty well. You can see the source for the desktop version here, and the android version can be downloaded here. Let me know if you want me to put the source for that up. This is what I managed to make in about 3 months on my own with experience with Java. I'm not saying that to brag at all though, I'm not very happy with how the app turned out, and alot of the code inside is absolutely horrible because I was very rushed with mid competition bug-fixes.

All that being said, I thought it was a great experience, and I learned a lot by doing it, and you should definitely give it a shot, whatever method you choose. Just make sure you have a good backup solution like paper or another app, like I did, for if your app isn't ready in time. You can always take what you've made and polish it up in the off season for next year.
  #19   Spotlight this post!  
Unread 04-01-2015, 19:13
weaversam8 weaversam8 is offline
Team Captain
AKA: Sam Weaver
FRC #4534 (Wired Wizards)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Wilmington, North Carolina
Posts: 137
weaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to behold
Though it is debatable, I am under the impression that Bluetooth is prohibited at competitions.
__________________
ORB Haow!

  #20   Spotlight this post!  
Unread 04-01-2015, 19:19
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,090
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Scouting App Development

Quote:
Originally Posted by weaversam8 View Post
Though it is debatable, I am under the impression that Bluetooth is prohibited at competitions.
T4 prohibits WI-FI, but not Bluetooth.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #21   Spotlight this post!  
Unread 05-01-2015, 10:20
mannyman34's Avatar
mannyman34 mannyman34 is offline
Director of Operations & logistics
FRC #2729 (Storm Robotics)
Team Role: Mechanical
 
Join Date: Jan 2015
Rookie Year: 2011
Location: New Jersey
Posts: 4
mannyman34 is an unknown quantity at this point
Re: Scouting App Development

Or team had an app for android last year and and ended up running into the problem of transferring data sheet to the fact that we couldn't use Bluetooth and the tablets had no connection to the internet. To get around this we had to convert the data into a QR code and then scanned it into a master tablet that then sent all the data to a computer to be processed. That being said we had very old tablets running android 3.0 if you iPads are new entity l enough you may be able to use NFC communication. I don't know if apple allows developers to access this feature though.
  #22   Spotlight this post!  
Unread 05-01-2015, 12:13
jlmcmchl jlmcmchl is offline
FF - The Breakfast Company
AKA: Jordan McMichael
FRC #0027 (Team RUSH 27)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Clarkston,MI
Posts: 327
jlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud ofjlmcmchl has much to be proud of
Re: Scouting App Development

Quote:
Originally Posted by mannyman34 View Post
Or team had an app for android last year and and ended up running into the problem of transferring data sheet to the fact that we couldn't use Bluetooth and the tablets had no connection to the internet. To get around this we had to convert the data into a QR code and then scanned it into a master tablet that then sent all the data to a computer to be processed. That being said we had very old tablets running android 3.0 if you iPads are new entity l enough you may be able to use NFC communication. I don't know if apple allows developers to access this feature though.
If i remember correctly, the NFC is only available for using Apple Pay, on the 6th generation iPhones.

The way you used QR codes is interesting! In previous years, I had considered storing match data as bits in a picture, which could be copied form the tablet to a computer. There were caveats in the solution that I hadn't considered, but i'm glad to see that somebody has thought out of the box with scouting and was successful.
__________________


Field reset: Kettering Kickoff ('13, '14), Kettering ('14, '15), Bedford ('14), Woodhaven ('16), Carver ('16), Einstein! ('16)
Referee: Bedford ('15), MARC ('15, '16), Kettering Kickoff ('15, '16), Kettering District (#1&2: '16), Troy ('16)
  #23   Spotlight this post!  
Unread 05-01-2015, 12:59
JamesD's Avatar
JamesD JamesD is offline
[:o)
AKA: James David
FRC #0330 (BeachBots)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2008
Location: Torrance, CA
Posts: 19
JamesD is an unknown quantity at this point
Re: Scouting App Development

See this link for other scouting apps:
http://www.chiefdelphi.com/forums/sh...d.php?t=130174

Team 330 worked with a Scouting App developed by Team 1073 last year that transferred files from the tablets to a scouting computer via Bluetooth and it worked very well. Bluetooth is legal at competitions. However, this App is written in Java and built to compile for Android devices - not IOS. It's much easier to side-load apps on Android. There is a bit of setup required on the central scouting computer.

Students can easily edit a spreadsheet of data elements to collect that is imported and used to automatically build the app. No coding required unless you want to modify the default App. Results can be viewed in a webrowser on the main computer or uploaded to a hosted website (via tethered cell phone) and made available to anyone with Internet access (i.e. cell phones in the pits, etc.).

Ken (a.k.a RoboScout) was a great help in getting this working for us.
See this post: http://www.chiefdelphi.com/forums/sh...95&postcount=8
  #24   Spotlight this post!  
Unread 08-01-2015, 16:46
CodeWhisperer CodeWhisperer is offline
FRC Team 1829 &quot;Carbonauts&quot; Captain
AKA: Nick Mosher
FRC #1829 (Carbonauts)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Onley
Posts: 3
CodeWhisperer is an unknown quantity at this point
Re: Scouting App Development

So I don't know how useful this will be to you, I only just recently found out about this, but Apache Cordova is a tool that, if I understand correctly, builds native apps (i.e. iOS, Android, etc.) for different platforms based on a common description of how the app works in HTML and CSS and the like. For your case since you said you guys have iPads that may work, but you do still need to have the Apple Developer license which is $99/year.

Here's the iOS platform guide:
http://cordova.apache.org/docs/en/4....form%2 0Guide

I don't know if this will be a viable option for your team, but I thought I'd suggest it so you can at least consider it.
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 00:17.

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