Giter Site home page Giter Site logo

Comments (6)

mikeferguson avatar mikeferguson commented on June 3, 2024

Name is meant to be "arm_controller", ns is typically something like "follow_joint_trajectory", see the example setup on Maxwell: https://github.com/mikeferguson/maxwell/blob/sixdof/maxwell_moveit_config/config/controllers.yaml

I suppose here, what you are doing is actually pushing the entire plugin into a "my_robot" namespace, and that isn't what the namespace parameter is for. Does it work if you do "/my_robot/arm_controller" as the name?

from moveit_plugins.

bit-pirate avatar bit-pirate commented on June 3, 2024

Hey fergs! I have started with your example and modified it until it worked for me.

Yes, it is true, my controller is living in the robot namespace (and with it all its topics). I suppose, name should be the action server name, which is in my case "arm_controller". I actually don't understand why one would want to add a namespace after the action server's name, since for connecting to an action server providing its name is enough.

I have tried your idea as well. Unfortunately, the simple_controller_manager adds follow_joint_trajectory by default, if no name is supplied, i.e. "".

from moveit_plugins.

isucan avatar isucan commented on June 3, 2024

To try to clarify this a bit, at least in the moveit_pr2 plugin, we use action_ns instead of ns.

from moveit_plugins.

mikeferguson avatar mikeferguson commented on June 3, 2024

@isucan Yep, see that now, that change looks like it probably happened after I forked off the original plugin for Maxwell.

@bit-pirate As for the namespace after the action server, this is a carry over from when the FollowJointTrajectory action was new, and also the PR2. For a while, I think the PR2 had (and might still have) /arm_controller/follow_joint_trajectory as well as an older arm_controller/joint_trajectory. I suppose at this point, we can stop using the ns afterwards, and fix up how the name is determined (there's no real downside to using 'arm_controller/follow_joint_trajectory' as the name of the controller I think).. I'll have to test that

from moveit_plugins.

mikeferguson avatar mikeferguson commented on June 3, 2024

I've committed (7537025), a change that will:

  • rename ns to action_ns, you can still use ns for now, but you will get a warning
  • removes the defaults for ns, and avoids adding '/' if there no ns defined.
  • warns if you have not defined any ns, action_ns, that there is no longer a default 'ns' value

I've tested on Maxwell, see updated config here: mikeferguson/maxwell@2cb1450

@bit-pirate, could you try this out and make sure it meets your needs

@isucan I think you wanted to update baxter's config to use action_ns.

When I hear back that all looks good, I'll push a release out.

from moveit_plugins.

bit-pirate avatar bit-pirate commented on June 3, 2024

@fergs this indeed meets my needs. Thanks a lot for the quick fix! Considering this done.

from moveit_plugins.

Related Issues (4)

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.