View Single Post
  #2   Spotlight this post!  
Unread 15-02-2012, 20:01
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Trouble with code for camera

Vision processing can take a LONG time if you do not have the filtering parameters set correctly (i.e. generating way too many false positive targets). If vision processing takes too much time, it will prevent your main robot loop from "feeding" the watchdog (i.e. setting your motors) and hence causing the SafetyHelper to cut out the motors.

Before you enable the entire code doing vision processing as well as tele-operating/driving the robot, you probably want to disable safety and fully debug the vision processing code before you re-enable safety for driving.
__________________
Reply With Quote