Giter Club home page Giter Club logo

kuka-iiva-force-motion-control-in-gazebo's Introduction

iiwa_test_1

The software provided includes a ROS package for controlling the movement of the Kuka iiva manipulator, which moves the working tool along a curved surface on the border of black and white.

Working with the package is supposed to be from a docker container provided to participants as part of the [main repository of the Olympiad] (https://gitlab.com/beerlab/prof2021/profi2021_robotics) and together with a repository with a description of the scene and manipulator for the simulator, accordingly, the instructions provided below require pre-executing the instructions provided in the designated repositories.

Installing the software

  1. In the new terminal outside the docker container, go to the root directory of the main Olympiad repository and clone this repository into the working environment by doing:

     cd workspace/src
     git clone https://gitlab.com/shamraev.alexeyd/profi2021_master_solution.git
    
  2. Open a bash session inside the container, go to the mounted working environment and collect all the packages:

     bash docker/into_docker.sh
     cd /workspace
     catkin build
    

Description of the software

  1. The repository is a ROS package that includes Force-Motion control of Kuka Iiva manipulator.

  2. Before running the example, make sure that the software from the [repository with a description of the scene and manipulator for the simulator] (https://gitlab.com/beerlab/prof2021/profi2021_master_scene) installed correctly.

    Run the simulator:

     roslaunch profi2021_master_scene start_scene.launch
    

    Wait until the simulator is loaded and the quadcopter appears on the stage. To run the example in a new bash session ** inside the container** run:

     roslaunch profi2021_master_solution solution.launch
    

    It is worth noting that by default, the laucnh file solution.launch specifies an executable file compiled from the C++ file test.cpp . To use a similar program written in Python 2, you need to comment out the line:

     <node pkg="profi2021_master_solution" type="master_test" name="master_test" output="screen" />
    

    and uncomment:

     <node pkg="profi2021_master_solution" name="master_test" type="test.py" output="screen"/>
    

    At the same time, in some case, the .py file must be given execution rights:

     chmod a+x src/profi2021_master_solution/scripts/test.py
    

    Upon successful completion of all the above actions, the manipulator will move the working tool along a curved surface on the border of black and white;

    )

    The source code of the example is in *scripts/test.py * and *src/test.cpp * and represents the ROS node /profi2021_master_solution. The node subscribes to topics /iiwa/joint1_torque_controller/command, ... , /iiwa/joint7_torque_controller/command to control the moments on the joints, on the topic /iiwa/controller_manager/switch_controller to enable torque controllers and on the topic /iiwa/joint_states to read data on the position and speed of joints.

kuka-iiva-force-motion-control-in-gazebo's People

Contributors

kirillin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

kuka-iiva-force-motion-control-in-gazebo's Issues

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.