View Single Post
  #5   Spotlight this post!  
Unread 21-02-2012, 05:19
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: Any Actual Purpose to Safety Enabled?

Quote:
Originally Posted by Joe Ross View Post
Another reason for the motor safety is to make sure that the robot doesn't run away if you are debugging and at a break point.
I am not familiar with the WindRiver debugger but my understanding is that debugger usually freezes all tasks when hitting a breakpoint. If not, it would be difficult to debug multi-tasking issues since other tasks keep running. If the other tasks are frozen, so is the task that checks the "watchdog". In other words, even if you have MotorSafety on, if you hit a breakpoint, the robot still runs away. The only real motor safety is if it is implemented in hardware.
__________________

Last edited by mikets : 21-02-2012 at 05:21.
Reply With Quote