Go to Post Temp wiring is always bad but it is made worse when dealing with a $1000 part. You wouldn't try to lash a makeshift power source to your PC. - Al Skierkiewicz [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-02-2009, 13:14
furiousgeorge's Avatar
furiousgeorge furiousgeorge is offline
Registered User
FRC #3055
 
Join Date: Jan 2009
Location: Austin
Posts: 74
furiousgeorge will become famous soon enoughfuriousgeorge will become famous soon enough
Auto and Teleop Modes Hate Eachother!!! HELP!!!

i can get my teleop to run fine, and then deploy my auto as a start up just like my telop, and it runs fine, but i can't have both at the same time. when i try to switch from teleop to auto on the driver's station it stays the same, i can have one but not the other, i don't know what to do will someone please help me!
  #2   Spotlight this post!  
Unread 07-02-2009, 13:19
Urban Hawk Urban Hawk is offline
Head of R&D and Head of Scouting
FRC #1886
Team Role: Scout
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Urbana, maryland
Posts: 118
Urban Hawk is infamous around these partsUrban Hawk is infamous around these partsUrban Hawk is infamous around these parts
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

Quote:
i can get my teleop to run fine, and then deploy my auto as a start up just like my telop, and it runs fine, but i can't have both at the same time. when i try to switch from teleop to auto on the driver's station it stays the same, i can have one but not the other, i don't know what to do will someone please help me!
In frc update#9 it said:
Quote:
During each MATCH, the Field Management System will cycle each Driver Station though the following states:
* Autonomous - Disabled
* Autonomous - Enabled (for 15 seconds)
* Autonomous - Disabled
* Teleoperated - Disabled
* Teleoperated - Enabled (for 120 seconds)
* Teleoperated - Disabled
from this i assume that they can't run at the same time given the fact that they make sure both are disabled before they enable tele-operated. besides in the game it isn't supposed to switch from tele-operated to autonomous
__________________
FEAR THE HAWK!!!
  #3   Spotlight this post!  
Unread 07-02-2009, 13:43
TheIndian771's Avatar
TheIndian771 TheIndian771 is offline
Registered User
FRC #1182
 
Join Date: Feb 2008
Location: USA
Posts: 7
TheIndian771 will become famous soon enoughTheIndian771 will become famous soon enough
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

we are having the same problem so any help would be helpful
  #4   Spotlight this post!  
Unread 07-02-2009, 13:43
furiousgeorge's Avatar
furiousgeorge furiousgeorge is offline
Registered User
FRC #3055
 
Join Date: Jan 2009
Location: Austin
Posts: 74
furiousgeorge will become famous soon enoughfuriousgeorge will become famous soon enough
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

no, i think you misunderstand me, i should be able to have teleop running, and when i hit the switch to auto, the auto program should begin running (correct me if i'm wrong) but instead of this happening i only get either telop mode or auto mode, even when i switch the button on the driver's station only one program works
  #5   Spotlight this post!  
Unread 07-02-2009, 13:54
TheIndian771's Avatar
TheIndian771 TheIndian771 is offline
Registered User
FRC #1182
 
Join Date: Feb 2008
Location: USA
Posts: 7
TheIndian771 will become famous soon enoughTheIndian771 will become famous soon enough
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

One thing we tried was taking out the "start com" that we copied into our autonomous code. That allowed both the autonomous and the teleoperated to work independently, but then we had issues with the motors not working in autonomous but (yes) working in teleoperated. We can't seem to get both pieces working. We should probably continue communicating and perhaps we can come to a conclusion that works for both of us.
  #6   Spotlight this post!  
Unread 07-02-2009, 15:30
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

The initial project code is all in one project and has one build spec for deploying to the robot. You don't want to create a new project for your autonomous. You want to edit the one in your project. And you do not want to drop any more of the start communications anywhere else in your program. One of those is the right number, and the template had it in the right location.

So that we can help better, which template are you using Basic or Advanced? Do you really have two projects, or did I misunderstand?

Greg McKaskle
  #7   Spotlight this post!  
Unread 07-02-2009, 15:43
furiousgeorge's Avatar
furiousgeorge furiousgeorge is offline
Registered User
FRC #3055
 
Join Date: Jan 2009
Location: Austin
Posts: 74
furiousgeorge will become famous soon enoughfuriousgeorge will become famous soon enough
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

i'm using basic, and it's all under one project but seperate VI's
  #8   Spotlight this post!  
Unread 07-02-2009, 15:52
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

Are you clicking the run button on your autonomous? To start it up, you should set the DS to disable, run the robot main, then you can enable either the tele or the auto. You should be able to switch back and forth as many times as you like.

Do the procedure above with auto first, then tele and report the results.

Greg McKaskle
  #9   Spotlight this post!  
Unread 07-02-2009, 17:40
jnorris jnorris is offline
Registered User
FRC #1492
 
Join Date: Jan 2009
Location: scottsdale
Posts: 2
jnorris is an unknown quantity at this point
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

We were having problems until we realized that you must deploy from the Main project. There is a deploy button on the autonomous but if you load from here apparently only that vi gets loaded and Globals or something gets broken.
  #10   Spotlight this post!  
Unread 07-02-2009, 23:03
bobwrit's Avatar
bobwrit bobwrit is offline
//No Comment
AKA: ...
FRC #1977 (Loveland High Robotics)
Team Role: Alumni
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Somewhere
Posts: 298
bobwrit is just really nicebobwrit is just really nicebobwrit is just really nicebobwrit is just really nicebobwrit is just really nice
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

(Put robot in teleop)Try running your main robot code vi, and then, while that is still running, open up your autonomous independent vi, and it should not be running. Keep your main code still running, and switch to autonomous on your DS. You should see the autonomous program run.
__________________

FRC Team 1977 Alumni

Has Attended:2008 Colorado regional
2009 Colorado Kickoff
2009 Colorado Regional
2010 Colorado Kickoff
2010 Colorado Regional




The most exciting phrase to hear in science, the one that heralds new discoveries, is not "Eureka!"(I found it!), but rather, "Hmm.... That's funny" ---Isaac Asimov
Chance favors the prepared mind ---Louis Pasteur
And you can tell me, that I can't make a diffrence because I'm just one, but one is all it takes to start it. And you can tell me, that I can't change the world because I'm too young, but I wont stand here and be your target. ---FM Static
  #11   Spotlight this post!  
Unread 09-02-2009, 18:59
TheIndian771's Avatar
TheIndian771 TheIndian771 is offline
Registered User
FRC #1182
 
Join Date: Feb 2008
Location: USA
Posts: 7
TheIndian771 will become famous soon enoughTheIndian771 will become famous soon enough
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

we finally got our code to work thanks to a little luck
the problem we had was that our varibles were not inside of the while loop (or for loop if that is what you used)
After we did that, though the code ran perfectly
__________________
Team 1182
  #12   Spotlight this post!  
Unread 12-02-2009, 21:18
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,561
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

We are having a similar problem but I don't understand how you fixed this. Are you using Labview or WindRiver?
  #13   Spotlight this post!  
Unread 13-02-2009, 00:45
chmp09 chmp09 is offline
Registered User
AKA: Marc Pulte
FRC #1702 (Robocubs)
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Troy, Michigan
Posts: 25
chmp09 is a jewel in the roughchmp09 is a jewel in the roughchmp09 is a jewel in the rough
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

In labview, you want to run your Robot Main.vi as startup, not teleop or auto. If you just modified the default code, it should switch between the modes correctly.
  #14   Spotlight this post!  
Unread 13-02-2009, 01:57
popo308's Avatar
popo308 popo308 is offline
Registered User
AKA: Brent
FRC #1625 (Winnovation)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Winnebago, IL
Posts: 312
popo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to allpopo308 is a name known to all
Send a message via AIM to popo308
Re: Auto and Teleop Modes Hate Eachother!!! HELP!!!

I have a question that slightly goes along with this...

We are using the provided FMS to run some 120 second matches but the problem is the FMS will NEVER put the robot into auto mode??

the auto-mode is set to 15 sec the teleop mode is 120 sec we have tried both start buttons and nothing will work... anyone else having similar issues with the FMS software?
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Multiple Programs or One Program with Multiple Auto Modes kevin51292 FIRST Tech Challenge 4 02-01-2009 20:37
Detecting Start of TeleOp Mode Danny Diaz Programming 4 26-02-2008 01:37
Autonomous and Operator Control modes mjbshaw Programming 4 14-02-2008 18:13
White Paper Discuss: C Programming and Autonomous Modes for Newbies cbolin Extra Discussion 3 09-01-2008 19:32
I hate the BCS and i really ha te KANSAS ST. Jon Reese Chit-Chat 10 11-12-2003 12:09


All times are GMT -5. The time now is 21:51.

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