Go to Post Being inspired is a lot like learning, not everybody does it the same way. - Jay Trzaskos [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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:47
Bethie42's Avatar
Bethie42 Bethie42 is offline
Registered User
AKA: Bethany Carlson
FRC #0956 (Eagle Cybertechnology)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2008
Location: Oregon
Posts: 126
Bethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to beholdBethie42 is a splendid one to behold
Watchdog replaced with MotorSafety?

We're having watchdog errors. We thought we'd isolated the problem to the camera, then to the driver station switches, then to the third joystick [heh], but we're still having issues. Using WindRiver.

1) We want to disable all User watchdogs, in order to see if we still get watchdog errors (ie, System watchdog/communications problem).
To this end, in the constructor we used GetWatchdog().SetEnabled(false).

Does anyone have experience with/opinions on troubleshooting System watchdog errors?

2) Then we learned about the MotorSafety class, which apparently replaces the User watchdog this year. This was hidden away in the documentation at FIRST Forge and I haven't seen any threads on CD about it yet. Does anyone have any info about MotorSafety, MotorSafetyHelper, and how to work with or disable them? I really wish the documentation had more updated info about working with watchdogs for the 2011 season.

We used robotDrive->SetSafetyEnabled(false) to disable the MotorSafety on the drive motors: to be safe, we even disabled the MotorSafety on our manipulator Jaguar, which supposedly is automatically disabled anyway.

Can anyone help us to disable all watchdogs? I can post/PM our code if you like.


3) We suspect the router. We're pretty sure our watchdog issues started after we replaced the old bridge on last year's bot [which we're prototyping everything on] with the DAP router. We don't seem to have watchdog errors while running tethered [we're going to test that more tomorrow]. Has anyone encountered watchdog/communication errors with the new router?

Also, we have a Jaguar mounted RIGHT next to the router: does anybody have experience with motors causing interference? Our issues also seemed to start right around the time we began using that Jag, but it's just a hunch.


Thank you so much for any help you can give!! We really really appreciate it
__________________
Robot is now a verb.

We're back to square one...while we're at it, let's redesign square one!

Team 956: Celebrating ten years of FIRST!

Code:
Team record 2002-2011
2002: Highest Rookie Seed, AOR
2003, 2006, 2012: Xerox Creativity Award, AOR
2006: Semi-finalist, Sacramento Regional
2009: Quarter-finalist, AOR
2010: Quarter-finalist, AOR
2011: Semi-finalist, AOR, and Dean's List finalist, AOR 

Personal record: 
2008: Lead scout
2009: Lead scout, publicity
2010: Lead scout, publicity, fundraising, Chairman's, videography
2011: Team captain, lead programmer, fundraising, Chairman's, publicity, wrench-turning, Dean's List finalist at Autodesk Oregon Regional
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 18:11.

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