Commit Graph

210 Commits

Author SHA1 Message Date
Jerald-Golden-B a3b48d12c1 Refactor TriggerConnector to improve event handling: reset firstSelectedPoint on invalid intersections, update event model name, and ensure proper cleanup of state. Adjust event listener conditions for better performance. 2025-05-02 13:40:00 +05:30
Jerald-Golden-B 01a03f5166 Refactor action updates to include productId in updateAction calls across mechanics components; enhance event handling in product store and trigger management. Add clear functions for various stores to reset state. Update action and trigger management to prevent duplicates and ensure integrity. Adjust initial load actions to use consistent naming conventions. 2025-05-02 13:13:41 +05:30
Jerald-Golden-B 34c30bb5a2 Enhance Machine and Vehicle components: add current action management and update machine sample structure 2025-05-02 12:11:09 +05:30
Jerald-Golden-B 96530b981f Add dragging and rotating state management to simulation store; enhance PointsCreator and VehicleUI components 2025-05-02 11:54:40 +05:30
Jerald-Golden-B 928c683a79 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-02 11:36:12 +05:30
Jerald-Golden-B d3f5c5e506 Enhance TriggerConnector and useProductStore: add removeTrigger return value and improve event handling in TriggerConnector 2025-05-02 11:35:03 +05:30
Poovizhi99 2a669f6337 removed sample data and worked with schema for agv 2025-05-02 11:15:11 +05:30
Jerald-Golden-B 571da0a78a Refactor Machine and TriggerConnector components: enhance event handling for machine points and streamline vehicle status sample initialization 2025-05-02 10:50:52 +05:30
Jerald-Golden-B 29efeab387 Enhance event handling and backend updates across mechanics components; refactor trigger management in TriggerConnector 2025-04-30 20:16:26 +05:30
Gomathi 764e235a5f Merge branch 'v2' into simulation-armbot-v2 2025-04-30 16:50:54 +05:30
Gomathi fb1995acdb arm ui added 2025-04-30 16:50:31 +05:30
Jerald-Golden-B a704be77d3 Refactor VehicleMechanics component for improved state management and event handling
- Simplified state initialization and effect hooks for better readability.
- Enhanced event handling functions for speed, action type, and action renaming.
- Updated current values retrieval logic to utilize getEventByModelUuid.
- Cleaned up JSX structure for better maintainability.

Update addAssetModel to remove unnecessary console log

- Removed debug logging for roboticArmEvent in addAssetModel.

Enhance copyPasteControls and duplicationControls with event handling

- Integrated useEventsStore to manage events during copy and paste operations.
- Updated event data structure for Conveyor, Vehicle, ArmBot, and StaticMachine types.
- Ensured proper UUID generation for new events and actions.

Refactor PointsCreator to ensure event sphere clearing

- Re-enabled clearSelectedEventSphere on pointer miss events for better UX.

Add logging in Products component for debugging

- Added console log to inspect data fetched from getAllProductsApi.

Update useProductStore to return updated events after modifications

- Modified updateEvent, addAction, removeAction, updateAction, and renameAction to return updated event data.
- Ensured consistency in event handling across the product store.
2025-04-30 15:58:23 +05:30
Gomathi 18b6a4b22d Merge branch 'v2' into simulation-armbot-v2 2025-04-30 15:29:39 +05:30
Gomathi ff9bb8f566 circular curve for arm movements added 2025-04-30 15:27:02 +05:30
Jerald-Golden-B a20170f69e Remove commented console log for vehicles in Vehicles component 2025-04-30 11:49:58 +05:30
Jerald-Golden-B 3ed43ed16a Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-04-30 11:49:15 +05:30
Jerald-Golden-B 014bc3a7ca Refactor model identifier naming conventions from 'modeluuid' and 'modelname' to 'modelUuid' and 'modelName' across multiple modules for consistency and clarity. Update related API calls and local storage handling to reflect these changes. Remove unused deleteProductDataApi service and implement deleteProductApi service for product data deletion. Introduce steeringAngle property in vehicle configurations. 2025-04-30 11:46:20 +05:30
Poovizhi99 4b87650528 added ui and its functionality for changing position of vehicles pickup-point and unloadPoint 2025-04-30 11:32:13 +05:30
Gomathi c95f140d30 path helper added 2025-04-30 10:30:30 +05:30
Poovizhi99 9574d70b56 added ui for changing position of vehicles pickup-point and unloadPoint 2025-04-30 09:15:21 +05:30
Jerald-Golden-B 882c81a385 Refactor asset model handling and event data management
- Removed redundant data structure in handleModelLoad function.
- Introduced eventData object to encapsulate event-related information for different asset types (Conveyor, Vehicle, ArmBot, StaticMachine).
- Updated socket emission to include complete data with eventData.
- Enhanced copy-paste and duplication controls to maintain eventData integrity during object duplication.
- Integrated event data updates in move and rotate controls to reflect changes in the simulation state.
- Improved PointsCreator component to handle rotation for event groups.
- Updated handleAddEventToProduct function to support event data management.
- Enhanced product management to fetch existing products from the server and handle new product creation.
- Added new types for eventData in worldTypes and simulationTypes for better type safety.
- Refactored IndexedDB utility functions for cleaner code.
2025-04-29 19:15:17 +05:30
Gomathi fe57e6c873 playSpeed,reset,exit added and armbot movemets added 2025-04-29 19:01:06 +05:30
Poovizhi99 fdf10589a7 Merged With AGV-UI 2025-04-29 12:56:20 +05:30
Jerald-Golden-B ea53af62c4 Refactor vehicle simulation components for improved path handling and state management
- Updated PointsCreator component to enhance event data selection and keyboard handling.
- Refactored VehicleAnimator to streamline animation logic and reset handling.
- Simplified VehicleInstance logic for better clarity and maintainability.
- Modified vehicle data structure to include rotation information for pick-up and unload points.
- Adjusted TypeScript types to reflect new vehicle point schema with nested position and rotation properties.
2025-04-29 10:33:30 +05:30
Jerald-Golden-B ccc7a1d954 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-04-29 10:33:07 +05:30
Vishnu dd853a66d4 feat: Refactor PointsCreator component for improved readability and maintainability 2025-04-29 10:30:28 +05:30
Jerald-Golden-B f05524f928 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-04-29 10:29:13 +05:30
Poovizhi99 4dd0840980 Merge remote-tracking branch 'origin/simulation-agv-v2' into simulation-agv-v2 2025-04-29 10:26:32 +05:30
Poovizhi99 3e1fc1c919 added pause-play-rest-exit functionality 2025-04-29 10:20:58 +05:30
Nalvazhuthi 979f71d43f Added vehicle UI 2025-04-29 10:18:05 +05:30
Vishnu 2f65ee6a71 feat: Implement handleAddEventToProduct function and integrate it into EventProperties and Simulations components 2025-04-29 09:29:18 +05:30
Jerald-Golden-B 62bfce104c Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-04-29 09:11:34 +05:30
Poovizhi99 4b4fe53ee4 play-pause-rest actions 2025-04-28 18:51:16 +05:30
Gomathi 32a44adb7c fix console 2025-04-28 17:59:28 +05:30
Gomathi 1182850a1f armbot ui added 2025-04-28 17:54:55 +05:30
Gomathi 60949ea8f5 Merge branch 'simulation-armbot-v2' of http://185.100.212.76:7776/Dwinzo-Beta/Dwinzo_dev into simulation-armbot-v2 2025-04-28 13:35:15 +05:30
Gomathi 6bf53bf72c timeout added 2025-04-28 13:35:13 +05:30
Nalvazhuthi f427da34a7 added arm ui 2025-04-28 13:04:11 +05:30
Nalvazhuthi 3ebadf3c10 added arm ui 2025-04-28 12:26:31 +05:30
Gomathi dc77d9ed43 armbot trigger events added 2025-04-28 12:08:57 +05:30
Poovizhi99 29d38b4b40 merged with v2 2025-04-28 11:43:06 +05:30
Jerald-Golden-B fe527a7e52 Merge remote-tracking branch 'origin/simulation-armbot-v2' into v2 2025-04-25 19:42:16 +05:30
Jerald-Golden-B 2424fa2e15 fix: Remove unused material property from vehicle action definition 2025-04-25 19:41:05 +05:30
Jerald-Golden-B 475e5673ae Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-04-25 19:40:46 +05:30
Gomathi 05d8405188 armbot trigger 2025-04-25 19:40:15 +05:30
Jerald-Golden-B 1ad0243204 feat: Add AddOrRemoveEventsInProducts component for event management in products; refactor TriggerConnector and update PointsCreator to improve event handling and mesh identification 2025-04-25 19:31:56 +05:30
Poovizhi99 f1e55d9abc merged with orgin/v2 2025-04-25 19:31:46 +05:30
Jerald-Golden-B 81b353307b feat: Integrate upsertProductOrEventApi in Simulations and Products components; adjust loadInitialFloorItems to accept renderDistance parameter; update material handling in addAssetModel and Vehicles components 2025-04-25 18:29:01 +05:30
Poovizhi99 70a99316ba added stationed-pickup and pickup to drop functionality added 2025-04-25 17:57:38 +05:30
Jerald-Golden-B d7a22f5bfb feat: Refactor PickAndPlaceAction component to accept props for pick and place points; enhance RoboticArmMechanics with action handling and state management 2025-04-25 16:06:24 +05:30
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