feat: Add robotic arm components and integrate IKInstance; refactor vehicle status sample type

This commit is contained in:
Jerald-Golden-B 2025-04-23 12:29:16 +05:30
parent 58b0e779fd
commit a965a403ee
7 changed files with 81 additions and 15 deletions

View File

@ -0,0 +1,9 @@
import React from 'react'
function RoboticArmAnimator() {
return (
<></>
)
}
export default RoboticArmAnimator;

View File

@ -0,0 +1,17 @@
import React from 'react'
import IKInstance from '../ikInstance/ikInstance';
import RoboticArmAnimator from '../animator/roboticArmAnimator';
function RoboticArmInstance() {
return (
<>
<IKInstance />
<RoboticArmAnimator />
</>
)
}
export default RoboticArmInstance;

View File

@ -0,0 +1,9 @@
import React from 'react'
function IKInstance() {
return (
<></>
)
}
export default IKInstance;

View File

@ -0,0 +1,14 @@
import React from 'react'
import IKInstance from './ikInstance/ikInstance';
function IkInstances() {
return (
<>
<IKInstance />
</>
)
}
export default IkInstances;

View File

@ -0,0 +1,14 @@
import React from 'react'
import RoboticArmInstance from './armInstance/roboticArmInstance';
function RoboticArmInstances() {
return (
<>
<RoboticArmInstance />
</>
)
}
export default RoboticArmInstances;

View File

@ -0,0 +1,15 @@
import React from 'react'
import RoboticArmInstances from './instances/roboticArmInstances';
import IkInstances from './instances/ikInstances';
function RoboticArm() {
return (
<>
<RoboticArmInstances />
</>
)
}
export default RoboticArm;

View File

@ -7,7 +7,7 @@ function Vehicles() {
const { vehicles, addVehicle } = useVehicleStore();
const vehicleStatusSample: VehicleStatus[] = [
const vehicleStatusSample: VehicleEventSchema[] = [
{
modelUuid: "veh-123",
modelName: "Autonomous Truck A1",
@ -50,13 +50,7 @@ function Vehicles() {
}
]
}
},
productId: "prod-890",
isActive: false,
idleTime: 0,
activeTime: 0,
currentLoad: 0,
distanceTraveled: 0
}
},
{
modelUuid: "veh-123",
@ -100,13 +94,7 @@ function Vehicles() {
}
]
}
},
productId: "prod-890",
isActive: false,
idleTime: 0,
activeTime: 0,
currentLoad: 0,
distanceTraveled: 0
}
}
];