Giter Site home page Giter Site logo

image's Introduction

INSTALL

Main Scripts

  • mask_rcnn.py MaskRCNN takes in an image, outputs masks, boxes, labels and segmented image.
  • ur5_commander.py After receiving the PoseStamped message, the robotic arm moves to the specified position and performs the grasping task
  • utils.py Contains methods and functions that are needed for other scripts.

Full instalation procedure

  1. Install ROS Noetic:

If you have not installed ROS Noetic, please follow the URL below to do soใ€‚

http://wiki.ros.org/noetic/Installation/Ubuntu

We recommend that you install Desktop-Full. before installing, make sure that all your software is up to date!

sudo apt update
sudo apt upgrade

Input the above command in this terminal:

Alt

When you input these commands and complete the update, you'll see this:

Alt

This proves that you have completed the full update

  1. Setup the workspace:
mkdir -p ur5_ws/src && cd ur5_ws

You'll see this screen:

Alt

This proves that you've finished creating the workspace and are now in the workspace, so install the dependencies!ใ€‚

  1. Setup dependencies:
sudo apt -y install ros-noetic-moveit \
  ros-noetic-realsense2-camera \
  ros-noetic-realsense2-description \
  ros-noetic-ros-controllers

Tips: If any dependencies are missing at runtime, look up their full names and install them in the following format

sudo apt -y install ros-noetic-<package_name>

An example:

Alt

Since I've already done all the updates, the number 0 appears on the screen.

Continue to complete the next operation, complete the "git clone" will appear in the following screen:

Alt

The "git clone" in the above image is just an example, please do not input this command in the terminal again!

  1. Source global ros
source /opt/ros/noetic/setup.bash
  1. Install the robotic arm driver:
# clone the driver
git clone https://github.com/UniversalRobots/Universal_Robots_ROS_Driver.git src/Universal_Robots_ROS_Driver
  1. Insatll moveit calibration
# clone fork of the description. This is currently necessary, until the changes are merged upstream.
git clone -b melodic-devel-staging https://github.com/ros-industrial/universal_robot.git src/universal_robot
  1. Install gripper driver
# get the robotiq
git clone https://github.com/jr-robotics/robotiq.git src/robotiq
  1. Install depth camera driver
# get the camera
git clone https://github.com/IntelRealSense/realsense-ros.git src/realsense-ros
  1. Install dependencies
sudo apt update -qq
rosdep update
rosdep install --from-paths src --ignore-src -y --rosdistro noetic
  1. Compile workspace
# build the workspace
catkin_make
# activate the workspace (ie: source it)
echo "source devel/setup.bash" >> ~/.bashrc

After you finish "catkin_make", you will see the following screen:

Alt

If you are running "catkin_make" for the first time, you will have to wait for a very long time, but eventually it will say "100%".

  1. Install RealSense SDK 2.0
#  Do not put this package into the workspace
git clone https://github.com/IntelRealSense/librealsense.git
# Follow this webpage for detailed installation:
https://dev.intelrealsense.com/docs/compiling-librealsense-for-linux-ubuntu-guide
  1. Testing your own ROS You can run commands to test your own ROS:
roscore
rosrun turtlesim turtlesim_node
rosrun turtlesim turtle_teleop_key

Please note, be sure to run all three commands in all three terminals!

Alt Alt Alt

In the third screen you can control the direction of the little turtle.

In the picture above, I control the turtle to go forward first, and then control it to go left.

At this point, you have completed all the installation!

image's People

Contributors

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