def get_ui_description(self, p=None): """Returns the UI description for the docker""" if p is None: p = self.parameters return [(('left', 'Left Wheel PWM'), uiInt(p.left)), (('right', 'Right Wheel PWM'), uiInt(p.right))]
def get_ui_description(self,p = None): """Returns the UI description for the docker""" if p is None: p = self.parameters return [(('left','Left Wheel PWM'), uiInt(p.left)), (('right','Right Wheel PWM'), uiInt(p.right))]
def get_ui_description(self,p = None): """Returns the UI description for the docker""" if p is None: p = self.parameters return [('joystick', [(('i_j',"Joystick index"), uiInt(p.joystick.i_j,0,self.jcontroller.joystick_count()-1)), \ (('i_x',"Omega axis"), uiInt(p.joystick.i_x,0,100)), \ (('inv_x',"Invert axis"), uiBool(p.joystick.inv_x)), \ (('i_y',"Velocity axis"), uiInt(p.joystick.i_y,0,100)), \ (('inv_y',"Invert axis"), uiBool(p.joystick.inv_y))])]
def get_ui_description(self, p=None): """Returns the UI description for the docker""" if p is None: p = self.parameters return [('joystick', [(('i_j',"Joystick index"), uiInt(p.joystick.i_j,0,self.jcontroller.joystick_count()-1)), \ (('i_x',"Omega axis"), uiInt(p.joystick.i_x,0,100)), \ (('inv_x',"Invert axis"), uiBool(p.joystick.inv_x)), \ (('i_y',"Velocity axis"), uiInt(p.joystick.i_y,0,100)), \ (('inv_y',"Invert axis"), uiBool(p.joystick.inv_y))])]