webots icon indicating copy to clipboard operation
webots copied to clipboard

Connector don't properly snap together

Open ShuffleWire opened this issue 2 years ago • 0 comments

Describe the Bug Connector don't properly snap together, their origin should meet, and they are not.

Steps to Reproduce Open and run the following world

#VRML_SIM R2023a utf8

EXTERNPROTO "webots://projects/objects/backgrounds/protos/TexturedBackground.proto"
EXTERNPROTO "webots://projects/objects/backgrounds/protos/TexturedBackgroundLight.proto"
EXTERNPROTO "webots://projects/objects/floors/protos/RectangleArena.proto"

WorldInfo {
}
Viewpoint {
  orientation -0.35663917817111335 0.6065882295385431 0.7105344582627423 1.4858716593254526
  position -0.0946073365166472 -0.4077248942271883 0.7913188160793391
}
TexturedBackground {
}
TexturedBackgroundLight {
}
RectangleArena {
}
Robot {
  translation 0 0 0.16
  children [
    Shape {
      appearance PBRAppearance {
      }
      geometry Box {
        size 0.1 0.1 0.1
      }
    }
    Connector {
      translation 0.05 0 0
      model "all"
      isLocked TRUE
      distanceTolerance 1
      axisTolerance 1
      rotationTolerance 1
    }
  ]
}
Robot {
  translation 0.11 3.44968e-07 0.16
  rotation 0 0 -1 -2.8797953071795863
  children [
    Shape {
      appearance PBRAppearance {
      }
      geometry Box {
        size 0.1 0.1 0.1
      }
    }
    Connector {
      translation 0.05 0 0
      model "all"
      distanceTolerance 1
      numberOfRotations 0
    }
  ]
  name "robot(1)"
  physics Physics {
  }
}

Expected behavior The two cube should connect face to face.

Screenshots initial state image Result (wrong) image Expected image

System

  • Operating System: Debian 11
  • Webots 2023a

ShuffleWire avatar Jun 13 '23 12:06 ShuffleWire