Go to Post I like ice cream. - Andy Baker [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-02-2014, 06:31
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 526
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
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
Reply With Quote
  #2   Spotlight this post!  
Unread 23-02-2014, 13:55
jawebste's Avatar
jawebste jawebste is offline
Mentor - HAZMATs 2145
AKA: Jean-Ann Webster
FRC #2145 (HAZMATs)
Team Role: Mentor
 
Join Date: Sep 2008
Rookie Year: 2007
Location: Lake Fenton
Posts: 27
jawebste is a jewel in the roughjawebste is a jewel in the roughjawebste is a jewel in the roughjawebste is a jewel in the rough
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
Reply With Quote
  #3   Spotlight this post!  
Unread 24-02-2014, 10:16
MasterEric's Avatar
MasterEric MasterEric is offline
Bacon. 'nuff said.
AKA: Eric Myllyoja (E2)
FRC #2137 (Oxford Robocats)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Oxford High School
Posts: 64
MasterEric is an unknown quantity at this point
Re: paper: Android Scouting App for Arial Assist

Quote:
Originally Posted by jawebste View Post
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-02-2014, 12:17
MasterEric's Avatar
MasterEric MasterEric is offline
Bacon. 'nuff said.
AKA: Eric Myllyoja (E2)
FRC #2137 (Oxford Robocats)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Oxford High School
Posts: 64
MasterEric is an unknown quantity at this point
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 26-02-2014, 10:31
MasterEric's Avatar
MasterEric MasterEric is offline
Bacon. 'nuff said.
AKA: Eric Myllyoja (E2)
FRC #2137 (Oxford Robocats)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Oxford High School
Posts: 64
MasterEric is an unknown quantity at this point
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 26-02-2014, 12:30
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 526
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
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.
__________________
The sooner we get behind schedule, the more time we have to catch up.

Reply With Quote
  #7   Spotlight this post!  
Unread 27-02-2014, 08:14
MasterEric's Avatar
MasterEric MasterEric is offline
Bacon. 'nuff said.
AKA: Eric Myllyoja (E2)
FRC #2137 (Oxford Robocats)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Oxford High School
Posts: 64
MasterEric is an unknown quantity at this point
Re: paper: Android Scouting App for Arial Assist

Quote:
Originally Posted by MasterEric View Post
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.
Reply With Quote
  #8   Spotlight this post!  
Unread 27-02-2014, 09:47
MasterEric's Avatar
MasterEric MasterEric is offline
Bacon. 'nuff said.
AKA: Eric Myllyoja (E2)
FRC #2137 (Oxford Robocats)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Oxford High School
Posts: 64
MasterEric is an unknown quantity at this point
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.
Reply With Quote
  #9   Spotlight this post!  
Unread 27-02-2014, 09:59
MasterEric's Avatar
MasterEric MasterEric is offline
Bacon. 'nuff said.
AKA: Eric Myllyoja (E2)
FRC #2137 (Oxford Robocats)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Oxford High School
Posts: 64
MasterEric is an unknown quantity at this point
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.
Reply With Quote
  #10   Spotlight this post!  
Unread 27-02-2014, 15:02
Anthony4004's Avatar
Anthony4004 Anthony4004 is offline
Anthony4004
FRC #4004 (MARS Rovers)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Muskegon
Posts: 171
Anthony4004 is an unknown quantity at this point
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.
Reply With Quote
  #11   Spotlight this post!  
Unread 27-02-2014, 15:24
MasterEric's Avatar
MasterEric MasterEric is offline
Bacon. 'nuff said.
AKA: Eric Myllyoja (E2)
FRC #2137 (Oxford Robocats)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Oxford High School
Posts: 64
MasterEric is an unknown quantity at this point
Re: paper: Android Scouting App for Arial Assist

Quote:
Originally Posted by Anthony4004 View Post
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)?
Reply With Quote
  #12   Spotlight this post!  
Unread 27-02-2014, 15:32
MasterEric's Avatar
MasterEric MasterEric is offline
Bacon. 'nuff said.
AKA: Eric Myllyoja (E2)
FRC #2137 (Oxford Robocats)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Oxford High School
Posts: 64
MasterEric is an unknown quantity at this point
Re: paper: Android Scouting App for Arial Assist

Quote:
Originally Posted by Anthony4004 View Post
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.
Reply With Quote
  #13   Spotlight this post!  
Unread 27-02-2014, 15:43
Anthony4004's Avatar
Anthony4004 Anthony4004 is offline
Anthony4004
FRC #4004 (MARS Rovers)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Muskegon
Posts: 171
Anthony4004 is an unknown quantity at this point
Re: paper: Android Scouting App for Arial Assist

Yes, I used all the new updates
Reply With Quote
  #14   Spotlight this post!  
Unread 27-02-2014, 15:59
MasterEric's Avatar
MasterEric MasterEric is offline
Bacon. 'nuff said.
AKA: Eric Myllyoja (E2)
FRC #2137 (Oxford Robocats)
Team Role: Programmer
 
Join Date: Dec 2012
Rookie Year: 2013
Location: Oxford High School
Posts: 64
MasterEric is an unknown quantity at this point
Re: paper: Android Scouting App for Arial Assist

Quote:
Originally Posted by Anthony4004 View Post
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.
Reply With Quote
Reply


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 21:10.

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