feat: Add logging for specific human model during trigger handling
This commit is contained in:
@@ -299,10 +299,6 @@ export function useTriggerHandler() {
|
|||||||
const action = getActionByUuid(selectedProduct.productUuid, trigger.triggeredAsset.triggeredAction.actionUuid);
|
const action = getActionByUuid(selectedProduct.productUuid, trigger.triggeredAsset.triggeredAction.actionUuid);
|
||||||
const human = getHumanById(trigger.triggeredAsset?.triggeredModel.modelUuid);
|
const human = getHumanById(trigger.triggeredAsset?.triggeredModel.modelUuid);
|
||||||
|
|
||||||
if (human && human.modelUuid === "cc62adae-7000-447b-b845-6d4910de503a") {
|
|
||||||
console.log(human);
|
|
||||||
}
|
|
||||||
|
|
||||||
setPreviousLocation(material.materialId, {
|
setPreviousLocation(material.materialId, {
|
||||||
modelUuid: material.current.modelUuid,
|
modelUuid: material.current.modelUuid,
|
||||||
pointUuid: material.current.pointUuid,
|
pointUuid: material.current.pointUuid,
|
||||||
@@ -390,6 +386,10 @@ export function useTriggerHandler() {
|
|||||||
const human = getHumanById(trigger.triggeredAsset?.triggeredModel.modelUuid);
|
const human = getHumanById(trigger.triggeredAsset?.triggeredModel.modelUuid);
|
||||||
if (human) {
|
if (human) {
|
||||||
if (human.isActive === false && human.state === 'idle') {
|
if (human.isActive === false && human.state === 'idle') {
|
||||||
|
|
||||||
|
if (human && human.modelUuid === "cc62adae-7000-447b-b845-6d4910de503a") {
|
||||||
|
console.log(human);
|
||||||
|
}
|
||||||
const conveyor = getConveyorById(action.triggers[0]?.triggeredAsset?.triggeredModel.modelUuid);
|
const conveyor = getConveyorById(action.triggers[0]?.triggeredAsset?.triggeredModel.modelUuid);
|
||||||
if (conveyor) {
|
if (conveyor) {
|
||||||
if (!conveyor.isPaused) {
|
if (!conveyor.isPaused) {
|
||||||
|
|||||||
Reference in New Issue
Block a user