Git Product home page Git Product logo

Comments (7)

JaehyunShim avatar JaehyunShim commented on July 26, 2024 1

For future users who might struggle like me because of the same reason, try below, it worked.

  cm.load_controller(
    "test_joint_state_controller",
    "joint_state_controller/JointStateController");

You can also see sample examples at this link.

This was really confusing because the input "controller_type" for the function "load_controller" is the name of the plugin that you use, not the plugin type. I feel like there should be consistency in naming variables.

from ros2_control.

Karsten1987 avatar Karsten1987 commented on July 26, 2024

That change got introduced in #41
@jordan-palacios Do you mind coming up with a follow-up PR to address the documentation?

from ros2_control.

ddengster avatar ddengster commented on July 26, 2024

"joint_state_controller/JointStateController" should work

from ros2_control.

Karsten1987 avatar Karsten1987 commented on July 26, 2024

@jordan-palacios friendly ping.

from ros2_control.

buschbapti avatar buschbapti commented on July 26, 2024

@ddengster Yes it does indeed. Thanks for the clarification.

from ros2_control.

JaehyunShim avatar JaehyunShim commented on July 26, 2024

@buschbapti

Did it really work for you? I don't know what I did wrong. I get the
"Loader for controller 'joint_state_controller/JointStateController' not found" message. I downloaded the ros2_controllers package and compiled it together so joint_state_controller should be in it. Would you share what you did to make it work?

from ros2_control.

destogl avatar destogl commented on July 26, 2024

There is an explanation in the rod-controls/ros2_control_demos repository README about this.

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