|
Re: Basic Framework
The watchdog adds a safety element to the outputs on the robot. The watchdog you are feeding, referred to as the user watchdog should be fed in the code that updates the motor speeds. That way if that code stops running for some reason -- logic error, breakpoint, infinite loop, etc. -- then the motors will turn off if not fed in 0.5 sec rather than keeping their old values and probably running into the desk/wall/person.
Greg McKaskle
|