How to use 2 sensor systems in Parallel?
Mcdougell
Posts: 1
Hello! I am a student who is very new to programming of any kind . I am currently working on a boe bot (board of education) project with a team of 2 others where we must enter a competition this December in which we must follow a line around a track and avoid a few obstacles along the way.
We are using a qti line sensor set (4 sensors) to follow the line and the stock IR sensors to avoid the blocks. We have a basic line following program as well as an IR free-roam which starts little routines when it detects IR lights in one of the sensors
How would we go about using both of these together? We want the bot to follow the line until it detects an object and starts the avoid object routine then catch up with the line again. Or if there is a better strategy I'm open to opinions.
Any input would be greatly appreciated.
We are using a qti line sensor set (4 sensors) to follow the line and the stock IR sensors to avoid the blocks. We have a basic line following program as well as an IR free-roam which starts little routines when it detects IR lights in one of the sensors
How would we go about using both of these together? We want the bot to follow the line until it detects an object and starts the avoid object routine then catch up with the line again. Or if there is a better strategy I'm open to opinions.
Any input would be greatly appreciated.
Comments