Go to Post Grease your gearboxes folks! Gears need grease, otherwise they kerplode. - s_forbes [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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 25-09-2015, 02:48
KinaK KinaK is offline
Registered User
FTC #9850
 
Join Date: Sep 2015
Location: Hawaii
Posts: 2
KinaK is an unknown quantity at this point
[FTC]: Help? Driver phone will not detect new Op Mode

We are a brand new FTC team. We have created a simple original op mode in MIT APP, installed it on the Robot Controller, scanned, named all components as they are in program, then paired the driver phone with the robot controller phone. The Driver phone will not detect the new op mode. It has, twice, but then it defaults back to the pre-programmed op modes. I updated phones, and updated apps. That shortened the list of pre-installed pop modes, but ours still does show up as an option.

I restart phones, I restart robot, I re-pair the phones. What else can I try?

The kids really want to run more than two motors, they want to write their pop mode.

Help?
Reply With Quote
  #2   Spotlight this post!  
Unread 25-09-2015, 06:14
DavisDad's Avatar
DavisDad DavisDad is offline
MechE
AKA: Craig Rochester
FTC #8470 (Team Technado)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Boston
Posts: 317
DavisDad will become famous soon enoughDavisDad will become famous soon enough
Re: [FTC]: Help? Driver phone will not detect new Op Mode

Did you uninstall the previous app in the robot phone?
Reply With Quote
  #3   Spotlight this post!  
Unread 25-09-2015, 20:59
KinaK KinaK is offline
Registered User
FTC #9850
 
Join Date: Sep 2015
Location: Hawaii
Posts: 2
KinaK is an unknown quantity at this point
Re: [FTC]: Help? Driver phone will not detect new Op Mode

Yes, there are no other FTC apps on the phones, and I even deleted all OP Modes apps the kids had created and installed, except the one we are trying to use.

No luck. Only shows preinstalled Op Modes.
Reply With Quote
  #4   Spotlight this post!  
Unread 25-09-2015, 23:26
Christopher149 Christopher149 is offline
Registered User
FRC #0857 (Superior Roboworks) FTC 10723 (SnowBots)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Houghton, MI
Posts: 1,103
Christopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond repute
Re: [FTC]: Help? Driver phone will not detect new Op Mode

I haven't looked into App Inventor much, but Android Studio has a manifest / registry file of op modes as part of the code. Does App Inventor have something similar that you need to add your op mode to?
__________________
2015-present: FTC 10723 mentor
2012-present: 857 mentor
2008-2011: 857 student

2015: Industrial Design, Excellence in Engineering, District Finalist, Archimedes Division (#6 alliance captain)
2014: Judges Award, District Engineering Inspiration, District Finalist, Galileo Division

Reply With Quote
  #5   Spotlight this post!  
Unread 30-09-2015, 22:57
Andy Sheu Andy Sheu is offline
Registered User
FRC #0972 (Iron Claw)
Team Role: Programmer
 
Join Date: Sep 2015
Rookie Year: 2014
Location: San Jose
Posts: 6
Andy Sheu is an unknown quantity at this point
Re: [FTC]: Help? Driver phone will not detect new Op Mode

You need to add the new OpMode to the list of OpModes in FtcOpModeRegister.java.

Add the following line inside the preexisting register method:
manager.register("K9TeleOp", K9TeleOp.class);
Replace K9TeleOp with whatever you want to name the OpMode and replace K9TeleOp.class with the class name.
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 13:13.

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