Code Monkey home page Code Monkey logo

ros-mobile-robot-line-following's Introduction

Line-Following Task

Conclusion of Basic ROS

  • roscpp / rospy
  • topic / service / action
  • launch (all-in-one)
  • ros with opencv (monocular camera)
  • youbot control (both arm and moobile base)

Environment Setup

  • Environment: Ubuntu 18.04 + ROS Melodic
  • Platform: KUKA youBot
  • Visual Device: Pointgrey Flea3 camera

Usage

  1. Clone the repository to workspace and compile by $ catkin_make

  2. Prepare the dependencies:

  3. Adjust the filepathes in .../script/follow_line.py and .../script/follow_record.py

  4. Launch files:

    roslaunch youbot_driver_ros_interface youbot_driver.launch
    roslaunch find_line youbot_findline.launch
    
  5. Follow the hints on the screen

Parameters of launch file

  • /image_pub: the result image will be published to topic /camera/find_red_line (true) or directly show with cv::imshow (false)
  • /print_red_info: (for debugging) print the information about line detection
  • /do_arm_ini/do_follow_line/do_back_line/do_arm_home: enable each task

Result (Image Processing)

  • M : Slope
  • White px : area of the above part of the path in pixel

ros-mobile-robot-line-following's People

Contributors

yiyunevin avatar

Stargazers

 avatar

Watchers

 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.