LineFollowingBubbleRob

Typically: "How do I... ", "How can I... " questions
Post Reply
kjh
Posts: 8
Joined: 09 Feb 2020, 06:25

LineFollowingBubbleRob

Post by kjh » 10 Feb 2020, 10:46

Hi

I am a beginner and have a problem about the LineFollowingBubbleRob tutorial. When I use the bubbleRob I created following the BubbleRob tutorial, it can not follow the path. But when I use the BubbleRob provided by the tutorial it really works. I think there may be something wrong with the BubbleRob I did but I just can not find it.

Here is my filehttps://github.com/kejianhong/LineFollowingBubbleRob and hope to get your answer.

Thank you very much.

coppelia
Site Admin
Posts: 7691
Joined: 14 Dec 2012, 00:25

Re: LineFollowingBubbleRob

Post by coppelia » 11 Feb 2020, 14:49

Hello,

the scene you created has probably different lighting conditions, and so your vision sensors need to adjust their bright or dark levels. In the script attached to your line follower robot, in line 39, adjust the value from 0.3 to 0.5 for instance.

Cheers

kjh
Posts: 8
Joined: 09 Feb 2020, 06:25

Re: LineFollowingBubbleRob

Post by kjh » 12 Feb 2020, 11:08

Hi

Thanks for your answer and it really solves my problem. Actually I did not change the lights by default but the lights in my bubbleRob are really different from the lights in tutorial. Maybe they are created by different versions.

Post Reply