Skip to content

Commit 126a546

Browse files
committed
Begin FP integration.
1 parent d6afb77 commit 126a546

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ihmc-high-level-behaviors/src/main/java/us/ihmc/behaviors/behaviorTree/scene/BehaviorTreeSceneExecutor.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import us.ihmc.communication.crdt.CRDTInfo;
66
import us.ihmc.perception.detections.InstantDetection;
77
import us.ihmc.perception.detections.PersistentDetection;
8+
import us.ihmc.perception.detections.foundationPose.IsaacROSFoundationPoseCommunicator;
89
import us.ihmc.perception.detections.foundationPose.IsaacROSFoundationPoseCommunicatorMap;
910
import us.ihmc.perception.detections.foundationPose.IsaacROSFoundationPoseObject;
1011
import us.ihmc.perception.detections.yolo.YOLOv8DetectionExecutor;
@@ -45,6 +46,13 @@ public BehaviorTreeSceneExecutor(CRDTInfo crdtInfo,
4546

4647
if (yolo != null)
4748
yolo.addDetectionConsumerCallback(instantDetectionQueue::add);
49+
50+
if (foundationPose != null)
51+
{
52+
IsaacROSFoundationPoseCommunicator mustardCommunicator = foundationPose.get(IsaacROSFoundationPoseObject.MUSTARD);
53+
mustardCommunicator.enable(true);
54+
// mustardCommunicator.addResultCallback(instantDetectionQueue::add);
55+
}
4856
}
4957

5058
public void update()

0 commit comments

Comments
 (0)