Commit Graph

46 Commits

Author SHA1 Message Date
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
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
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 c0e0bcb69d refactor: Update material default value and remove console logs for cleaner output 2025-04-25 11:49:39 +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 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 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 54cc3deb98 folder structure change 2025-04-21 11:53:42 +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 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
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
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
Jerald-Golden-B 1256f33342 Debugged agv and conveyor interaction. 2025-04-11 17:52:07 +05:30
SreeNath14 863d2c6393 "updated single flow" 2025-04-10 17:46:11 +05:30
SreeNath14 e48195db98 "updated Animation" 2025-04-10 10:21:24 +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 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 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 cf6946750b added backend connection for conveyor and vehicle mechanics 2025-04-04 16:57:18 +05:30
SreeNath14 5fb911f1a1 "updated smooth animation" 2025-04-03 18:24:06 +05:30
Poovizhi99 f5f74f35ad added avg paths 2025-04-02 19:12:14 +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 29ea88a58a Merge remote-tracking branch 'origin/rtViz' into simulation 2025-03-31 19:53:54 +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 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 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