Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 1.04 KB

File metadata and controls

21 lines (11 loc) · 1.04 KB

ROS-Hydro-Ported-Caltech-Lanes-Code

This code is edited version of code written by Mohamed Aly California Institute of Technology for road detection.

The code written by Mohammed Aly uses images from a data set. I have made enough changes to subscibe images from ROS(Hydro) and process them. Extra addons are:(Compartively very small additions)

  1. Ported it to ROS(Hydro) and converted some cv::Mat type of images we get in ROS to IplImages.
  2. Calculate the distance of point infront of robot(optical center projected downwards) from the lane(equation calculated by taking two points on the lane)
  3. If right side distance is more than the left then move towards right and viz.

I included only files where cahnges are done. For other included files in the main.cc please go through https://code.google.com/p/caltech-lane-detection/

License is same as in that page. GNU GPL v2.

PLease use Lanes configuration files according to your needs and CameraConfiguration files of your own camera.

I am using this code on Husky(from clearpath robotics).