gazebosim / gazebosim/sdformat
Virtual area
- Dominant language
- C++
- Stars
- 216
- Forks
- 125
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 14
Description
**Original report ([archived issue](https://osrf-migration.github.io/sdformat-gh-pages/#!/osrf/sdformat/issues/211)) by Matthijs van der Burgh (Bitbucket: [MatthijsBurgh](https://bitbucket.org/%7B855a4af3-768d-4ef3-a630-cf1751b3571d%7D/)).**
----------------------------------------
# Summary
SDF doesn't contain any elements for virtual geometries. Virtual geometries could be used in multiple ways. For example event triggerring or limiting behaviour, position. I am interested in how you would implement it in SDF.
My suggestion would be:
tag: virtual_area
parent: link
childs: name, frame, pose, geometry(, plugin)
# Motivation
The virtual area could be useful for:
* Event triggers, start an event if a robot, actor, etc. enters a virtual area.
* Allow objects, actors, population to only move in the virtual area.
More in general the virtual area can be used for checking if certain objects are located somewhere in space. Or to apply limits in space for almost anything: models, actors, population, physics, etc,
# Describe alternatives you've considered
I couldn't find anything already in SDF suitable for this. World, State and Scene, don't have anything in there, which could match this. In my opinion the best solution is to define these in models. So this area can be used for events/limits relative to a model.
Contributor guide
Research direction
No files, tests, or entry points are named. Start by reviewing the existing World, State, Scene, model, and link structures, then determine where a virtual_area element and its geometry, frame, pose, and optional plugin should fit. Done means an agreed design and clear semantics for event triggers and spatial limits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100