Пример #1
0
 def cbSrvSetLimit(self, req):
     self.limit = self.setLimit(req.value)
     rospy.set_param("/" + self.veh_name + "/limit", self.limit)
     self.printValues()
     return SetValueResponse()
Пример #2
0
 def cbSrvSetMotorAlpha(self, req):
     self.motor_alpha = req.value
     rospy.set_param("/" + self.veh_name + "/motor_alpha", self.motor_alpha)
     self.printValues()
     return SetValueResponse()
Пример #3
0
 def cbSrvSetK(self, req):
     self.k = req.value
     rospy.set_param("/" + self.veh_name + "/k", self.k)
     self.printValues()
     return SetValueResponse()
Пример #4
0
 def cbSrvSetRadius(self, req):
     self.radius = req.value
     rospy.set_param("/" + self.veh_name + "/radius", self.radius)
     self.printValues()
     return SetValueResponse()
Пример #5
0
 def cbSrvSetBaseline(self, req):
     self.baseline = req.value
     rospy.set_param("/" + self.veh_name + "/baseline", self.baseline)
     self.printValues()
     return SetValueResponse()
Пример #6
0
 def cbSrvSetTrim(self, req):
     self.trim = req.value
     rospy.set_param("/" + self.veh_name + "/trim", self.trim)
     self.printValues()
     return SetValueResponse()
Пример #7
0
 def cbSrvSetGain(self, req):
     self.gain = req.value
     rospy.set_param("/" + self.veh_name + "/gain", self.gain)
     self.printValues()
     return SetValueResponse()