Page 1 of 2

Safety stop on loss of Serial Connection

Posted: Mon Feb 15, 2016 9:11 am
by SouthernAtHeart
Some controllers I've used have a watchdog timer you can set to something like 1 second. If the controller receives no Serial command for that duration, it will stop the motors. This safety feature is to prevent runaway motors in the event of a connection failure between the roboclaw and the MCu controlling it. I'm not seeing anything like this on the roboclaw. Am I missing it somewhere? I see the packet timeout, but that doesn't seem to stop the motors in the event of serial com failure.

Re: Safety stop on loss of Serial Connection

Posted: Mon Feb 15, 2016 9:15 am
by Basicmicro Support
Correct, there is currently no automatic motor stop on a timeout in packet serial mode.

Re: Safety stop on loss of Serial Connection

Posted: Mon Feb 15, 2016 9:32 am
by SouthernAtHeart
Ok, thanks. That might be something to consider in future firmwares...

Re: Safety stop on loss of Serial Connection

Posted: Mon Feb 15, 2016 9:49 am
by Basicmicro Support
Yes,we are already considering it.

Re: Safety stop on loss of Serial Connection

Posted: Wed Feb 24, 2016 3:00 pm
by jwatte
there is currently no automatic motor stop on a timeout in packet serial mode
Isn't it possible to use the "drive distance at velocity" command?

If you make the distance slightly further than you intend to go in the next command interval, and then overwrite that buffered command with a new command before you get to the target distance, then the motor will keep running, until you don't send more commands, and then it will stop at that distance.

Edit: Fixed "position" -> "distance"

Re: Safety stop on loss of Serial Connection

Posted: Thu Feb 25, 2016 9:27 am
by Basicmicro Support
I think you meant the Velocity commands with Distance, not Position. Yes, with the Distance commands you could do as you suggest. Then if no new command was given the motor would just stop at the end of the distance.

Re: Safety stop on loss of Serial Connection

Posted: Sun Oct 08, 2017 3:52 am
by cyberdemon
Hello,

I was wondering if you had finished considering this yet?

I was quite surprised and disappointed to find that the RoboClaw controllers don't have this safety feature.

Given that these drives also don't have any gross error limit setting, then all of the closed-loop commands, including 'distance' are not very safe either, because a loss of feedback will cause the motor to run away!

Re: Safety stop on loss of Serial Connection

Posted: Mon Oct 23, 2017 10:11 am
by Basicmicro Support
Sorry about the delay in getting your post approve. Some of the recent posts have not show up in our control panel and didnt show in the forums to the admins even though they should have.

We did add this in our todo list for the controllers shortl after our last post. Unfortunately time has been in short supply. We will be adding this as well as a number of other updates soon. We estimate by the end of the year(about 2 months).

Re: Safety stop on loss of Serial Connection

Posted: Tue May 29, 2018 9:03 am
by cyberdemon
Hello again :)

Any update on this?

Re: Safety stop on loss of Serial Connection

Posted: Tue May 29, 2018 9:52 am
by Basicmicro Support
None yet. It is still in our todo.