Giter Club home page Giter Club logo

Comments (11)

kaym9n avatar kaym9n commented on July 4, 2024

In order to play the motion and make OP3 walk, each joint has to be set with specific modules that control joints.
There are two methods to set modules on joints;

  • The first method configures predefined set of joints with a specific module. You can use either the topic or the service for this method as shown below.
    • topic name : /robotis/enable_ctrl_module
    • service name : /set_present_ctrl_modules
  • The second method sets each joint with specific modules separately. You can also use the topic or the service for this method.
    • topic name : /robotis/set_joint_ctrl_modules
    • service name : /robotis/set_present_joint_ctrl_modules

You might want to use the second method to control each joint as you wish.
Please refer to the below link to see the example of how to set different modules on the head and the body.
https://github.com/ROBOTIS-GIT/ROBOTIS-OP3-Demo/blob/952d9c42055c52e3c29b9db22cec8dc5631982ad/op3_demo/src/soccer/soccer_demo.cpp#L222

from robotis-op3.

robotpilot avatar robotpilot commented on July 4, 2024

This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks.

from robotis-op3.

arixrobotics avatar arixrobotics commented on July 4, 2024

Hi,
Sorry for the delay. I've managed to test the method suggested above, and I can confirm that it works.

However, there seems to be a weird behavior for the ankles. Whenever I use /robotis/set_joint_ctrl_modules to set them into walking module, one of them moves into a weird position, somehow.

This video should explain the problem better:
https://youtu.be/EStDLiBS500

This is the command that I ran:
$ rostopic pub /robotis/set_joint_ctrl_modules robotis_controller_msgs/JointCtrldule '{joint_name: [l_ank_pitch, r_ank_pitch], module_name: [walking_module, walking_module]}'

Hope you could check whether this is a bug in the code, or its due to some of my settings. And hopefully solve the problem too.

Arif

from robotis-op3.

arixrobotics avatar arixrobotics commented on July 4, 2024

The same ankle behaviour is observed when setting the module via service /robotis/set_present_joint_ctrl_modules.

from robotis-op3.

kaym9n avatar kaym9n commented on July 4, 2024

Hi, @arixrobotics
Thank you for your contribution.
I'll check about this issue and answer to you.

from robotis-op3.

arixrobotics avatar arixrobotics commented on July 4, 2024

Hi @ROBOTIS-Kayman,
Any update on this? Did you manage to replicate?

from robotis-op3.

kaym9n avatar kaym9n commented on July 4, 2024

@arixrobotics
I'm sorry I'm late. I was on business trip for 2 weeks.
I did not start this problem. Another job is scheduled for now.
I think I can start this issue after that.

When I reproduce this condition, I will let you know.

from robotis-op3.

arixrobotics avatar arixrobotics commented on July 4, 2024

As soon as you can please. Our client is waiting too :)

from robotis-op3.

robotpilot avatar robotpilot commented on July 4, 2024

I'm going to close this until you update the issue with more information. If you do so I'll reopen the issue.

from robotis-op3.

kaym9n avatar kaym9n commented on July 4, 2024

Hi @arixrobotics
I'm sorry I'm late. We found the cause of this error. It's a initialize problem.
Pull the master branch and merge with it. then this issue will be gone.

from robotis-op3.

arixrobotics avatar arixrobotics commented on July 4, 2024

Cool!
Unfortunately I don't have access to the robot anymore. I'll ask my client to test it out, in the mean time, let's consider this closed.
Thank you for your help!

from robotis-op3.

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.