LogicBots

LogicBots

评价数不足
1-8 3xCS 0xComp
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
364.401 KB
2015 年 11 月 4 日 下午 9:37
2015 年 11 月 5 日 上午 11:18
4 项改动说明 ( 查看 )

订阅以下载
1-8 3xCS 0xComp

描述
This is not a good robot for this level. In fact, it has never succeeded for me, but it's come super close. It's sort of a funny parts challenge.

It's my attempt at a robot with no compass, but with 3x Color Sensors. This was inspired by a post (and robot) by Glassman789. His robot is a lot simpler than mine and I am jealous. His is also more stable than mine. I may need to make a second, better robot, perhaps with the GX body.

Glassman789's robot is here: http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=547237283


Design notes:

- There is a counter, which I call "Turn". If it is 0, then the robot is going straight. If it is -1, then it is turning left, and if it is +1 then it is turning right.

- There is a front Color Sensor, called "CS". If it sees Red, then it increments Turn. If it sees Blue, then it decrements Turn.

- There are left and right Color Sensors, called "LCS" and "RCS". They are used to stop the turns. If LCS sees Red, then the right turn is done, and Turn is decremented. Likewise, if RCS sees Blue then the left turn is done, and Turn is incremented.

- I had to put my sensors facing towards the rear to have them stop the turn at the right time.

- I added functional lights. Now the right and left "eyes" turn on when the robot is turning in that direction and the tail lights up when going straight.

LM (Left Motor) = (Turn != L)
RM (Right Motor) = (Turn != R)
1 条留言
Glassman789 2015 年 11 月 4 日 下午 11:07 
Nice design bro. It has a nice way of auto-correcting during the turns. It takes a number of tries, but keep reloading and using fast forward and it can complete the color maze. Took me less than 5 minutes. I appreciate your nice comment in the description, but your bot is way better than mine.