def loop(self): while not rospy.is_shutdown(): char = self.getKeyPress(1000) if char == 'n': self.state = "start" self.fsm() elif char == ' ': self.state = "keyboard"
def loop(self): while not rospy.is_shutdown(): char = self.getKeyPress(1000) if char == 'm': self.state = "start" self.setCam(1) self.xyzCenLand() elif char == ' ': self.state = "keyboard"