openrave icon indicating copy to clipboard operation
openrave copied to clipboard

Add new KinBody::ExtraGeometryInfo struture for KinBody::Link::_mapExtraGeometries

Open zax147 opened this issue 4 months ago • 2 comments

Add support for serialization and deserialization of the extraGeometries field.

The extraGeometries in OpenRAVE is saved as std::map< std::string, std::vector<GeometryInfoPtr> > while the schema supposes to be:

         "extraGeometries": [
              {
                  "id": "extraGeometry_id",
                  "name": "extraGeometry_name",
                  "geometries": [
                      {
                          "id": "geom_id",
                          "name": "geom_name",
                      }
                  ]
              }
          ]

zax147 avatar Sep 30 '24 06:09 zax147