Sphero Robot Threshold Parameters

Hi,
I couldn’t understand what the threshold parameter in the sphero robot project is. Could you please explain it?

Hi!

threshold is the maximum acceleration you expect the robot to have under normal circumstances, on any of the axes. If it’s more than that, a crash has possibly happened on that axis (in the opposite direction).

It’s just a part of someone’s crash detection logic - you can design yours :wink:.

1 Like