echo_world_nodes
Skill class for ai.intrinsic.echo_world_nodes skill.
Skill that returns nodes (frames or objects) from the world. Subset may be defined by: A) Frames specified by the user B) Objects specified by the user C) An object and a regular expression matching child frames of said object
This skill could be helpful for a single motion skill be parameterized to execute a sequence of poses. For example, imagine there is an object BOX with child frames 'center', 'slot1' and 'slot2'. To move to each slot, user may:
- Construct a EchoWorldNodes skill with the parent BOX object and a frame regular expression of 'slot\d*'
- Construct a behavior tree node that uses a loop counter over a move skill,where the motion is parameterized by the result of fetch frames indexed by the loop counter. Example: echo_world_nodes = skills.echo_world_nodes( known_nodes=skills.echo_world_nodes.KnownNodes( nodes=[ world.object_a, world.object_b, ] ), )
Prerequisites
This skill does not have any prerequisite.
Usage Example
This skill does not have any usage example yet.
Parameters
known_nodes
Fetches the exact nodes given to the skill.
object_subset
Fetches child frames of an object that match a provided regex.
Error Code
The skill does not have error codes yet