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

SliderJoint initial position is not reflected in Webots simulation #192

Open
astumpf opened this issue Oct 10, 2022 · 0 comments
Open

SliderJoint initial position is not reflected in Webots simulation #192

astumpf opened this issue Oct 10, 2022 · 0 comments

Comments

@astumpf
Copy link

astumpf commented Oct 10, 2022

Example proto snippet:

SliderJoint {
  jointParameters JointParameters {
    position 0.100000
    axis 0.000000 0.000000 -1.000000
  }
  device [
    LinearMotor {
      name "extension_leg_1_joint"
      maxVelocity 0.1
      maxPosition 0.74
      maxForce 1500.0
    }
    PositionSensor {
      name "extension_leg_1_joint_sensor"
    }
  ]
...

Results in unexpected result since Webots 2022b. In the following images, all legs with the exception of the front left one do have an initial position of 0.1 [m] specified.

In RViz we can see the correct (initial) joint states as expected, reported by the Webots simulation:

Screenshot from 2022-10-10 19-51-16

However, Webots seems to ignore physically the initial state and simulates the identical initial state for both legs despite the right one should be extended downwards by 0.1m:

Screenshot from 2022-10-10 19-51-35

Both screenshots are captured from the identical instance of Webots.

@astumpf astumpf changed the title SliderJoint position is not reflected in Webots simulation SliderJoint initial position is not reflected in Webots simulation Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant