Skip to content

Commit

Permalink
Replace AddPackagePaths with new ConfigureParser
Browse files Browse the repository at this point in the history
  • Loading branch information
nepfaff committed Feb 2, 2024
1 parent c64bf8a commit c2211f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sim2sim/util/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import trimesh

from manipulation.meshcat_utils import AddMeshcatTriad
from manipulation.utils import AddPackagePaths
from manipulation.utils import ConfigureParser
from pydrake.all import (
Box,
Capsule,
Expand All @@ -38,7 +38,7 @@
def get_parser(plant: MultibodyPlant) -> Parser:
"""Creates a parser for a plant and adds package paths to it."""
parser = Parser(plant)
AddPackagePaths(parser)
ConfigureParser(parser)
parser.package_map().Add("sim2sim", os.path.abspath(""))
return parser

Expand Down

0 comments on commit c2211f1

Please sign in to comment.