Skip to content

Commit

Permalink
Reduce error to debug and add notes
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Nov 28, 2022
1 parent bab13ef commit a98d215
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions dartsim/src/SDFFeatures.cc
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,11 @@ static ShapeAndTransform ConstructPlane(
static ShapeAndTransform ConstructHeightmap(
const ::sdf::Heightmap & /*_heightmap*/)
{
gzerr << "Heightmap construction from an SDF has not been implemented yet "
<< "for dartsim.\n";
// TODO(mjcarroll) Allow dartsim to construct heightmaps internally rather
// than relying on the physics consumer constructing and attaching:
// https://github.com/gazebosim/gz-physics/issues/451
gzdbg << "Heightmap construction from an SDF has not been implemented yet "
<< "for dartsim. Use AttachHeightmapShapeFeature to use heightmaps. \n";
return {nullptr};
}

Expand All @@ -317,8 +320,11 @@ static ShapeAndTransform ConstructMesh(
{
// TODO(MXG): Look into what kind of mesh URI we get here. Will it just be
// a local file name, or do we need to resolve the URI?
gzerr << "Mesh construction from an SDF has not been implemented yet for "
<< "dartsim.\n";
// TODO(mjcarroll) Allow dartsim to construct meshes internally rather
// than relying on the physics consumer constructing and attaching:
// https://github.com/gazebosim/gz-physics/issues/451
gzdbg << "Mesh construction from an SDF has not been implemented yet for "
<< "dartsim. Use AttachMeshShapeFeature to use mesh shapes.\n";
return {nullptr};
}

Expand Down

0 comments on commit a98d215

Please sign in to comment.