Skip to content

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

Notifications You must be signed in to change notification settings

ruthvik92/ROS-Hydro-Ported-Caltech-Lanes-Code

Repository files navigation

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).

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages