Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 2 #1

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open

Patch 2 #1

wants to merge 38 commits into from

Conversation

XZLeo
Copy link
Contributor

@XZLeo XZLeo commented Dec 14, 2018

No description provided.

davideluque and others added 30 commits December 3, 2018 15:59
With the combination of the reflectance sensors and ultrasound sensors to judge 6 types of landscape:1, 2, 3, 4, 5, 6 corresponds to leftonly, rightonly, T, 十, leftandstraight. Dead end's judgment is not included yet.
adjust the logic relation
this version is only for the test of the landscape, without motor control.
1.先测试sketch_nova26确定好relfectance sensor连接的顺序,是不是Arduino 3—8 连接 传感器1-6?
2.sensorValues0—5是不是传感器1-6?影响到判断左右的函数
3.先测试直行函数,确定后轮是否能用?
4.记录面包板上如何连线?
代码好看不如代码好用,不用for循环了;
在干净无灰的跑道上传感器的值稳定在500-600附近,online_judge满足需求;
如果还是不能用,就写一个找最大两个值的函数,找最值判断下标是不是要的下标。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants