Commit Graph

210 Commits

Author SHA1 Message Date
Jerald-Golden-B a1a1eacb79 feat: Refactor event data handling and API integration; update variable names for consistency and clarity 2025-04-25 13:47:46 +05:30
Jerald-Golden-B c0e0bcb69d refactor: Update material default value and remove console logs for cleaner output 2025-04-25 11:49:39 +05:30
Jerald-Golden-B 0ba771907a Merge remote-tracking branch 'origin/simulation-armbot-v2' into v2 2025-04-25 11:20:53 +05:30
Jerald-Golden-B 4310b473d0 feat: Enhance EventProperties and mechanics components with new state management and action handling; add DelayAction component and remove unused IkInstances 2025-04-24 19:15:36 +05:30
Gomathi c5d4679068 fix 2025-04-24 17:51:52 +05:30
Gomathi af891fae83 Merge remote-tracking branch 'origin/v2' into simulation-armbot-v2 2025-04-24 17:51:03 +05:30
Jerald-Golden-B a305c3c006 Refactor EventProperties component to utilize new state management for selected event data and asset selection; implement action handling based on asset type and improve action rendering logic.
Enhance Simulations component to support adding and removing events from products; integrate new asset selection store for better state management.

Fix import paths in Design component and related files to ensure correct module resolution.

Update Tools component to correct import paths for template saving functionality.

Refactor EditWidgetOption component to simplify option handling and remove unnecessary state management.

Add new mechanics components for various asset types (Conveyor, Machine, Robotic Arm, Storage, Vehicle) as placeholders for future implementation.

Implement Trigger and TriggerConnector components to manage right-click interactions and asset selection in the simulation environment.

Enhance product store with new helper functions for event and action retrieval based on UUIDs.

Introduce new selected event data and asset state management in the simulation store for improved event handling.

Update simulation types to include new action types and improve type definitions for better type safety.

Remove obsolete temp markdown file from triggers directory.
2025-04-24 16:38:42 +05:30
Jerald-Golden-B 85515c6cd3 feat: Refactor simulation components and enhance product management with new features 2025-04-24 11:07:15 +05:30
SreeNath14 4e652bb48e feat: Enhance Robotic Arm functionality with state management and action handling 2025-04-24 09:47:44 +05:30
Jerald-Golden-B d53ef429c8 feat: Remove unused IkInstances import from RoboticArm component 2025-04-23 18:52:27 +05:30
Jerald-Golden-B 0f716d64a6 feat: Add Simulator component to simulation and enable event logging 2025-04-23 18:25:49 +05:30
Jerald-Golden-B 22fb00f731 feat: Enhance simulation event handling and material management with new components and state management 2025-04-23 18:13:32 +05:30
Jerald-Golden-B 6f93fc36c2 feat: Add Conveyor and RoboticArm components to simulation and integrate MaterialInstances 2025-04-23 15:29:51 +05:30
Jerald-Golden-B faed625c2a feat: Update VehicleAnimator and VehicleInstances components to enhance path handling and integrate vehicle data 2025-04-23 13:03:27 +05:30
Jerald-Golden-B f8a6021b4e feat: Refactor VehicleInstance component to include path computation and state management 2025-04-23 12:35:34 +05:30
Jerald-Golden-B 2e71f31e71 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-04-23 12:35:19 +05:30
Poovizhi99 71effecb32 added useframe 2025-04-23 12:31:37 +05:30
Jerald-Golden-B a965a403ee feat: Add robotic arm components and integrate IKInstance; refactor vehicle status sample type 2025-04-23 12:29:16 +05:30
Jerald-Golden-B 58b0e779fd Revert "Merge remote-tracking branch 'origin/simulation-agv-v2' into v2"
This reverts commit 27c7072cc9, reversing
changes made to cd737ed74c.
2025-04-23 12:27:02 +05:30
Jerald-Golden-B 27c7072cc9 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-04-23 12:26:42 +05:30
Poovizhi99 4ad5e1255b added functionalities for vehicle 2025-04-23 12:25:52 +05:30
Poovizhi99 bcc908bfca added static agv 2025-04-23 09:13:33 +05:30
Jerald-Golden-B cd737ed74c feat: Implement Points management with PointsCreator component; enhance event handling and transform controls for simulation points 2025-04-22 19:02:44 +05:30
Jerald-Golden-B d161b70537 feat: Refactor vehicle management and update storage unit load handling; remove unused vehicle component and enhance vehicle status types 2025-04-22 17:24:30 +05:30
Jerald-Golden-B 7907bbab0a Refactor simulation store structures to use arrays instead of records for conveyors, machines, storage units, vehicles, and products; remove useSimulationStore; enhance state management and helper functions for better performance and readability. 2025-04-22 14:44:09 +05:30
Jerald-Golden-B 6363d5b9af feat: Implement Zustand stores for machine, simulation, storage unit, vehicle, and visualization management
- Added `useMachineStore` for managing machine statuses, including actions for adding, removing, and updating machines.
- Introduced `useSimulationStore` to handle product and event management with actions for adding, removing, and updating products and events.
- Created `useStorageUnitStore` for managing storage unit statuses, including load tracking and state updates.
- Developed `useVehicleStore` for vehicle management, including load and state updates.
- Implemented `useChartStore` for managing measurement data and visualization settings.
- Added `useDroppedObjectsStore` for handling dropped objects in visualization zones, including object manipulation actions.
- Created `useZone3DWidgetStore` for managing 3D widget data in zones, including position and rotation updates.
- Introduced `useZoneStore` for managing selected zone states and widget configurations.
2025-04-22 14:28:29 +05:30
Jerald-Golden-B 78b9663d0f feat: Implement socket responses for collaboration features including model updates, line management, and zone handling
feat: Add temporary markdown files for simulation actions, events, products, and triggers

feat: Create events store with actions for managing events, points, actions, and triggers, including syncing with product store
2025-04-21 16:49:03 +05:30
Jerald-Golden-B 54cc3deb98 folder structure change 2025-04-21 11:53:42 +05:30
Jerald-Golden-B 686c4e60c6 feat: Update visibility logic for path points and add new event schemas in simulation types 2025-04-17 17:47:27 +05:30
Jerald-Golden-B 8e491a0002 feat: Add isActive property to ArmBot state and update IKAnimationController logic
refactor: Remove commented console logs in ProcessAnimator and useProcessAnimations
2025-04-16 18:30:43 +05:30
Jerald-Golden-B f7e4f5c580 Merge remote-tracking branch 'origin/simulation-animation' into simulation 2025-04-16 18:05:43 +05:30
Jerald-Golden-B 64885f246e refactor: Improve error handling and variable naming in Assets and IKAnimationController components 2025-04-16 18:05:23 +05:30
Jerald-Golden-B ee319c28e4 refactor: Remove unnecessary console logs and improve connection limit checks in simulation components 2025-04-16 16:33:48 +05:30
SreeNath14 9b9164c600 minor changes in conveyor box spawn 2025-04-16 16:25:02 +05:30
SreeNath14 496c8b0305 new comit 2025-04-16 16:08:47 +05:30
SreeNath14 0eedbdd58e "multiple spawn bug fixed" 2025-04-16 15:07:11 +05:30
Jerald-Golden-B 8b7b7f589a feat: Integrate reset functionality in ArmBot and StaticMachine components 2025-04-16 15:04:52 +05:30
Jerald-Golden-B a59aa1d61c feat: Add MaterialInstances component for rendering animated materials based on active curves
refactor: Clean up console logs in ProcessAnimator for better readability
fix: Update group visibility logic in Agv and PathNavigator components
2025-04-16 13:22:47 +05:30
SreeNath14 43d21a522c bug fix 2025-04-16 12:09:18 +05:30
SreeNath14 b46b468e1c Merge remote-tracking branch 'origin/simulation' into simulation-animation 2025-04-16 11:45:29 +05:30
Jerald-Golden-B e0082cb55a feat: Enhance ArmBotState with connections and isActive properties
- Updated ArmBotState interface across multiple files to include connections (source and targets) and isActive properties.
- Implemented logic in ProcessAnimator to check if processes are connected to active ArmBots, preventing future spawns if connected.
- Adjusted animation state handling to account for active ArmBots, stopping animations and resetting states as necessary.
- Refactored related functions for better clarity and maintainability.
2025-04-16 11:39:03 +05:30
Jerald-Golden-B 5c24d7ca71 feat: Improve trigger processing and static machine status updates in IKAnimationController 2025-04-16 10:47:12 +05:30
Jerald-Golden-B 83f92d4b01 feat: Enhance connection removal logic to handle deleted models and their points 2025-04-16 10:16:54 +05:30
Jerald-Golden-B a26e0dacd0 Implement code changes to enhance functionality and improve performance 2025-04-16 10:03:01 +05:30
Jerald-Golden-B 693f58ff36 Merge remote-tracking branch 'origin/simulation-arm' into simulation 2025-04-16 09:37:31 +05:30
Jerald-Golden-B 5b42bd9c40 feat: Enhance simulation with StaticMachine integration and ArmBot updates
- Added StaticMachine component to manage static machine states and interactions.
- Implemented StaticMachineInstances for handling individual machine behaviors.
- Updated ArmBot and related components to support interactions with static machines.
- Refactored process handling to include ArmBot actions and trigger management.
- Improved type definitions for simulation types to accommodate new features.
2025-04-15 18:34:43 +05:30
SreeNath14 c7147773c5 "updated arm logic" 2025-04-15 18:34:38 +05:30
Poovizhi99 f62d231a79 integrated the removeConnections in path connector 2025-04-15 15:39:05 +05:30
Jerald-Golden-B 5cef9bdb8a Refactor simulation types and update imports
- Renamed simulation type imports from `simulation` to `simulationTypes` across multiple files for consistency.
- Consolidated simulation type definitions into a new `simulationTypes.d.ts` file.
- Updated relevant components (e.g., `ArmBot`, `IkInstances`, `PathConnector`, etc.) to use the new type definitions.
- Removed the old `simulation.d.ts` file to clean up the codebase.
- Adjusted function signatures and state management in components to align with the new type structure.
2025-04-15 14:15:39 +05:30
Poovizhi99 05214997f1 resolve conflicts 2025-04-15 09:29:55 +05:30
Poovizhi99 82a7cd0001 updated paths 2025-04-15 09:11:01 +05:30
Jerald-Golden-B 37df5e8801 feat: Implement ArmBot simulation with IK animation and event handling
- Added ArmBot component to manage ArmBot instances in the simulation.
- Created ArmBotInstances component to render individual ArmBot models.
- Developed IKAnimationController for handling inverse kinematics during animations.
- Introduced IkInstances component to load and manage IK-enabled arm models.
- Defined simulation types for ArmBot events and connections in TypeScript.
- Enhanced type definitions for better clarity and maintainability.
2025-04-14 18:16:53 +05:30
Vishnu ba215dd0d3 Merge pull request 'simulation-arm' (#62) from simulation-arm into main
Reviewed-on: http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev/pulls/62
2025-04-14 04:14:54 +00:00
Poovizhi99 372bfc7727 Merge remote-tracking branch 'origin/main' into simulation-arm 2025-04-14 09:19:08 +05:30
Jerald-Golden-B 3eecf30541 added global speed for agv 2025-04-11 18:08:53 +05:30
Jerald-Golden-B 1256f33342 Debugged agv and conveyor interaction. 2025-04-11 17:52:07 +05:30
Vishnu 0269c1f960 refactor: standardize position and rotation types to use tuple arrays for consistency 2025-04-11 14:45:56 +05:30
Vishnu 737094848f refactor: update position and rotation types to use Vector3 for consistency 2025-04-11 14:23:30 +05:30
Poovizhi99 14d3de4ece refactor: removed rigged arm when not needed 2025-04-11 14:10:35 +05:30
Vishnu 0e552f645a feat: Implement ArmReplace component with MultiGLTFInstances for dynamic arm rendering
- Added ArmReplace component to manage the rendering of arm models based on scene objects.
- Integrated MultiGLTFInstances for loading and displaying multiple GLTF models.
- Created findLinkObjects function to traverse the scene and extract positions, rotations, and visibility settings for objects named 'link_0'.
- Utilized useModuleStore to manage active module state and control visibility of arm models.
2025-04-11 13:35:26 +05:30
SreeNath14 7af1724715 Merge branch 'main' into simulation-animation 2025-04-10 17:52:30 +05:30
SreeNath14 863d2c6393 "updated single flow" 2025-04-10 17:46:11 +05:30
Vishnu de2bfc9149 refactor: Implement modifier key detection for keyboard shortcuts in various controls 2025-04-10 13:41:05 +05:30
SreeNath14 e48195db98 "updated Animation" 2025-04-10 10:21:24 +05:30
Jerald-Golden-B f7a0f3b3d6 feat: Enhance ArmBotMechanics with connected models and process management; update ConveyorMechanics for radio input behavior; adjust NavMeshDetails cell size; add depthWrite to ZoneGroup material; include triggers in copy and duplication controls; refine path connector actions filtering; improve socket store zone management 2025-04-09 15:38:29 +05:30
Jerald-Golden-B a6993ccd2e fix: Remove console log statements for cleaner output 2025-04-08 15:00:36 +05:30
Jerald-Golden-B b5ba3a0ce1 Refactor event handling and state management for StaticMachine and ArmBot types
- Updated `loadInitialFloorItems.ts` to streamline event data processing for StaticMachine and ArmBot types.
- Enhanced `copyPasteControls.tsx` and `duplicationControls.tsx` to support StaticMachine and ArmBot event data creation with proper UUID generation.
- Modified `moveControls.tsx`, `rotateControls.tsx`, and `transformControls.tsx` to include event data in the state.
- Improved `pathConnector.tsx` to handle connections for StaticMachine and ArmBot types, including deletion functionality.
- Updated store management to rename `useDeleteModels` to `useDeleteTool` for clarity.
- Adjusted type definitions in `worldTypes.d.ts` to include StaticMachine and ArmBot event schemas.
2025-04-08 14:56:45 +05:30
Jerald-Golden-B 272317991a feat: Extend simulation state types to include ArmBot events and update related components
- Updated RotateControls and SelectionControls to handle ArmBot events in simulation states.
- Enhanced PathConnector to manage connections involving ArmBot and StaticMachine types.
- Added ArmBotMechanics and StaticMachineMechanics components for managing properties of ArmBot and StaticMachine.
- Modified types in worldTypes to include rotation for ArmBot and StaticMachine events.
- Updated store to accommodate new ArmBot event types in simulation states.
2025-04-07 18:16:34 +05:30
Jerald-Golden-B 58d82da349 refactor: Simplify eventData structure in controls and remove console logs from simulation 2025-04-05 16:15:11 +05:30
Jerald-Golden-B b89589d8ea refactor: Update connection identifiers from pathUUID to modelUUID across simulation components 2025-04-05 15:15:01 +05:30
Jerald-Golden-B 1cc877aee1 feat: Enhance simulation state management to include StaticMachineEventsSchema
- Updated various modules to accommodate StaticMachineEventsSchema in simulation states.
- Modified event handling in addAssetModel, deleteFloorItems, and loadInitialFloorItems to support new event types.
- Adjusted type definitions in worldTypes.d.ts to define StaticMachineEventsSchema.
- Refactored path management in processCreator and simulation to handle new event types.
- Ensured compatibility in selection and manipulation controls for StaticMachine events.
- Removed bug that made the other assets not droppable
2025-04-05 14:33:25 +05:30
Jerald-Golden-B c89129e4ce Fix connection validation for Conveyor paths; ensure connections are only allowed between start/end points 2025-04-05 12:42:45 +05:30
Jerald-Golden-B 34aea0ecf1 Refactor AGV and PathNavigator components; add NavMeshCreator for improved navigation handling and added backend event storage for connections 2025-04-05 12:25:29 +05:30
Jerald-Golden-B e92345d820 Refactor simulation paths to simulation states
- Updated all instances of `simulationPaths` to `simulationStates` across multiple components including copyPasteControls, duplicationControls, moveControls, rotateControls, selectionControls, and others.
- Adjusted related state management hooks in the store to reflect the change from `simulationPaths` to `simulationStates`.
- Ensured that all references to simulation paths in the simulation logic and UI components are consistent with the new naming convention.
2025-04-05 10:12:28 +05:30
Jerald-Golden-B 99a478f2e4 Merge remote-tracking branch 'origin/simulation-animation' into simulation 2025-04-04 18:05:38 +05:30
SreeNath14 c5ca0da1c5 "updated overall animation logics" 2025-04-04 18:02:53 +05:30
Jerald-Golden-B e81f284dc7 Merge remote-tracking branch 'origin/simulation-animation' into simulation 2025-04-04 17:53:12 +05:30
Jerald-Golden-B cf6946750b added backend connection for conveyor and vehicle mechanics 2025-04-04 16:57:18 +05:30
SreeNath14 280fe59a14 :updated swap" 2025-04-04 09:54:08 +05:30
Jerald-Golden-B 5e97b333dc Merge remote-tracking branch 'origin/simulation-animation' into simulation 2025-04-03 19:48:12 +05:30
Jerald-Golden-B d29ee03c44 refactor: remove console logs and enhance model userData structure 2025-04-03 19:46:52 +05:30
SreeNath14 5fb911f1a1 "updated smooth animation" 2025-04-03 18:24:06 +05:30
SreeNath14 1406efd808 Merge branch 'main' into simulation-animation 2025-04-03 10:29:40 +05:30
SreeNath14 cf364d707c "updated animation" 2025-04-03 10:28:13 +05:30
Poovizhi99 f5f74f35ad added avg paths 2025-04-02 19:12:14 +05:30
SreeNath14 844c8c3366 updated new animation 2025-04-02 11:10:44 +05:30
Jerald-Golden-B 00ea0432b5 feat: implement conveyor path creation with dynamic points and actions 2025-04-01 19:04:15 +05:30
Jerald-Golden-B d74b9969f4 Merge remote-tracking branch 'origin/simulation-animation' into simulation 2025-04-01 18:54:56 +05:30
SreeNath14 8a177478c6 "updated animation" 2025-04-01 18:54:04 +05:30
Jerald-Golden-B 2043712f5d add backend api and socket for conveyor events 2025-04-01 18:52:21 +05:30
Jerald-Golden-B 526befad20 refactor: update backend URL and added conveyor event storing in ackend 2025-04-01 14:25:42 +05:30
Jerald-Golden-B 29ea88a58a Merge remote-tracking branch 'origin/rtViz' into simulation 2025-03-31 19:53:54 +05:30
Jerald-Golden-B e3a85c81e5 Refactor socket initialization to include organization and enhance asset event handling; remove unused console logs and improve asset data structure 2025-03-31 19:38:23 +05:30
Gomathi 6b8ccc02c7 3d widget api added and template frontend and backend completed 2025-03-31 19:20:03 +05:30
Jerald-Golden-B 6e4c8282c5 Refactor AssetProperties layout, enhance PositionInput component with optional properties, and implement new asset event fetching logic 2025-03-31 14:28:24 +05:30
Jerald-Golden-B 5564eecf76 refactor: update VehicleMechanics to use LabledDropdown for start and end point selection; clean up unused MQTT code and improve zone data fetching logic 2025-03-29 18:14:29 +05:30
Jerald-Golden-B 8606cbbe54 refactor: update speed handling in ConveyorMechanics and related types to support string values 2025-03-29 13:43:29 +05:30
Jerald-Golden-B 13732a5679 added ui and integerated ui for the vehicle mechanics 2025-03-29 12:58:54 +05:30
Jerald-Golden-B 1ce24a64f1 refactor: standardize activeTool casing and enhance trigger mechanics with bufferTime 2025-03-29 10:24:47 +05:30
Vishnu 71310bdbdd Merge remote-tracking branch 'origin/main' into rtViz 2025-03-28 19:27:09 +05:30
Gomathi c842b81611 3dWidget dnd and 2d widgets backend api updated 2025-03-28 19:13:20 +05:30
Jerald-Golden-B f46f29b88c Add MQTT URL to environment variables and refactor simulation components 2025-03-28 19:10:49 +05:30
Jerald-Golden-B a7ec4720a4 Refactor path connections structure and remove unused connection logic 2025-03-27 14:34:36 +05:30
Jerald-Golden-B 2dfd34f27b Enhance MachineMechanics and InputWithDropDown components; add connections to path interfaces 2025-03-27 12:24:15 +05:30
Jerald-Golden-B 6b92b6c235 Refactor simulation components and UI integration 2025-03-27 10:02:44 +05:30
Jerald-Golden-B 2717da6bae Added Loading Screen, Integerated events ui 2025-03-26 18:33:51 +05:30
Jerald_Golden b44aeb986f upstream pull + signIn/Up 2025-03-25 17:34:20 +05:30
Jerald-Golden-B 1259b5fcc8 add new features and optimizations to simulation and builder modules 2025-03-25 16:35:54 +05:30
Jerald-Golden-B 2303682a15 add initial components and utility functions for simulation and builder modules 2025-03-25 14:00:03 +05:30
Vishnu 61b3c4ee2c first commit 2025-03-25 11:47:41 +05:30