LineFollowingBubbleRob

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

LineFollowingBubbleRob

Post by kjh »

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: 10366
Joined: 14 Dec 2012, 00:25

Re: LineFollowingBubbleRob

Post by coppelia »

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: 14
Joined: 09 Feb 2020, 06:25

Re: LineFollowingBubbleRob

Post by kjh »

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