Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

joints not appearing in ECM model with no passive joints #107

Open
nag92 opened this issue Dec 26, 2020 · 2 comments
Open

joints not appearing in ECM model with no passive joints #107

nag92 opened this issue Dec 26, 2020 · 2 comments

Comments

@nag92
Copy link
Contributor

nag92 commented Dec 26, 2020

in the ECM model I made all the joints
passive: false

This made 9/12 joints appear in the output. The following joints did not appear

  • yaw link-pitch back link
  • pitch bottom link-pitch end link
  • pitch top link-pitch end link
@adnanmunawar
Copy link
Member

@nag92 @cshreyastech Hey guys, can you create an answer for this based on our last discussion.

@cshreyastech
Copy link
Contributor

cshreyastech commented Jan 4, 2021

@adnanmunawar , thanks for explaining the behavior.

         A
     /        \
    /           \
  B             C
    \          /
     \        /
         D
          |
          |
         E

Suppose that we have 2 parallel joints ABD and ACD. Only one of the joint would be published in AMBF say ABD in this example. This is because body D can be controlled by just ACD and commanding ABD will become redundant.

The joint which is defined first in the YAML file among AB or AC gets the privileged of ROS control.

So, what if we would like to get the joint details of body C or Joint CD?
This can be done by creating a rigidbody handler of body C. Joint CD can be controlled by getting the child of C.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants