Hi,
I have some folders under an “If false” statement, in which the user is supposed to add waypoints, so that he teaches the specific movements (each folder is for one movement). The folder and the respective move nodes are of TreeNode type. You can see the concept in this post, only I don’t have specific names for the waypoints, because I don’t want to force the user to pay attention to it: Accessing Waypoints/Poses in UR Script - #9 by ajp
I need to get all the waypoints under a specific move node and read their poses, so those can be put into a script function and executed later on when needed. I have a problem both with accessing the waypoint nodes and reading the poses. When it comes to poses I’ve seen the visit function in this discussion: WaypointNode getPose() - #2 by mmi, but it takes only waypoint arguments, not TreeNodes.
Any advice or code samples are welcome