Commit Graph

147 Commits

Author SHA1 Message Date
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
c5d4679068 fix 2025-04-24 17:51:52 +05:30
af891fae83 Merge remote-tracking branch 'origin/v2' into simulation-armbot-v2 2025-04-24 17:51:03 +05:30
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
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
d53ef429c8 feat: Remove unused IkInstances import from RoboticArm component 2025-04-23 18:52:27 +05:30
0f716d64a6 feat: Add Simulator component to simulation and enable event logging 2025-04-23 18:25:49 +05:30
22fb00f731 feat: Enhance simulation event handling and material management with new components and state management 2025-04-23 18:13:32 +05:30
6f93fc36c2 feat: Add Conveyor and RoboticArm components to simulation and integrate MaterialInstances 2025-04-23 15:29:51 +05:30