Go to Post WE DEMAND FREE CORNDOGS FOR ALL MENTORS UPON ENTRY INTO THE EDWARD JONES DOME. #yourmovefrank - Jared Russell [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 15-03-2013, 22:25
Kyle_5955's Avatar
Kyle_5955 Kyle_5955 is offline
Software and Controls Mentor
FRC #5015 (SWAT Bots)
Team Role: Mentor
 
Join Date: Aug 2012
Rookie Year: 2009
Location: Alberta, Canda
Posts: 16
Kyle_5955 is an unknown quantity at this point
[FTC]: Braking NXT Motors Using RobotC

We are using an NXT motor to deploy our end-game ramp but we are finding that during the game the motor is turning allowing the line that is holding back our ramp to unwind. We have used the following code to set our NXT motor to brake by default, but it doesn't work:
Code:
bFloatDuringInactiveMotorPWM = false;
This is using RobotC version 3.51 with firmware 9.52.

Any help would be appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 16-03-2013, 14:53
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
Re: [FTC]: Braking NXT Motors Using RobotC

Note: I am not familiar with the FTC setup, so I cannot tell you anything about your code -- hopefully someone with FTC experience can chime in.

Motor braking won't actually stop a motor. It will make it hard to turn the motor quickly, though. Try turning it by hand -- if it's hard to turn quickly, then braking is enabled.

If that is your issue, then you should probably output a slight command in the "retract line" direction, to prevent it from unwinding.

I hope this helps.

Last edited by flameout : 16-03-2013 at 14:54. Reason: Grammar
Reply With Quote
  #3   Spotlight this post!  
Unread 25-03-2013, 13:41
Kyle_5955's Avatar
Kyle_5955 Kyle_5955 is offline
Software and Controls Mentor
FRC #5015 (SWAT Bots)
Team Role: Mentor
 
Join Date: Aug 2012
Rookie Year: 2009
Location: Alberta, Canda
Posts: 16
Kyle_5955 is an unknown quantity at this point
Re: [FTC]: Braking NXT Motors Using RobotC

Quote:
If that is your issue, then you should probably output a slight command in the "retract line" direction, to prevent it from unwinding.
We just tried this and it worked very well at a long driver practice meeting.
Thank you so much.

Kyle_5955
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 06:44.

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