class documentation

class Shell:

Constructor: Shell(robot)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method parse_command Undocumented
Method wait_process_command Request a command to user and execute it.
Instance Variable logger Undocumented
Instance Variable robot Undocumented
def __init__(self, robot: NiryoRosWrapper):

Undocumented

def parse_command(self, command_args: tuple[str]) -> int:

Undocumented

def wait_process_command(self) -> int:

Request a command to user and execute it.

This, block the input, so run this in another thread

@ Return 0 if no error. @ Return 1 if an error is raised by a command. @ Return 127 if empty command @ Return 255 if exit requested

logger =

Undocumented

robot =

Undocumented