예제 #1
0
    def _handle_man_clicked(self):
        self.pushButtonAuto.setStyleSheet("background-color: light grey")
        self.pushButtonMan.setStyleSheet("background-color: green")

        self.msg = gui_command()
        self.msg.command = self.msg.COMMAND_MAN
        self.pub.publish(self.msg)
        self.manualMode = True
예제 #2
0
 def _handle_man_clicked(self):
         self.pushButtonAuto.setStyleSheet("background-color: light grey")
         self.pushButtonMan.setStyleSheet("background-color: green")
 
         self.msg = gui_command()
         self.msg.command = self.msg.COMMAND_MAN	
         self.pub.publish(self.msg)
         self.manualMode = True
예제 #3
0
 def _handle_auto_clicked(self):
     if self.error == False:
         self.pushButtonMan.setStyleSheet("background-color: light grey")
         self.pushButtonAuto.setStyleSheet("background-color: green")
         self.manualMode = False
         self.msg = gui_command()
         self.msg.command = self.msg.COMMAND_AUTO
         self.pub.publish(self.msg)
예제 #4
0
 def _handle_auto_clicked(self):
     if self.error == False:
         self.pushButtonMan.setStyleSheet("background-color: light grey")
         self.pushButtonAuto.setStyleSheet("background-color: green")
         self.manualMode = False
         self.msg = gui_command()
         self.msg.command = self.msg.COMMAND_AUTO
         self.pub.publish(self.msg)