Read nbv params from the rosparam server

This commit is contained in:
Michel Breyer
2021-10-08 15:41:50 +02:00
parent 5e1876432b
commit fcc5045671
4 changed files with 17 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ class GraspController:
self.min_z_dist = rospy.get_param("~camera/min_z_dist")
self.control_rate = rospy.get_param("~control_rate")
self.linear_vel = rospy.get_param("~linear_vel")
self.policy_rate = rospy.get_param("~policy_rate")
self.policy_rate = rospy.get_param("policy/rate")
def init_service_proxies(self):
self.reset_env = rospy.ServiceProxy("reset", Reset)