Code Monkey home page Code Monkey logo

turtlebot3_lane_detection's Introduction

turtlebot3_lane_detection

Detect a road lane using RGB camera

Notice

  • The node subscribes to the camera topic detect the lane. A region of interest is defined at the bottom of the image. The ROI is used to detect lane. To do so, we detect each sides of the lane and compute a mean lane. Then, we compute the angle between the ordonate axis and the mid-lane. This value is then published.

Subscribed Topics

  • /camera/color/image_raw ([sensor_msgs/Image]) THe camera measurements

Published Topics

  • /lane_detection/angle ([turtlebot3_lane_detection::line_msg]) Publishes the angle betwenn the lane and the robot

  • /lane_detection/image/image_lane ([sensor_msgs/Image]) Publishes the detected lane and the mid lane

How to build

cd ~/catkin_ws/src/
git clone https://github.com/Thermay-Robotics/turtlebot3_lane_detection.git
cd ~/catkin_ws
catkin_make

Run

Launch the camera node (please update the subscribed topic camera name in the launch file)

Launch detection node

roslaunch turtlebot3_lane_detection turtlebot3_lane_detection.launch

if you want to run it with the camera, you can launch

roslaunch turtlebot3_lane_detection turtlebot3_detection_realsense.launch

Test environment

Ubuntu 20.04 LTS
ROS Noetic
Jetson Nano
Ubuntu 18.04 
ROS Melodic

turtlebot3_lane_detection's People

Contributors

thomasduvinage avatar

Stargazers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.