Go to Post You'll find that there are plenty of teams and individuals who shout. You'll also find there are a smaller subset of teams and individuals that do. Those that do tend to be the ones that get their way. - Lil' Lavery [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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-02-2009, 18:16
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Robot runs motors at last values when reconnecting

Our robot has "taken off" unexpectedly a few times. I think it may have to do with the lost of communications between the driver's station and the CRIO. So though I would FORCE some communication losses and see what happens.

For the moment, ignore why a loss might occur. We will move the wireless bridge on the robot to a better place for the competition.

It seems the controller on the robot remembers the last values of its motor drives when it looses communcations. If you turn on a motor and unplug the network cable from the drivers station to the router, the robot stops and goes into no communications mode (fast blinking robo signal light). When it establishes communication again, it runs the motor a short time and then cuts it off (if it the joystick is centered).

If you start a motor and then turn off the driver station and or router while the motor is running, it immediately turns off the motor which is good. When the driver's station and router are turned back on, it takes around 30 seconds to reestablish communications. When it does, whatever motors were running when communications were lost come back on. The motor(s) then run for 10-15 seconds before an update from the driver's station arrives and turns the motor off. The controls don't work at that point, only the disabled switch will stop it.

Finally a question: Is there a way to detect the no communications mode and turn off the motors. We are currently using the Simple template but have played with the Iterative robot base class. The robot is not disabled so I'm not sure the DisabledInit() method would be called.

My theory is that a short loss of communication will cause the robot to run out of control for 10-15 seconds.

Thanks,
Brian
__________________
Brian K
Team 1225 Robotics Mentor

Last edited by SuperBK : 15-02-2009 at 20:52.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2009, 21:39
p00rleno p00rleno is offline
Team Advisor & Former Team Leader
AKA: Andy
FRC #2590 (Nemesis)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2007
Location: NJ
Posts: 29
p00rleno is on a distinguished road
Re: Robot runs motors at last values when reconnting

LabVIEW code hasn't returned the same results you described here, at all if ours loses connection it just zeroes everything. Maybe, set all PWM Outs to zero in the C++ equivalent of TeleOp-Reset mode?

Just something to try
__________________
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Snap Action Breaker Values for the Motors? ChuckDickerson Electrical 4 11-01-2009 14:00
Robot Runs in full Reverse EHaskins Programming 6 04-02-2006 23:39
FAHA: What happens when your team runs out of motivation? Ken Leung General Forum 14 24-03-2004 08:08
Last year's motors? archiver 2001 2 24-06-2002 00:33


All times are GMT -5. The time now is 23:02.

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