Commit Graph

152 Commits

Author SHA1 Message Date
Vishnu 35ae88924d Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-10 18:12:44 +05:30
Jerald-Golden-B c0a7eebecb Enhance vehicle handling: add picking state management, update action handling in VehicleInstance, and refine useVehicleStore for improved vehicle interactions. 2025-05-10 17:19:43 +05:30
Vishnu 32b3247765 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2-ui 2025-05-10 16:42:56 +05:30
Poovizhi99 1d35fbe055 Merge remote-tracking branch 'origin/v2-ui' into simulation-agv-v2 2025-05-10 16:42:52 +05:30
Jerald-Golden-B 9746cfdf80 Implement storage retrieval functionality: add useRetrieveHandler, update action handling in StorageMechanics, and modify related components for improved material management. 2025-05-10 16:26:54 +05:30
Jerald-Golden-B a37faf7adb Enhance RoboticArmInstance and useTriggerHandler: add action handling for pickup and drop triggers, improve event retrieval with getEventByActionUuid, and streamline material location management in storage units. 2025-05-10 13:50:36 +05:30
Jerald-Golden-B 3703dc629d Refactor material handling: update loadCapacity to 1 in multiple components, enhance storage unit actions, and implement new store handler logic for improved material management 2025-05-10 12:24:29 +05:30
Jerald-Golden-B cf513d3ba6 Refactor StorageUnitStore: rename updateStorageUnitLoad to updateCurrentLoad and update related usages; enhance Products and StorageMechanics components to handle material management more effectively 2025-05-10 09:34:01 +05:30
v2constructionss 45a10b8673 Enhance storage unit functionality: update StorageAction component, integrate material handling in storage mechanics, and improve state management in vehicle and storage unit stores. 2025-05-09 22:50:47 +05:30
Vishnu d64ef266d5 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-09 17:00:50 +05:30
Jerald-Golden-B ba7948ec53 Enhance machine and robotic arm interactions: update action handling, integrate material management, and improve state management across components. 2025-05-09 16:55:23 +05:30
Vishnu a477e0c48f Refactor and enhance zone and wall item management:
- Update zone handling in ZoneGroup to include selected zone visibility.
- Improve camera transition speed in ZoneCentreTarget.
- Add clearSelectedZone functionality in useZoneStore.
- Integrate clearSelectedZone in KeyPressListener for ESCAPE key action.
- Adjust sidebar and module toggle positioning for better UI layout.
- Clean up unused code and comments in Project component.
2025-05-09 14:54:45 +05:30
Jerald-Golden-B 25697f99a3 Enhance action handling: integrate useSelectedAction hook across mechanics components; update action state management for improved clarity and functionality. 2025-05-09 12:40:59 +05:30
Jerald-Golden-B 816196db1e Refactor tool and builder modules: remove unused movePoint state and related logic; enhance clarity in tool handling and state management. 2025-05-09 10:46:18 +05:30
Poovizhi99 5de127888a Merge remote-tracking branch 'origin/main' into simulation-agv-v2 2025-05-09 09:22:17 +05:30
Poovizhi99 6d45a89197 added area for room and zone 2025-05-09 09:21:54 +05:30
Jerald-Golden-B c7012e9f11 Enhance robotic arm and trigger handler: add support for previous material location tracking and vehicle interactions; refactor material handling logic for improved clarity. 2025-05-08 18:53:48 +05:30
Jerald-Golden-B bb4d649294 Refactor builder module and distance text component; enhance trigger handler with optional materialId
- Updated the builder module to improve code readability and organization by adjusting import statements and restructuring the component.
- Enhanced the distance text component to manage lines more effectively, including the addition of room state management.
- Modified the trigger handler to accept an optional materialId parameter, ensuring more robust handling of triggers across different event types.
- Introduced a new rooms state in the store for better management of room-related data.
2025-05-08 16:56:53 +05:30
Jerald-Golden-B 7000a5942f Enhance vehicle material management: add removeLastMaterial function to useVehicleStore, update useTravelHandler and VehicleAnimator for improved material handling, and refine MaterialAnimator rendering logic. 2025-05-08 14:38:38 +05:30
Jerald-Golden-B 7cc0a83075 Refactor vehicle material handling: update MaterialAnimator and VehicleInstance to use currentMaterials array, and modify useVehicleStore for material management 2025-05-08 14:00:36 +05:30
Jerald-Golden-B 33a9aa6ce5 Merge remote-tracking branch 'origin/simulation-agv-v2' into v2 2025-05-08 13:45:50 +05:30
Jerald-Golden-B 19e23501a4 Implement action handlers for conveyor, robotic arm, and vehicle, including logging and material management 2025-05-08 13:43:37 +05:30
Poovizhi99 c5bf98a534 merged with main branch 2025-05-08 10:55:31 +05:30
Jerald-Golden-B d34de75948 Merge branch 'main' into v2 2025-05-07 18:50:35 +05:30
Jerald-Golden-B 149dcf0765 Enhance material management: add material history tracking and update despawn handler 2025-05-07 18:45:07 +05:30
Jerald-Golden-B 9383296684 Refactor robotic arm and conveyor action handlers for improved functionality and performance; add despawn handler and update state management 2025-05-07 17:45:59 +05:30
Vishnu 4d08c61262 Add user ID to selected user state and update related components 2025-05-07 16:31:59 +05:30
Vishnu 8b7c28e9c0 Enhance collaboration features by adding user targeting and camera control functionality
- Implement user following functionality in Header component
- Update FollowPerson component to handle target and rotation
- Modify CollabUserIcon to include target data for selected users
- Adjust setCameraView function to utilize target for camera positioning
- Extend user types to include position, rotation, and target properties
2025-05-07 15:31:07 +05:30
Jerald-Golden-B 53912b2597 feat: Enhance conveyor and material handling with pause functionality and state management 2025-05-06 19:12:58 +05:30
Jerald-Golden-B 815a9a94ca feat: Refactor swap handling and enhance delay management in conveyor actions 2025-05-06 12:35:51 +05:30
Jerald-Golden-B bdba6447f3 feat: Implement swap handling and enhance action management in conveyor system 2025-05-06 11:30:58 +05:30
Jerald-Golden-B c89c4234a4 feat: Enhance conveyor actions and event handling
- Added detailed logging for default conveyor actions in useConveyorActions.
- Integrated play and reset button states into useActionHandler for better control flow.
- Updated PointsCreator to conditionally render based on play state and improved event handling.
- Modified MaterialAnimator to support pause and resume functionality based on play state.
- Enhanced MaterialInstance to trigger actions upon animation completion.
- Implemented material clearing logic in Materials component on reset or stop.
- Updated Simulator to respect play and reset states during action handling.
- Improved trigger handling logic to accommodate new event retrieval methods.
- Added utility functions in useProductStore for fetching events by trigger and point UUIDs.
- Created a new file for default action handling in conveyor actions.
2025-05-05 20:08:05 +05:30
Jerald-Golden-B 6b0ee0ae79 Enhance material handling: add support for additional materials in conveyor and machine mechanics, update action types, and implement material model loading. 2025-05-05 14:26:38 +05:30
Jerald-Golden-B 8ba2bae810 Refactor simulation action handlers: consolidate action handling, enhance spawn logic, and improve type definitions for actions. 2025-05-05 11:24:00 +05:30
Jerald-Golden-B 13af6c2c67 Refactor conveyor mechanics and action handlers: update spawn count, interval, and delay handling; enhance material management in useMaterialStore; implement spawn action handler; unify action handling across various components. 2025-05-03 18:36:30 +05:30
Jerald-Golden-B 71fdb26e16 Refactor trigger handling in Trigger component: update trigger selection logic and add memoization for performance; enhance renameTrigger function in useProductStore to return updated event. 2025-05-03 13:23:01 +05:30
Jerald-Golden-B d29c4ce48a Refactor Trigger component: remove console logs and clean up unused code in Trigger and RoboticArm components; update ArmBotUI to improve state management and backend integration; fix typo in useProductStore comments. 2025-05-03 10:28:59 +05:30
Jerald-Golden-B 8b0daa3305 Merge remote-tracking branch 'origin/v2-ui' into v2 2025-05-03 10:11:20 +05:30
Jerald-Golden-B 94c306c813 Refactor Trigger component usage in mechanics files: pass selectedPointData and type props for Machine, RoboticArm, StorageUnit, and Vehicle to enhance functionality and maintain consistency. 2025-05-03 10:09:39 +05:30
Vishnu fb0da32504 Merge remote-tracking branch 'origin/v2' into v2-ui 2025-05-02 18:52:30 +05:30
Vishnu 44e3f5c207 Refactor RealTimeVisualization component and handle widget drop functionality
- Commented out the handleDrop function in RealTimeVisualization.tsx and moved its logic to a new utility function createHandleDrop for better separation of concerns.
- Updated Project.tsx to utilize the new createHandleDrop function, improving readability and maintainability.
- Enhanced styling for the scene container and real-time visualization components to improve layout and responsiveness.
- Removed unnecessary styles and consolidated button and input styles for consistency.
- Cleaned up unused imports and variables in various files to streamline the codebase.
2025-05-02 17:39:11 +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 d3f5c5e506 Enhance TriggerConnector and useProductStore: add removeTrigger return value and improve event handling in TriggerConnector 2025-05-02 11:35:03 +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
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
Jerald-Golden-B 73f9bb29f7 Merge branch 'main' into v2 2025-04-30 12:01:39 +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
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