py_trees.syntax_highlighting module
Syntax highlighting hints for core py_tree types/enums.
Oh my spaghettified magnificence,
Bless my noggin with a tickle from your noodly appendages!
-
py_trees.syntax_highlighting.status(status: Status) → str
Retrieve a coloured string representing a Status
.
This is used for syntax highlighting in various modes.
- Args:
status: behaviour status
- Returns:
syntax highlighted string representation of the status
-
py_trees.syntax_highlighting.status_colour_code(status: Status) → str
Retrieve the colour code associated with a Status
.
This is used for syntax highlighting in various modes.
- Args:
Status: behaviour status
- Returns:
console colour code associated with the status