Skip to content
Snippets Groups Projects
Unverified Commit aa1a11ce authored by Guilhem Saurel's avatar Guilhem Saurel Committed by GitHub
Browse files

Merge pull request #91 from nim65s/devel

fix tests without ROS PACKAGE_PATH
parents bb0ce2ad d03944e4
No related branches found
No related tags found
No related merge requests found
Subproject commit 5e62c1e8c52ac2b337517973f36fe0e8210ed035
Subproject commit b0b0f4776d126905ddd9dc89006ce82a06447e8a
......@@ -200,7 +200,7 @@ class AbstractRobot(ABC):
urdfFile = urdfPath
if urdfDir is None:
import os
urdfDir = os.environ["ROS_PACKAGE_PATH"].split(':')
urdfDir = os.environ.get("ROS_PACKAGE_PATH", "").split(':')
if rootJointType is None:
self.pinocchioModel = pinocchio.buildModelFromUrdf(urdfFile)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment