I am making a ball follower robot which follows different directions for different colors.I am using this code for red detection but what command shall i give to my microcontroller for forward,left and right ?

since I am using different colors for different directions. please help me out soon. I am using ardiuno for serial communication

回答 (1 件)

Image Analyst
Image Analyst 2014 年 3 月 30 日
See the ball follower code posted by Sumit Tandon of the Mathworks imaging team : http://www.mathworks.com/matlabcentral/fileexchange/39851-algorithm-development-with-matlab

3 件のコメント

Image Analyst
Image Analyst 2014 年 3 月 30 日
編集済み: Image Analyst 2014 年 3 月 30 日
Please mark the answer as Accepted if it answers your question.
shanu
shanu 2014 年 3 月 30 日
sir, i have the code for color detection i need values to send on the serial port of my controller to move in different directions for different colors

サインインしてコメントする。

カテゴリ

質問済み:

2014 年 3 月 30 日

コメント済み:

2014 年 3 月 30 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by