fix console

This commit is contained in:
2025-04-28 17:59:28 +05:30
parent 1182850a1f
commit 32a44adb7c
3 changed files with 6 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ function RoboticArmInstance({ robot }: { robot: ArmBotStatus }) {
);
if (curve) {
setTimeout(() => {
logStatus(robot.modelUuid, "waiting to pick box");
logStatus(robot.modelUuid, "picking the object");
setPath(curve.points.map(point => [point.x, point.y, point.z]));
}, 1500)
}
@@ -117,7 +117,7 @@ function RoboticArmInstance({ robot }: { robot: ArmBotStatus }) {
);
if (curve) {
setTimeout(() => {
logStatus(robot.modelUuid, "waiting to drop box");
logStatus(robot.modelUuid, "dropping the object");
setPath(curve.points.map(point => [point.x, point.y, point.z]));
}, 1500)
}
@@ -170,7 +170,8 @@ function RoboticArmInstance({ robot }: { robot: ArmBotStatus }) {
}
}
const logStatus = (id: string, status: string) => {
console.log(id + "," + status);
// console.log(id + "," + status);
console.log( status);
}
return (