Skip to content
Snippets Groups Projects
Commit 0e35037c authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Extend python class constructor of Robot for PR2

parent 740ea042
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,6 @@ class Robot (Parent): ...@@ -39,6 +39,6 @@ class Robot (Parent):
urdfSuffix = "" urdfSuffix = ""
srdfSuffix = "_manipulation" srdfSuffix = "_manipulation"
def __init__ (self, robotName, load = True): def __init__ (self, robotName, load = True, rootJointType = "planar"):
Parent.__init__ (self, robotName, "planar") Parent.__init__ (self, robotName, rootJointType, load)
self.tf_root = "base_footprint" self.tf_root = "base_footprint"
...@@ -39,6 +39,6 @@ class Robot (Parent): ...@@ -39,6 +39,6 @@ class Robot (Parent):
urdfSuffix = "" urdfSuffix = ""
srdfSuffix = "" srdfSuffix = ""
def __init__ (self, robotName, load = True): def __init__ (self, robotName, load = True, rootJointType = "planar"):
Parent.__init__ (self, robotName, "planar", load) Parent.__init__ (self, robotName, rootJointType, load)
self.tf_root = "base_footprint" self.tf_root = "base_footprint"
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