View unanswered posts | View active topics It is currently Thu Oct 22, 2020 8:47 am

Reply to topic  [ 1 post ] 
Aborting previous task 
Author Message

Joined: Sat Dec 13, 2014 8:43 am
Posts: 1
Post Aborting previous task
Hello all!

I'm trying to make a program, where the robot is moving straight for demanded time (long, like 10s) but if the robot during the move detects the change of surface (eg. color change), it stops. The important is the time cannot be changed for less (it would be to easy ;) )
I know the idea how it should be done however each time I tried with different tools it did't work. I don't know how to have the robot stop executing previous task if the change of color is detected.
Now I am trying with events but I am not certainly sure how it works and if it has any sense. I am totally lost.
My Programming tools: RCX brick and robolab

Could you give me some hints?

Sat Dec 13, 2014 9:17 am
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.