pyicub.core package
Submodules
pyicub.core.logger module
- class pyicub.core.logger.PyicubLogger
Bases:
_Logger
- static getLogger()
- FORMAT = '%(asctime)s - %(levelname)s - %(message)s'
- FORMAT_VERBOSE = '%(asctime)s - %(levelname)s - %(module)s - %(process)d - %(thread)d - %(message)s'
- FORMAT_JSON = '{"asctime": "%(asctime)-15s", "created": %(created)f, "relativeCreated": %(relativeCreated)f, "levelname": "%(levelname)s", "module": "%(module)s", "process": %(process)d, "processName": "%(processName)s", "thread": %(thread)d, "threadName": "%(threadName)s", "message": "%(message)s"}'
- LOGGING_LEVEL = 30
- configure(logging_level, logging_format, logging_file=False, logging_path='.')
- addFileHandler(path)
- addStreamHandler(stream=None)
pyicub.core.ports module
- class pyicub.core.ports.BufferedPort
Bases:
object
- property name
- open(port)
- read(shouldWait=True)
- lastRead()
- write(msg, forceStrict=False)
- setStrict()
- prepare()
- class pyicub.core.ports.BufferedReadPort(port_name, port_src, callback=None)
Bases:
BufferedPort
- class pyicub.core.ports.BufferedWritePort(port_name, port_dst)
Bases:
BufferedPort