第六周实验
2015-11-06 19:03:56 2 举报
机器人移动流程图
作者其他创作
大纲/内容
robot's distanceSENSOR_DISTANCE
NO
make the robot move straight
YES
shutDown() != 1
Initialize the wall state int wall
make the robot look foword
make the robot look left
START
make the robot look Left
wall=0
make the robot look right
Initialize the critical point of distance SENSOR_DISTANCE = 40
No
wall=1
END
make the robot turn left
make the robot turn right
make the robot move Straight
wall==0
收藏
0 条评论
下一页