Read cam update rate from the config file
This commit is contained in:
parent
8989115bd7
commit
ed40db562e
@ -179,7 +179,8 @@ class GripperControllerPlugin(Plugin):
|
||||
|
||||
|
||||
class CameraPlugin(Plugin):
|
||||
def __init__(self, camera, name="camera", rate=10):
|
||||
def __init__(self, camera, name="camera"):
|
||||
rate = rospy.get_param("~cam_rate", 5)
|
||||
super().__init__(rate)
|
||||
self.camera = camera
|
||||
self.name = name
|
||||
|
Loading…
x
Reference in New Issue
Block a user