The ROS2 settings of one Machine, which is the unit of one Domain ID.
The first four fields are the Runtime's constructor keywords, so a Runtime can be built from a loaded config field by field. The Machine mixin takes the whole object.
| Class Method | from |
Read these settings from a TOML file; a key the file omits keeps its default. |
| Method | __post |
Refuse an introspection level below the Skill level. |
| Instance Variable | debug |
Whether an action Skill also exposes succeeded, aborted and canceled booleans in its FinalResultData. A debugging aid, off by default: the goal outcome drives the Skill's state machine, and the booleans beside ... |
| Instance Variable | domain |
The ROS2 Domain ID this Machine's Runtime is confined to. |
| Instance Variable | introspection |
Access level the introspection mutators (BindTopic, CallService) require, on top of the Lock. Default ~opensmi.ros2.server.access.MUTATOR_ACCESS_LEVEL. All three defaults follow opensmi's default user table; a site with a different table sets its own. |
| Instance Variable | listing |
Access level the introspection Component's read-only listings require. They answer without the Lock whatever this is. Default ~opensmi.ros2.server.access.LISTING_ACCESS_LEVEL. |
| Instance Variable | namespace |
The ROS2 namespace for that node, or None for the root. |
| Instance Variable | node |
The name of the single rclpy Node the Runtime owns. |
| Instance Variable | skill |
Access level a Skill requires, on top of the Lock. Default ~opensmi.ros2.server.access.SKILL_ACCESS_LEVEL. |
| Instance Variable | startup |
Seconds a required Binding has to become satisfied before its StartupSkill gives up on it. A declaration can override it with its own startup_timeout; a Binding that is not required has no deadline. A Machine's StartupSkill also allows each Component this much slack beyond that Component's own deadlines. |
| Instance Variable | stop |
How long, in seconds, stopping waits for the executor thread. |
| Instance Variable | transforms |
Where the TF Bindings read the frame network from and how often it is polled; the [transforms] table in the settings file. See TransformConfig. |
Read these settings from a TOML file; a key the file omits keeps its default.
| Raises | |
ValueError | When the file carries a key this class does not declare. |
DeclarationError | When the access levels contradict each other. |
Refuse an introspection level below the Skill level.
| Raises | |
DeclarationError | When introspection_access_level is below skill_access_level. A mutator changes a live robot, so it asks at least as much as starting a Skill. |
Whether an action Skill also exposes succeeded, aborted and canceled booleans in its FinalResultData. A debugging aid, off by default: the goal outcome drives the Skill's state machine, and the booleans beside CurrentState can disagree with it.
Access level the introspection mutators (BindTopic,
CallService) require, on top of the Lock. Default
~opensmi.ros2.server.access.MUTATOR_ACCESS_LEVEL. All three defaults follow opensmi's
default user table; a site with a different table sets its own.
Access level the introspection Component's read-only listings
require. They answer without the Lock whatever this is. Default
~opensmi.ros2.server.access.LISTING_ACCESS_LEVEL.
Access level a Skill requires, on top of the Lock. Default
~opensmi.ros2.server.access.SKILL_ACCESS_LEVEL.
Seconds a required Binding has to become satisfied before its StartupSkill gives up on it. A declaration can override it with its own startup_timeout; a Binding that is not required has no deadline. A Machine's StartupSkill also allows each Component this much slack beyond that Component's own deadlines.
Where the TF Bindings read the frame network from and how often it is polled;
the [transforms] table in the settings file. See TransformConfig.