GithubHelp home page GithubHelp logo

Comments (10)

bmagyar avatar bmagyar commented on July 29, 2024

Which version of ros2_control are you trying to use for this? The one from the master branch? There's currently no working version of gazebo_ros2_control with the Foxy released version. The code you can find in this repo is an early attempt that is now very much out of date.

from gazebo_ros2_control.

Drojas251 avatar Drojas251 commented on July 29, 2024

@bmagyar do you know which ros2 version is this repo working with?

from gazebo_ros2_control.

JaehyunShim avatar JaehyunShim commented on July 29, 2024

@bmagyar As below.

$ git clone https://github.com/ros-controls/ros2_control.git
$ git clone https://github.com/ros-controls/ros2_controllers.git
$ git clone https://github.com/ros-simulation/gazebo_ros2_control.git
$ cd ros2_control && git reset --hard 3dc62e28e3bc8cf636275825526c11d13b554bb6 && cd ..
$ cd ros2_controllers && git reset --hard 83c494f460f1c8675f4fdd6fb8707b87e81cb197 && cd ..
$ cd gazebo_ros2_control && git reset --hard 3dfe04d412d5be4540752e9c1165ccf25d7c51fb && cd ..

The reason seems to be that hardware_interface/EffortJointInterface is not compatible with even joint_state_controller/JointStateController, whereas PositionJointInterface and VelocityJointInterface are.

@Drojas251
I am testing with ROS2 Foxy.

from gazebo_ros2_control.

JaehyunShim avatar JaehyunShim commented on July 29, 2024

Hi @ahcorde

Any advice? I see sample codes added by you for the position and velocity controls in the demo package but not for the effort control.

Thank you in advance,
Jaehyun

from gazebo_ros2_control.

bmagyar avatar bmagyar commented on July 29, 2024

@bmagyar do you know which ros2 version is this repo working with?

Excellent question. The plugin here is in a proof of concept stage, it worked at some point, my best guess would be to try matching the time of this repo to some checkout of ros2_control and ros2_controllers but it's very manual and not a way forward as we did major changes since then so whatever you do on top, it will break as soon as you try using a released version.

from gazebo_ros2_control.

JaehyunShim avatar JaehyunShim commented on July 29, 2024

ping @ahcorde

from gazebo_ros2_control.

ahcorde avatar ahcorde commented on July 29, 2024

The effortJointInterface is already coded but I didn't add any test. I will try to add one today

from gazebo_ros2_control.

ahcorde avatar ahcorde commented on July 29, 2024

Hi @JaehyunShim,

In this PR #44 you will find a working effort example 2933f8d

from gazebo_ros2_control.

JaehyunShim avatar JaehyunShim commented on July 29, 2024

@ahcorde
Thank you very much. I will test it and get back to you soon.

from gazebo_ros2_control.

JaehyunShim avatar JaehyunShim commented on July 29, 2024

Thank you. It works!

from gazebo_ros2_control.

Related Issues (20)

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.