forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[geometry] SceneGraph can store geometry data as State or Parameter (R…
…obotLocomotion#14189) While this provides the ability to choose whether the giant geometry data blob for SceneGraph is stored as Parameter or State, the default behavior remains State to maintain backwards compatibility. - SceneGraph's "model" is now an instance of GeometryState directly owned by the system. This had one implication *outside* of scene_graph.*; geometry_visualization.cc was directly accessing the model. - SetDefault{State|Parameters} have been overridden to copy the model into the context. - The GeometryStateValue (in scene_graph.cc) has received documentation to make its role clear for future readers. - Unit tests have been: - extended to test new funtionality - updated from expecting that "AllocateContext" copies the model (an invalid assumption based on quirks of previous implementation) to preferring CreateDefaultContext(). This affected a few other unit tests as well.
- Loading branch information
1 parent
b096bd6
commit 82e14f1
Showing
7 changed files
with
248 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.