Go to Post What I want is to ultimately make it so that the programming is actually done before the robot is finished. Imagine that! - Danny Diaz [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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
  #1   Spotlight this post!  
Unread 24-01-2011, 21:52
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Best way of stopping the robot?

For the IterativeRobot I decided to force the robot to stop if it is in disabled mode or if the motorsafety gets disabled/timeout.

First of all, will motorsafety automatically shutdown motors if it isn't fed or enabled? If so then I probably should remove my lines telling the motors to stop.

Secondly, does it really matter which way you stop the robot? For instance, there are two different ways I know of to stop the robot. use the stopMotor method or tell the motors to move at a speed of 0 and turn of 0. If the stopMotor does not now allow you to use the motors until the robot is reset then I would use the method of setting the motor to speed and turn 0.
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 11:37.

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