Go to Post This should go without saying, but for some reason it always needs saying. - GaryVoshol [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 27-02-2012, 18:04
ProgrammerBlake ProgrammerBlake is offline
Registered User
FRC #2977
 
Join Date: Jan 2011
Location: Minnesota
Posts: 4
ProgrammerBlake is an unknown quantity at this point
Watchdog or MotorSafety?

I am just wondering are we using watchdog still this year, or are we using Motor Safety this year. Sorry if this is a silly question.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-02-2012, 18:33
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,042
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Watchdog or MotorSafety?

Quote:
Originally Posted by ProgrammerBlake View Post
I am just wondering are we using watchdog still this year, or are we using Motor Safety this year. Sorry if this is a silly question.
Both!


Reply With Quote
  #3   Spotlight this post!  
Unread 28-02-2012, 17:01
ProgrammerBlake ProgrammerBlake is offline
Registered User
FRC #2977
 
Join Date: Jan 2011
Location: Minnesota
Posts: 4
ProgrammerBlake is an unknown quantity at this point
Re: Watchdog or MotorSafety?

Thank you Ether. I have another question then, we have motors other than drive (like shooting and picking stuff up) would those motors need the MotorSafety method and watchdog. Thanks in advance.
Reply With Quote
  #4   Spotlight this post!  
Unread 28-02-2012, 18:20
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Watchdog or MotorSafety?

The User Watchdog is available but disabled by default. The Motor Safety is Enabled by default for RobotDrive objects but disabled by default for Jaguar or Victor objects.

I encourage the teams I work with to enable Motor Safety on all objects for two reasons, the first is safety and the second is it is a useful indicator that the code is not running as fast as it should be if these start tripping.
Reply With Quote
  #5   Spotlight this post!  
Unread 28-02-2012, 22:45
~Cory~'s Avatar
~Cory~ ~Cory~ is offline
Student
AKA: Cory Rypkema
FRC #0706
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Worcester MA
Posts: 216
~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold
Re: Watchdog or MotorSafety?

Remember both systems still do not account for careless mistakes such as running motors against each other or threaded while loops that update. Motorsafety/watchdog should be a backup to common sense and not the primary failsafe to errors.

Last year we lost three FP motors to our autonomous due to some very stupid* mistakes.

*A mistake becomes stupid when repeated after one has already learned from it. I forgot to document, double check and test before running in the field. The heat of competition can cause heat stress
__________________
corin.rypkema.org
WPI Class of '17
'12 Dean's List Finalist, Mentor of 706 - Cyberhawks

Last edited by ~Cory~ : 28-02-2012 at 22:47.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-03-2012, 16:34
ProgrammerBlake ProgrammerBlake is offline
Registered User
FRC #2977
 
Join Date: Jan 2011
Location: Minnesota
Posts: 4
ProgrammerBlake is an unknown quantity at this point
Re: Watchdog or MotorSafety?

Okay, thank you guys so much this was really helpful.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-03-2012, 20:03
touchdownjesus4's Avatar
touchdownjesus4 touchdownjesus4 is offline
Registered User
AKA: Tyler Vonderhaar
FRC #4028 (Eagle Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Cincinnati, OH
Posts: 64
touchdownjesus4 is on a distinguished road
Re: Watchdog or MotorSafety?

How would one go about enabling either of these for jaguars?
Reply With Quote
  #8   Spotlight this post!  
Unread 05-03-2012, 17:27
ProgrammerBlake ProgrammerBlake is offline
Registered User
FRC #2977
 
Join Date: Jan 2011
Location: Minnesota
Posts: 4
ProgrammerBlake is an unknown quantity at this point
Re: Watchdog or MotorSafety?

Is either of these required, or just one, both. Sorry if this is a silly question, thanks in advance.
Reply With Quote
  #9   Spotlight this post!  
Unread 07-03-2012, 12:00
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Watchdog or MotorSafety?

Quote:
Originally Posted by ProgrammerBlake View Post
Is either of these required, or just one, both. Sorry if this is a silly question, thanks in advance.
Neither is required. The MotorSafety is enabled by default for RobotDrive objects but not for Victor, Jaguar or Relay objects.
Reply With Quote
  #10   Spotlight this post!  
Unread 08-03-2012, 23:19
techkid86's Avatar
techkid86 techkid86 is offline
Magic Programer
FRC #3044 (0xBE4)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: ballston spa
Posts: 58
techkid86 is an unknown quantity at this point
Re: Watchdog or MotorSafety?

To be honest, i would just use motor safety. if you can get both working though more power to you. my first year programing i had some bad experience with watchdog... it blew up our code cause it was running a little slow because there was a lot of it. be very careful when using it in competition, make sure the kill time limit is large enough for a little error. (also accommodate for field lagg.
__________________
"you can build a perfect machine out of imperfect parts" -Urza
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 09:48.

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