Commit Graph

8 Commits (c19f6656b8a2aa4b2b226b69f9e5441f9b19e2f4)

Author SHA1 Message Date
a2nr 6f454c9707 feat: add HMI control widgets (Button, Slider, Switch) with user interaction tracking; update documentation and block definitions 2026-03-18 22:27:56 +07:00
a2nr 3039b1d109 Refactor UI components and enhance functionality
- Updated the code panel to use a textarea for code output instead of a preformatted text element, allowing for better user interaction.
- Modified CSS styles for the code output area to improve layout and usability.
- Introduced new HMI widgets including buttons, sliders, and switches with appropriate styles and configurations.
- Updated workspace JSON to reflect changes in block types and IDs, ensuring compatibility with new UI elements.
- Created a new workspace for button interactions, integrating button presses with slider and switch states.
2026-03-18 22:20:44 +07:00
a2nr 086e5dce0c Enhance Blockly UI with new client-side blocks and HMI widgets
- Removed Blockly UI Enhancement from potential enhancements in README.md.
- Added client-side statement blocks that directly call JavaScript functions without needing Python handlers.
- Introduced HMI widget blocks for real-time updates in the HMI panel, including LED, Number, Text, and Gauge widgets.
- Updated BLOCKS.md to include detailed descriptions and examples for new block types and their execution models.
- Revised README.md to reflect changes in async code generation and debug engine functionalities.
- Modified workspace.json to include new HMI widgets and adjust existing block configurations.
2026-03-18 09:03:02 +07:00
a2nr 0f62045260 feat: implement unified odometry interface with nav_msgs/Odometry; add odometry handling and integration tests 2026-03-17 19:59:01 +07:00
a2nr 059f7431e5 feat: update documentation for GPIO node setup and installation on Raspberry Pi; clarify C API usage 2026-03-16 05:15:50 +07:00
a2nr 82cf1cb48e feat: port gpio_node to C++ using libgpiod; update package structure and dependencies for native Raspberry Pi support 2026-03-12 10:27:47 +07:00
a2nr 6d64c8e13c Refactor Blockly Executor and GPIO Node Integration
- Updated blockly_app to replace LED blocks with digital input/output blocks.
- Added digitalIn.js and digitalOut.js blocks for reading and writing GPIO states.
- Removed led_on.js and led_off.js blocks as they are no longer needed.
- Modified manifest.js to include new digital blocks.
- Enhanced blockly_executor to handle digital input and output commands.
- Created a new Hardware context class to manage dummy and real hardware modes.
- Implemented GPIO node for Raspberry Pi to handle digital input/output via gpiod.
- Added GpioWrite and GpioRead message definitions for communication between executor and GPIO node.
- Updated tests to cover new digital input/output functionality and removed old LED tests.
2026-03-10 21:22:09 +07:00
a2nr 3a081a6fd9 Add README files for blockly_app and blockly_executor; fix typo in digitalOut block 2026-03-09 23:35:48 +07:00