IBM TJ Watson Research

IBMPlaneSensor2DsNested

IBMPlaneSensor2DsNested.mp4

Description

This test case has groups of shapes which can be moved via PlaneSensor2Ds and the whole lot rotated via a DiscSensor. The shapes are grouped and sensors allow the groups of shapes to be dragged.

The light-gray outer circle with a gray indicator line is in a group along with all the other rectangles. The Blue outer rectangle is itself in a group with the remaining rectangles. And finally the Green Rectangle is in a group along with the Red and Yellow rectangles. Note that while the rectangles are grouped, and are initially postioned to visually reflect that nesting, their positions are in no way constrained by that grouping to be inside one another.

The parts can be dragged as follows:

  1. The light-gray circle can be rotated which rotates everything.
  2. The blue rectangle can be moved which moves all the rectangles. The blue rectangle is however constrained to a box 100x100 about the center.
  3. The green rectangle can be moved without constraint and also moves the yellow and red rectangles grouped with it.
  4. The yellow rectangle can be moved freely along the y-axis but it cannot be moved in the x direction.
  5. The red rectangle can be moved freely along the x-axis but it cannot be moved in the y direction.

Note: For the latter description of x and y axis this refers to the local coordinate system, for those shapes, which can be rotated by the light-gray circle such that they are no longer parallel to the edges of the screen; the direction of the y-axis is always shown by the indicator line. But however the axes are rotated the motion is always constrained to the axes as described.

Screenshot

Snapshot taken before parts have been dragged (moved or rotated) from their original locations



Snapshot taken with shapes rotated by 90 degrees clockwise and all rectangles moved.



Back to main index