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

[Feature request]: Introduce "zone" sketching tool #183

Open
1 task done
mxgrey opened this issue Oct 4, 2023 · 0 comments
Open
1 task done

[Feature request]: Introduce "zone" sketching tool #183

mxgrey opened this issue Oct 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@mxgrey
Copy link
Collaborator

mxgrey commented Oct 4, 2023

Before proceeding, is there an existing issue or discussion for this?

Description

Within a site there are many spatial regions that need special consideration, e.g. passing through a door, in/out of a lift, or a narrow passage. Maybe for a specific operation there are special areas where a certain event should be triggered whenever a robot enters/exits/stops, etc.

To begin RMF's support for these spatial considerations, we should introduce a tool that lets users sketch "zones" into the site. We should provide a few different options for how users can draw and interact with zones. At a minimum I recommend these options:

  • Circle
  • Capsule (two circles connected by a rectangle)
  • Rectangle
  • Polygon
    Each would have a different user experience, e.g.

Circle

  • Click+drag on its face to translate
  • Click+drag on its edge to grow/shrink the radius

Capsule

  • Click+drag on its face to translate
  • Click+drag on an endpoint (center of one of the circles) to move around that endpoint
  • Click+drag on the edge to grow/shrink the radius

Rectangle

  • Click+drag on its inner face to translate
  • Click+drag on the face near an edge to rotate
  • Click+drag on an edge to grow/shrink that dimension of the rectangle
  • Click+drag on a corner to grow/shrink two dimensions of the rectangle

Polygon

  • Defined by a sequence of anchors
  • Click+drag on its inner face to translate
  • Click+drag on the face near an edge to rotate
  • Click+drag on an anchor to move that corner
  • Click+drag on an edge to move both anchors that form the edge

Implementation Considerations

No response

Alternatives

No response

Additional information

No response

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

No branches or pull requests

1 participant