Hi,
I've just started using the BehaviorTreeCPP, getting to know what is available in the framework.
I'm trying to create a simple loop where my robot plans and moves linearly along waypoints which only change on one coordinate let's say along the Y-axis.
I created a "PlanCartesian" behavior that is a service client of moveit's compute_cartesian_path which takes as input waypoints which is a list of poses.
so I also created a custom waypoint type to be used in <Script/> for geometry_msgs/Pose input and I was wondering if I can define <Script/> only once in my XML file then I reuse it by changing only one out of the seven data like this?
<Script waypoints="0.165, 0.0, 0.677, 0.699, 0.714, 0.019, 0.003"/>
<Repeat...>
<Sequence>
<Script autoremap and change second value>
<PlanCartesian name="plan ..." ..../>
<Move name="plan to waypoint" .../>
</Sequence>
</Repeat>
I know there's a popfrom Queue there, I didn't get to how it can be used yet, that's why I'm asking about reusing Script for relative motion
thank you
Hi,
I've just started using the BehaviorTreeCPP, getting to know what is available in the framework.
I'm trying to create a simple loop where my robot plans and moves linearly along waypoints which only change on one coordinate let's say along the Y-axis.
I created a "PlanCartesian" behavior that is a service client of moveit's
compute_cartesian_pathwhich takes as inputwaypointswhich is a list of poses.so I also created a custom waypoint type to be used in
<Script/>forgeometry_msgs/Poseinput and I was wondering if I can define<Script/>only once in my XML file then I reuse it by changing only one out of the seven data like this?I know there's a popfrom Queue there, I didn't get to how it can be used yet, that's why I'm asking about reusing Script for relative motion
thank you