Go to Post This is not pinewood derby. This is not a science fair. This is a sport, and in sports there are winners and losers. - Cory [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 05-02-2013, 21:26
Hjax Hjax is offline
Registered User
FRC #1740
 
Join Date: Feb 2013
Location: Ledyard, CT
Posts: 3
Hjax is an unknown quantity at this point
Re: Robot Code Not Working

You forgot to disable motor safety.
Motor safety kills the robot if you don't pass an update to the motor often enough (if i remember correctly)

Just put this line:
Code:
myRobot.SetSafetyEnabled(false);
before this line:
Code:
while (isOperatorControl()){
This will disable the motor safety (not a bad thing in this case to keep your motors spinning and your code working)
Reply With Quote
 


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 12:55.

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