Forum >Can't stop Vortex with Whendo ??
General Robotics

Can't stop Vortex with Whendo ??

userHead Account cancelled 2016-02-14 08:44:30 4494 Views3 Replies
Hello everibody
Can someone explain me how to stop a move.
Sensors on do active a move forward (speed 50, 2 s lenght) then move forward (speed 0, lenght 0) don't stop the Vortex...
it's just turning round and round...
Can you tell me how to stop a move, please?
2016-02-23 00:43:13 The problem is solved,you try it. userHeadPic wyzlx56
2016-02-15 16:57:41 Hi,

The main WhenDo logic works as a group of trigger-based actions. Whenever the condition is met, the action will be triggered after it completes the chain of actions.

In this case, when Vortex finishes moving forward( or turning around if only one wheel has speed parameter) then it stops for 0 seconds, and checks for the condition. The condition is satisfied, then it keeps triggering the moving forward.

The quick way is make the stopping action longer, say 9999 seconds. It will wait long enough before it triggers.

Another option is using the Boolean switch. Putting the Boolean value into the condition for the first time, and if you want Vortex to stop, set the Boolean value to false will force the condition to be false, hence stopping the actions to be triggered.

renoepelboin wrote:Hello everibody
Can someone explain me how to stop a move.
Sensors on do active a move forward (speed 50, 2 s lenght) then move forward (speed 0, lenght 0) don't stop the Vortex...
it's just turning round and round...
Can you tell me how to stop a move, please?
userHeadPic Xia Rex
2016-02-15 05:52:05 I have the same problem。I think this is a software problem,But I'm not sure.I had posted the problem,but I did'nt geted the offical answer. userHeadPic wyzlx56