feat: Add robotic arm components and integrate IKInstance; refactor vehicle status sample type
This commit is contained in:
parent
58b0e779fd
commit
a965a403ee
|
@ -0,0 +1,9 @@
|
|||
import React from 'react'
|
||||
|
||||
function RoboticArmAnimator() {
|
||||
return (
|
||||
<></>
|
||||
)
|
||||
}
|
||||
|
||||
export default RoboticArmAnimator;
|
|
@ -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;
|
|
@ -0,0 +1,9 @@
|
|||
import React from 'react'
|
||||
|
||||
function IKInstance() {
|
||||
return (
|
||||
<></>
|
||||
)
|
||||
}
|
||||
|
||||
export default IKInstance;
|
|
@ -0,0 +1,14 @@
|
|||
import React from 'react'
|
||||
import IKInstance from './ikInstance/ikInstance';
|
||||
|
||||
function IkInstances() {
|
||||
return (
|
||||
<>
|
||||
|
||||
<IKInstance />
|
||||
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default IkInstances;
|
|
@ -0,0 +1,14 @@
|
|||
import React from 'react'
|
||||
import RoboticArmInstance from './armInstance/roboticArmInstance';
|
||||
|
||||
function RoboticArmInstances() {
|
||||
return (
|
||||
<>
|
||||
|
||||
<RoboticArmInstance />
|
||||
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default RoboticArmInstances;
|
|
@ -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;
|
|
@ -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
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue