Giter Site home page Giter Site logo

emr22_project's Introduction

EMR22

Repository for Embedded Robotics 2022 by Jonas Klinker (@KlinkerJ) and Lennart Fuhrig (@lennart2810).

Installation

  1. Clone the repository to the catkin_ws
  2. Install the required dependencies python3 -m pip install -r requirements.txt
  3. Build the package catkin build emr22_project

Usage

Find the correct webcam

You may have to use a different webcam-id for your webcam / robot-mounted cam. In our scripts, we are using the camera id 0. If that is not the right id, you can change it in nodes/yolo_img_pub.py and nodes/yolo_move_robot.py. You can also use our script to detect attached and usable cameras (scripts/detect_cam.py).

Run only yolov5 and view the results in Rqt

  1. Start our script roslaunch emr22_project yolo_view.launch
  2. Navigate to Image_View in Rqt.

Run yolov5 and move the robot

  1. Launch MoveIt and Simulation or use your own command for the real robot roslaunch ur5_moveit_config demo_gazebo.launch
  2. Start our script roslaunch emr22_project yolo_move_robot.launch

Warning: You should try our control system in simulation first and adapt Kp in nodes/yolo_move_robot.py!

Hint: You can not view the detected objects in Rqt if you called the move-Script!

Hint: Our script reacts only to the object class bottle! You can change this as you want to one of the Yolov5-Object-Classes in nodes/yolo_img_pub.py and nodes/yolo_move_robot.py! The scripts can only recognize one object!

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.