Giter Club home page Giter Club logo

cnr_ros_control's Introduction

Extension of ROS-CONTROL

CI codecov Codacy Badge

The design of the framework

The repository contains the implementation of an extension of the ros_control framework developed by the Institute of Intelligent Industrial Technologies and Systems for Advanced Manufacturing (STIIMA), of the National Research Council of Italy (CNR).

The extension is based on one package and two meta-packages.

The core of the extension is having encapsulated the lifecyle of the RobotHw (link) in a nodelet.

This design choice allows the implementation of cascade controller architectures, preserving the fastest communication as possible between the nodelets consituting the controller architecture.

A special RobotHw called TopicRobotHw is provided by the cnr_hardware_interfaces package, and it has been designed in order to encaspulate generic topics in the standard hardware_interface (link), and therefore to allows the controller accessing the topic content using the handle-based mechanism.

Alternate Text

Example of Usage

Each of the packages has his own README (follow the hyperlink for further information on each package)

The core of the extension is the cnr_configuration_manager (readme).

The node has been desgined to allow a dynamic configuration of the controller architecture.

First, it allows the dynamic loading/unloading of many RobotHW in parallel encapsulating each RobotHW in a different nodelet. Then, it allows the loading/unlaoding and start/stop of all the different controllers needed.

The configuration is done trough a proper yaml file, and it is possible to dynamically switch between many different configurations.

A collection of Matlab scripts useful for the...

Dependencies

The package provides a .rosinstall file with the dependencies, and the dependencies are configured in the package.xml of the packages.

$ export ROSINSTALL_FILE=dependencies.rosinstall
$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ git clone https://github.com/CNR-STIIMA-IRAS/cnr_ros_control
$ wstool init
$ wstool merge cnr_ros_control/dependencies.rosinstall
$ wstool up -v
$ cd ~/catkin_ws
$ rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO

Example to download

TODO

Developer Contact

Authors:

Software License Agreement (BSD License) Copyright (c) 2020, National Research Council of Italy, Institute of Intelligent Industrial Technologies and Systems for Advanced Manufacturing All rights reserved.

Acknowledge

EC-H2020 ShareWork webpage

EC-H2020

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 820807. This website reflects only the author’s view and the European Commission is not responsible for any use that may be made of the information it contains.|

cnr_ros_control's People

Contributors

codacy-badger avatar manuelbeschi avatar marco-faroni avatar nicolapedrocchi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

uf-samm-lab

cnr_ros_control's Issues

catkin build err for : error: ‘controller_interface::ControllerBase::ControllerState’ has not been declared

Errors << cnr_controller_manager_interface:make /home/dell1804/refer/ws_cnr_ros/logs/cnr_controller_manager_interface/build.make.001.log
In file included from /home/dell1804/refer/ws_cnr_ros/src/cnr_ros_control/cnr_controller_interfaces/cnr_controller_manager_interface/src/cnr_controller_manager_interface/cnr_controller_manager_interface.cpp:45:0:
/home/dell1804/refer/ws_cnr_ros/src/cnr_ros_control/cnr_controller_interfaces/cnr_controller_manager_interface/include/cnr_controller_manager_interface/cnr_controller_manager_interface.h:175:90: error: ‘ControllerState’ in ‘class controller_interface::ControllerBase’ does not name a type
static std::string controllerStateToString(const controller_interface::ControllerBase::ControllerState& st)
^~~~~~~~~~~~~~~
/home/dell1804/refer/ws_cnr_ros/src/cnr_ros_control/cnr_controller_interfaces/cnr_controller_manager_interface/include/cnr_controller_manager_interface/cnr_controller_manager_interface.h: In static member function ‘static std::__cxx11::string cnr_controller_manager_interface::ControllerManagerInterface::controllerStateToString(const int&)’:
/home/dell1804/refer/ws_cnr_ros/src/cnr_ros_control/cnr_controller_interfaces/cnr_controller_manager_interface/include/cnr_controller_manager_interface/cnr_controller_manager_interface.h:177:59: error: ‘controller_interface::ControllerBase::ControllerState’ has not been declared
return ( st == controller_interface::ControllerBase::ControllerState::CONSTRUCTED ? "CONSTRUCTED"

MY env:
ubuntu18.04 ros-melodic

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.