Line follower example code not found

linefollower

#1

Hi. I just purchased the GoPiGo line follower/black line sensor and have it working with some basic test code in Scratch but I don’t know how to get into the example code. I think the system update may have changed the location of the line follower example code. Looking for some help with finding the example code. Alternatively, could use some help with getting own code written.
Thank you,
M.


#2

Hello @2231puppy

Sharp eye! Indeed the line follower code moved. Are you looking for Python examples or Scratch examples?

If Python, you will find one here:
/home/pi/Dexter/DI_Sensors/Python/di_sensors/red_line_follower/line_follower/basic_example.py


#3

I’m looking for both. Thank you so much!


#4

Hi @2231puppy,

You can look in here:

We’ve move the line follower’s source code in DI-Sensors for the moment.

Thank you!