Commit Graph

156 Commits

Author SHA1 Message Date
66b3d75500 Refactor VehicleAnimator component: update agvDetail type to VehicleStatus, ensure objectRotation is defined before use, and adjust object rotation handling to utilize agvDetail's rotation values. 2025-05-02 14:59:19 +05:30
fb9e507f4f Enhance TriggerConnector and VehicleUI components: improve event handling by resetting firstSelectedPoint on invalid intersections, refine intersection checks, and streamline state updates in VehicleUI. Integrate backend updates for vehicle actions and ensure consistent rotation handling. 2025-05-02 14:44:29 +05:30
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
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
34c30bb5a2 Enhance Machine and Vehicle components: add current action management and update machine sample structure 2025-05-02 12:11:09 +05:30
96530b981f Add dragging and rotating state management to simulation store; enhance PointsCreator and VehicleUI components 2025-05-02 11:54:40 +05:30
928c683a79 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-02 11:36:12 +05:30
d3f5c5e506 Enhance TriggerConnector and useProductStore: add removeTrigger return value and improve event handling in TriggerConnector 2025-05-02 11:35:03 +05:30
2a669f6337 removed sample data and worked with schema for agv 2025-05-02 11:15:11 +05:30
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
29efeab387 Enhance event handling and backend updates across mechanics components; refactor trigger management in TriggerConnector 2025-04-30 20:16:26 +05:30
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
a20170f69e Remove commented console log for vehicles in Vehicles component 2025-04-30 11:49:58 +05:30
3ed43ed16a Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-04-30 11:49:15 +05:30
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
4b87650528 added ui and its functionality for changing position of vehicles pickup-point and unloadPoint 2025-04-30 11:32:13 +05:30
9574d70b56 added ui for changing position of vehicles pickup-point and unloadPoint 2025-04-30 09:15:21 +05:30
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
fdf10589a7 Merged With AGV-UI 2025-04-29 12:56:20 +05:30
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
ccc7a1d954 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-04-29 10:33:07 +05:30
dd853a66d4 feat: Refactor PointsCreator component for improved readability and maintainability 2025-04-29 10:30:28 +05:30
f05524f928 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-04-29 10:29:13 +05:30
4dd0840980 Merge remote-tracking branch 'origin/simulation-agv-v2' into simulation-agv-v2 2025-04-29 10:26:32 +05:30
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
2f65ee6a71 feat: Implement handleAddEventToProduct function and integrate it into EventProperties and Simulations components 2025-04-29 09:29:18 +05:30
62bfce104c Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-04-29 09:11:34 +05:30
4b4fe53ee4 play-pause-rest actions 2025-04-28 18:51:16 +05:30
32a44adb7c fix console 2025-04-28 17:59:28 +05:30
1182850a1f armbot ui added 2025-04-28 17:54:55 +05:30
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
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
dc77d9ed43 armbot trigger events added 2025-04-28 12:08:57 +05:30
29d38b4b40 merged with v2 2025-04-28 11:43:06 +05:30
fe527a7e52 Merge remote-tracking branch 'origin/simulation-armbot-v2' into v2 2025-04-25 19:42:16 +05:30
2424fa2e15 fix: Remove unused material property from vehicle action definition 2025-04-25 19:41:05 +05:30
475e5673ae Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-04-25 19:40:46 +05:30
05d8405188 armbot trigger 2025-04-25 19:40:15 +05:30
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
f1e55d9abc merged with orgin/v2 2025-04-25 19:31:46 +05:30
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
70a99316ba added stationed-pickup and pickup to drop functionality added 2025-04-25 17:57:38 +05:30
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
a1a1eacb79 feat: Refactor event data handling and API integration; update variable names for consistency and clarity 2025-04-25 13:47:46 +05:30
c0e0bcb69d refactor: Update material default value and remove console logs for cleaner output 2025-04-25 11:49:39 +05:30
0ba771907a Merge remote-tracking branch 'origin/simulation-armbot-v2' into v2 2025-04-25 11:20:53 +05:30
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