Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Extra Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=68)
-   -   paper: Android Scouting App for Arial Assist (http://www.chiefdelphi.com/forums/showthread.php?t=126976)

tr6scott 21-02-2014 06:31

paper: Android Scouting App for Arial Assist
 
Thread created automatically to discuss a document in CD-Media.

Android Scouting App for Arial Assist by tr6scott

jawebste 23-02-2014 13:55

Re: paper: Android Scouting App for Arial Assist
 
When I run the google script I receive the following error:
TypeError: Cannot read property "parameter" from undefined. (line 5, file "Code")Dismiss

I think I am following the directions. This occurs during Step 3 at the top of page 3 of the instructions. My cell is dead a reply here is probably best. Thanks

MasterEric 24-02-2014 10:16

Re: paper: Android Scouting App for Arial Assist
 
Quote:

Originally Posted by jawebste (Post 1348434)
When I run the google script I receive the following error:
TypeError: Cannot read property "parameter" from undefined. (line 5, file "Code")Dismiss

I think I am following the directions. This occurs during Step 3 at the top of page 3 of the instructions. My cell is dead a reply here is probably best. Thanks

That is an error that is expected. Since you don't have a text coming through, there is no "parameter". The won't actually run until a text comes through, but you have to try to run so that you can go through the Google permissions. The permissions allow the script to access the Google Spreadsheet.

I will add that to the instructions. Let me know if you have any other questions, it will help me to write more complete instructions.

MasterEric 24-02-2014 12:17

Re: paper: Android Scouting App for Arial Assist
 
Please note the following:

*All buttons use a “long-click” to subtract, that way if a button is pressed accidentally it can be subtracted. The Assist button is a toggle.

*Data is submitted every time a goal is scored , the end cycle button is pressed or the submit button is pressed. When you view the data in the spreadsheet, there WILL BE duplicates. The “remove duplicate rows” Google script can be used in the autonomous data (sheet 1) and the robot description sheet(sheet 3). In the teleop data sheet that script will not work because of the timestamp. In that case, rows can be sorted by robot number, then cycle number. If there is multiple rows for one cycle then those extra rows can be removed. We may create a script for just removing rows where data is duplicated just in certain rows, but we have not done that yet.

MasterEric 26-02-2014 10:31

Re: paper: Android Scouting App for Arial Assist
 
Go to TORC website to download latest version of this app and the new and improved script file that will prevent duplicate data from being entered into the spreadsheet.

tr6scott 26-02-2014 12:30

Re: paper: Android Scouting App for Arial Assist
 
Updated files are now posted here, please update if you have downloaded prior to 2014-02-26.

MasterEric 27-02-2014 08:14

Re: paper: Android Scouting App for Arial Assist
 
Quote:

Originally Posted by MasterEric (Post 1348917)
Please note the following:

*All buttons use a “long-click” to subtract, that way if a button is pressed accidentally it can be subtracted. The Assist button is a toggle.

*Data is submitted every time a goal is scored , the end cycle button is pressed or the submit button is pressed. When you view the data in the spreadsheet, there WILL BE duplicates. The “remove duplicate rows” Google script can be used in the autonomous data (sheet 1) and the robot description sheet(sheet 3). In the teleop data sheet that script will not work because of the timestamp. In that case, rows can be sorted by robot number, then cycle number. If there is multiple rows for one cycle then those extra rows can be removed. We may create a script for just removing rows where data is duplicated just in certain rows, but we have not done that yet.

The row duplication issue has been fixed by the new script. Use script_v5.

MasterEric 27-02-2014 09:47

Re: paper: Android Scouting App for Arial Assist
 
Users of this app will need to go in and change the events list to their own team's events. The "Choose Event" button is a list picker. Go to the properties and in the "ElementsFromString" property, type in events separated by a comma.

MasterEric 27-02-2014 09:59

Re: paper: Android Scouting App for Arial Assist
 
Up to version 5, this app separates the string by commas. We will fix this in the future but in the meantime don't use comma's in your comments or team number or match number. If you do, your data will not go into the expected places on the spreadsheet.

Anthony4004 27-02-2014 15:02

Re: paper: Android Scouting App for Arial Assist
 
Just installed v5 however the duplicates are still there, as well as differing duplicates.

https://docs.google.com/spreadsheet/...rive_web#gid=0


I believe that a tutorial video would be very helpful.

MasterEric 27-02-2014 15:24

Re: paper: Android Scouting App for Arial Assist
 
Quote:

Originally Posted by Anthony4004 (Post 1350588)
Just installed v5 however the duplicates are still there, as well as differing duplicates.

https://docs.google.com/spreadsheet/...rive_web#gid=0


I believe that a tutorial video would be very helpful.

Did you use the v5 script (as well as app inventor v5 .aia file)?

MasterEric 27-02-2014 15:32

Re: paper: Android Scouting App for Arial Assist
 
Quote:

Originally Posted by Anthony4004 (Post 1350588)
Just installed v5 however the duplicates are still there, as well as differing duplicates.

https://docs.google.com/spreadsheet/...rive_web#gid=0


I believe that a tutorial video would be very helpful.

Did you use the v5 script (as well as app inventor v5 .aia file)?

Just as a side, it looks like you pressed the submit button without entering any data for the tele cycle. The way it's set up, it will enter the auto data when the End Cycle button is pressed, or a goal button is pressed in tele (either high or low), so you don't have to scroll down and enter the auto data at all.

Regarding a tutorial video, yes we probably should put out a tutorial. This app is really meant as a jumping off point for programmers on other teams to use, and build on. It's definitely not a perfect end product.

Anthony4004 27-02-2014 15:43

Re: paper: Android Scouting App for Arial Assist
 
Yes, I used all the new updates

MasterEric 27-02-2014 15:59

Re: paper: Android Scouting App for Arial Assist
 
Quote:

Originally Posted by Anthony4004 (Post 1350618)
Yes, I used all the new updates

You need to press the "start cycle" button. The cycle number in your tele data was 0, which is one of the parameters that the script checks.
Also the data was different in each row of the data on the third sheet because the telepoints changed.
...still not quite sure why it entered another row in autonomous that was identical. I'm trying to duplicate it and it doesn't happen.

MrRiedemanJACC 27-02-2014 22:01

Re: paper: Android Scouting App for Arial Assist
 
One of my students downloaded and set it up today. Looks pretty awesome! Thanks for sharing!!!!


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

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