py_trees.demos.blackboard module
A py_trees demo.
- class py_trees.demos.blackboard.BlackboardWriter(name: str)
Bases:
Behaviour
Write some more interesting / complex types to the blacbkoard.
- class py_trees.demos.blackboard.Nested
Bases:
object
A more complex object to interact with on the blackboard.
- class py_trees.demos.blackboard.ParamsAndState(name: str)
Bases:
Behaviour
Parameter and state storage on the blackboard.
This behaviour demonstrates the usage of namespaces and multiple clients to perform getting and setting of parameters and state in a concise and convenient manner.
- initialise() None
Initialise speed from the stored parameter variable on the blackboard.
- py_trees.demos.blackboard.command_line_argument_parser() ArgumentParser
Process command line arguments.
- Returns:
the argument parser
- py_trees.demos.blackboard.create_root() Behaviour
Create the root behaviour and it’s subtree.
- Returns:
the root behaviour
- py_trees.demos.blackboard.description() str
Print description and usage information about the program.
- Returns:
the program description string
- py_trees.demos.blackboard.epilog() str | None
Print a noodly epilog for –help.
- Returns:
the noodly message
- py_trees.demos.blackboard.main() None
Entry point for the demo script.