File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ option java_package = "com.gz.msgs";
2121option java_outer_classname = "EntityFactoryWithNsProtos" ;
2222
2323/// \ingroup gz.msgs
24- /// \interface EntityFactory
24+ /// \interface EntityFactoryWithNs
2525/// \brief Message with namespace to create new entities at a given pose.
2626/// An entity can be created in one of the following ways:
2727///
@@ -34,6 +34,7 @@ import "gz/msgs/header.proto";
3434import "gz/msgs/light.proto" ;
3535import "gz/msgs/model.proto" ;
3636import "gz/msgs/pose.proto" ;
37+ import "gz/msgs/stringmsg.proto" ;
3738import "gz/msgs/spherical_coordinates.proto" ;
3839
3940message EntityFactoryWithNs
@@ -67,8 +68,8 @@ message EntityFactoryWithNs
6768 /// \brief New name for the entity, overrides the name on the SDF.
6869 string name = 8 ;
6970
70- /// \brief New namespace for the entity, overrides the namespace on the SDF.
71- string ns = 9 ;
71+ /// \brief Optional new namespace for the entity, overrides the namespace on the SDF.
72+ StringMsg ns = 9 ;
7273
7374 /// \brief Whether the server is allowed to rename the entity in case of
7475 /// overlap with existing entities.
You can’t perform that action at this time.
0 commit comments