OCCRA
Go to Post everyone loves photoshops of Dave... - lukevanoort [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 12-05-2017, 04:04 PM
Cole_Weaver's Avatar
Cole_Weaver Cole_Weaver is offline
Registered User
AKA: Cole Weaver
FRC #1517 (The Lumberjacks)
Team Role: Mechanical
 
Join Date: Dec 2017
Rookie Year: 2017
Location: Concord
Posts: 1
Cole_Weaver is an unknown quantity at this point
[FTC] Why when running the code on our android phone, does the app crash?

Thanks for the help,

Team#13742, The Lumberjacks, Concord NH, Bishop Brady High School.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-05-2017, 05:04 PM
MuskieProgramme MuskieProgramme is offline
Registered User
FRC #6420 (Fire Island Robotics)
Team Role: Alumni
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Muscatine, IA
Posts: 192
MuskieProgramme is just really niceMuskieProgramme is just really niceMuskieProgramme is just really niceMuskieProgramme is just really niceMuskieProgramme is just really nice
Re: [FTC] Why when running the code on our android phone, does the app crash?

The closest I can come with the information you've provided is that the app crashes because you did something wrong.
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 12-05-2017, 05:07 PM
Greg Needel's Avatar Unsung FIRST Hero
Greg Needel Greg Needel is offline
REVving up for a new season
FRC #2848 (All-sparks)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 2002
Location: Dallas, TX
Posts: 3,135
Greg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond reputeGreg Needel has a reputation beyond repute
Re: [FTC] Why when running the code on our android phone, does the app crash?

the most common reason for the app crashing is an issue with configuration files. If you call something in your code that is not in your config file or you have something mis-named. I would start there when debugging your code.
__________________
Greg Needel│www.robogreg.com
Co-founder REV Robotics LLC www.REVrobotics.com
2014 FRC World Champions with 254, 469, & 74
Reply With Quote
  #4   Spotlight this post!  
Unread 12-06-2017, 06:54 AM
phurley67's Avatar
phurley67 phurley67 is offline
Programming Mentor
AKA: Patrick Hurley
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 134
phurley67 will become famous soon enough
Quote:
Originally Posted by Cole_Weaver View Post
Thanks for the help.

You have to help us help you first. Ideally put all of your code in GitHub or someplace similar. If that is too foreign zip it up and upload to a Google drive and share the link here. Without access to your code the best we can do is guess.

So I will add one more guess. If the robot controller is actually crashing, that is you need to restart it on the phone, not an error message from an opmode, one possibility is that you have a method calling itself (recursion), over and over until the stack overflows. This is not something rookie teams generally recounter, but it is one of the only things I have seen crash the driver station.
__________________
Lightning Robotics -- Give me an Aaaaa

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 05:35 PM.

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