Commit Graph

8 Commits (32c9c809ccc0ec031ef21d922563f7f688913643)

Author SHA1 Message Date
a2nr cfc390e1d6 feat: add amr_bringup launch files and split BLOCKS.md into docs/
- Create amr_bringup package with blockly.launch.py (dummy) and
  blockly_hw.launch.py (real) for one-command desktop bringup
- Add pixi tasks: build-bringup, launch-blockly, launch-blockly-hw
- Split 1225-line BLOCKS.md into 4 focused files under docs/
- Guard rclpy.shutdown() double-call in executor_node.py
- Update DOCUMENTATION.md with amr_bringup entry and launch command
2026-03-20 15:13:07 +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 f2c482fe6e Add gridstack CSS and update workspace structure
- Introduced a new CSS file for gridstack to enhance layout management.
- Refactored the workspace JSON structure to include a new "workspace" key.
- Changed the main program block to use a "controls_whileUntil" structure.
- Updated various blocks and their configurations, including digital output and variable handling.
- Added a new HMI layout configuration for LED control.
2026-03-18 08:47:58 +07:00
a2nr 8a9f8771d7 feat: remove legacy EncoderRead interface; implement unified odometry interface with nav_msgs/Odometry; update Blockly blocks for odometry data extraction 2026-03-17 21:07:05 +07:00
a2nr fc17d9e9e9 feat: add main program block and async procedure support in Blockly; enhance code generation and execution flow 2026-03-11 16:09:46 +07:00
a2nr dced16a00b Add digital output block and GPIO handling
- Introduced a new Blockly block for setting digital output pins (`digitalOut`).
- Implemented the corresponding handler in Python to manage digital output actions.
- Updated dummy, GPIO, and real hardware interfaces to support digital output functionality.
- Modified the workspace configuration to include the new digital output block in the Blockly environment.
- Added potential enhancements to the README for future improvements.
2026-03-09 23:08:46 +07:00
a2nr c82e30b9b1 feat: implement export/import functionality and UI enhancements for Blockly workspace 2026-03-09 11:43:27 +07:00