MATLAB Line following Matlab Code. How to Start?

AI Thread Summary
Using NXT 2.0 and MATLAB to program a robot for line-following in a maze involves integrating a light sensor, color sensor, and ultrasonic sensor. Initial steps should focus on experimenting with these sensors to understand their readings. It's crucial to learn how to control the robot's movements, including forward, backward, and turning. Once these foundational skills are established, programming the robot to navigate the maze can begin effectively.
ItsAli
Messages
2
Reaction score
0
So we're using NXT 2.0 and MATLAB to program a robot to follow a white line through a maze.

I'm using a light sensor, color sensor and an ultrasonic sensor in the process. Any programming/Coding ideas of how i should start?

This is the maze

https://drive.google.com/file/d/0B7xNoP3tLzPga09aUk1EdEh3VEk/view?usp=sharingThank you.
 
Physics news on Phys.org
Start by experimenting with your components, learn how to read the light sensor and display its results similarly for the other sensors.

Learn how to control your robot to go forward, backward to the left and to the right if needed...

Then you'll have what you need to write the program...
 
jedishrfu said:
Start by experimenting with your components, learn how to read the light sensor and display its results similarly for the other sensors.

Learn how to control your robot to go forward, backward to the left and to the right if needed...

Then you'll have what you need to write the program...
Thanks
 
Back
Top