set 'mesh_path' from BT node
This commit is contained in:
parent
578b503d32
commit
c5f37c587f
2 changed files with 10 additions and 36 deletions
|
@ -82,8 +82,11 @@ class PoseEstimator(Node):
|
|||
self.mytemppath = Path(self.tmpdir) / "rbs_per"
|
||||
self.mytemppath.mkdir(exist_ok=True)
|
||||
|
||||
# for other nodes
|
||||
kwargs["allow_undeclared_parameters"] = True
|
||||
kwargs["automatically_declare_parameters_from_overrides"] = True
|
||||
super().__init__(self.nodeName, **kwargs)
|
||||
self.declare_parameter("mesh_path", "")
|
||||
self.declare_parameter("mesh_path", rclpy.Parameter.Type.STRING)
|
||||
|
||||
# Initialize the transform broadcaster
|
||||
self.tf_broadcaster = TransformBroadcaster(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue