def pos_1_srv(self, req): data_to_send = dict(pos_1=req.command) self.sendSerial(data_to_send) reply = "ID " + str(req.command[0]) + " >> Position " + str( req.command[1]) return list_keyResponse(reply)
def acc_N_srv(self, req): data_to_send = dict(aprof_n=req.command) self.sendSerial(data_to_send) return list_keyResponse("Some Acceleration profiles changed")
def pos_N_srv(self, req): data_to_send = dict(pos_n=req.command) self.sendSerial(data_to_send) return list_keyResponse("Some Positions changed")
def pwm_N_srv(self, req): data_to_send = dict(pwm_n=req.command) self.sendSerial(data_to_send) return list_keyResponse("Some PWM Limits changed")
def vel_N_srv(self, req): data_to_send = dict(vprof_n=req.command) self.sendSerial(data_to_send) return list_keyResponse("Some Velocity profiles changed")