Skip to content

Latest commit

 

History

History
 
 

README.md

GoPiGo Line Follower

This Python library is for the GoPiGo Line follower.

Files

###Calibration and Utilities

  • line_threshold_set.py: Use this program to set the black/white values. Run once.
  • black_line.txt: Holds the black line values.
  • white_line.txt: Holds the white line values.
  • range_line.txt: Holds the range of values.
  • line_sensor.py: Library for the line sensor.
  • line_follow.py: Basic GoPiGo example to use the line sensor.

###Examples

  • basic_example.py: This example shows a basic example to read sensor data from the line sensor.
  • check_line_sensor.py: Checks the I2C bus for the line follower.
  • line_follow.py: A very basic example using bang-bang control.
  • line_follow1.py: An advanced example of line following using arrays and proportional response.
  • line_position.py: This example reads the position of the line the sensor is positioned over.

###Scratch

  • scratch_line.py: Runs the sensor in Scratch in the background.
  • line_sensor_gui.py: The GUI program for calibration. A visual form of the line_threshold_set.py program.

See Also

 GoPiGo

This repository contains source code, firmware and design materials for the GoPiGo.

 GoPiGo

License

GoPiGo for the Raspberry Pi: an open source robotics platform for the Raspberry Pi. Copyright (C) 2015 Dexter Industries

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0.txt.