Giter Site home page Giter Site logo

kawasaki_fs020n_ros_control's Introduction

Controlling Kawasaki FS020N robotic arm via ROS by MoveIt!

Installation

  1. Install ROS Noetic (follow steps listed here) on Ubuntu 20.04.

    Note Install Desktop-Full version of ROS.

    Note To check version of your Ubuntu use lsb_release -a or cat /etc/*-release.

  2. Install extra packages:

sudo apt install libgflags-dev ros-noetic-rosparam-shortcuts ros-noetic-ros-controllers
  1. Install MoveIt!:
sudo apt install ros-noetic-moveit ros-noetic-moveit-resources-prbt-moveit-config
  1. Download the packages kawasaki_fs20n_control, kawasaki_fs20n_description, kawasaki_fs20n_moveit, ros_control_boilerplate from the repository and put them into your ROS workspace's src folder (in my case it is kawasaki_fs20n_control_ws workspace):
Content of the workspace's src folder

Note Don't forget add source ~/dev/ros/kawasaki_fs20n_control_ws/devel/setup.bash into the ~/.bashrc file (If you have different location and/or name of the workspace the path in the source command should be corresponding).

  1. Go to your ROS workspace (in my case it is ~/dev/ros/kawasaki_fs20n_control_ws) and build the workspace:
catkin_make

Usage

Usage with robot emulator

  1. In config file connection.yaml in the kawasaki_fs20n_control/config folder set following settings:
robot_ip: "127.0.0.1"
robot_port: 5555
robot_version: "1040"
  1. Run robot_server_emulator:
cd [location_of_ws]/src/kawasaki_fs20n_control
(for example: cd ~/dev/ros/kawasaki_fs20n_control_ws/src/kawasaki_fs20n_control)
./robot_server_emulator

Note If you rerun the emulator and there is an error:

[TEST SERVER]: bind failed: Address already in use

then just wait a little bit until socket is free.

  1. Launch kawasaki_fs20n_control.launch:
roslaunch kawasaki_fs20n_control kawasaki_fs20n_control.launch
  1. In RViz window you can use MoveIt! plugin to plan manipulator trajectory and execute it.

Usage with real robot

  1. In config file connection.yaml in the kawasaki_fs20n_control/config folder set following settings:

For controlling right manipulator (from the side of the door):

robot_ip: "192.168.5.242" # ROBOT R
robot_port: 10050
robot_version: "1040"

For controlling left manipulator (from the side of the door):

robot_ip: "192.168.5.250" # ROBOT L
robot_port: 10050
robot_version: "1040"

Note Aforementioned IPs and port are local for the BMSTU laboratory.

Note The robot version must correspond the version that is set in the AS program inside Kawasaki manipulator (variable .version, repository with the code)

  1. Launch kawasaki_fs20n_control.launch:
roslaunch kawasaki_fs20n_control kawasaki_fs20n_control.launch
  1. In RViz window you can use MoveIt! plugin to plan manipulator trajectory and execute it.

kawasaki_fs020n_ros_control's People

Contributors

gulalex181 avatar

Stargazers

 avatar

Watchers

 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.