Go to Post Welcome to FIRST, the place where you can be competitive in a team. Here people can learn more in one year of FIRST than in four years of high school. - dude__hi [more]
Home
Go Back   Chief Delphi > Technical > Control System
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
  #13   Spotlight this post!  
Unread 20-09-2011, 02:30
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,515
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Disabling PWM outputs w/out disabling entire bot.

Quote:
Originally Posted by flameout View Post
The joysticks don't read "127" when they're centered -- outputting "127" would cause the robot to move. It's not tough to find out exactly what needs to be output to stop the motors, but if (when) the joysticks drift, re-calibrating would require a code download to adjust for the new bias (not a big deal, unless the issue's discovered 5 min. before a presentation or something).
This isn't true. I spent years programming on the IFI system. If you calibrate the victors properly (which takes mere moments, and a BIC pen), and then specifically output 127, they will not move. Not tomorrow, not a year from now, never. I'm not saying let the joystick control it, I understand they drift. I'm saying have a switch, or trigger pull, or something to put it in "sit mode" where you tell it 127 specifically. This won't result in a much different system than just no calling the pwms, but it works perfect (and you can do it on more than 2 outputs).

We used to have a psuedo-disable that just 127'd all outputs and it was used routinely during programming/debugging. Hundreds of hours of robots with 6-10 victors all content with their neutral signal and never moving.
 


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 16:10.

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