Commit Graph

25 Commits (e42e7bfdb02ceedcd425960801738c42bb5b95f0)

Author SHA1 Message Date
a2nr e42e7bfdb0 feat: enhance Blockly UI description and update task completion criteria for PCA9685 and AS5600 nodes 2026-03-17 21:14:37 +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 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 f4f808e42c feat: update documentation for GPIO, PCA9685, and AS5600 nodes; add README files and message definitions 2026-03-16 20:08:19 +07:00
a2nr 89a12c85cc feat: add AS5600 magnetic encoder node with I2C support; implement message handling and integration tests 2026-03-16 20:08:07 +07:00
a2nr c23e1471b2 feat: add PCA9685 PWM controller node with I2C support; implement message handling and integration tests 2026-03-16 13:38:11 +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 a9bc037024 feat: add build-executor task for blockly_executor in pixi.toml 2026-03-12 12:59:59 +07:00
a2nr 4ed524011c feat: add setup dependencies and update gpio_node build process for aarch64 platform 2026-03-12 12:57:46 +07:00
a2nr 5db4bb8420 refactor: switch from libgpiod C++ bindings to C API; update GPIO handling and memory management 2026-03-12 10:39:29 +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 5738255423 feat: enhance debug mode with async block highlighting and call depth tracking; improve control flow for step execution 2026-03-12 09:56:31 +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 0bdd3040e0 feat: update GpioNode to use gpiod v2.x API for batch line requests and improved GPIO handling 2026-03-10 21:55:00 +07:00
a2nr 9f7ac848d8 fix: update gpio_chip parameter to use full path for gpiod compatibility 2026-03-10 21:50:20 +07:00
a2nr ee16dfdfcd feat: enhance GPIO handling to improve hardware availability checks and simulation mode fallback 2026-03-10 21:40:18 +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 5cedcf0b86 feat: refactor hardware handling to consolidate dummy and real implementations; add cancellation support for actions 2026-03-10 10:10:33 +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
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
a2nr 09e67ccbbc persiapan 2026-03-09 05:01:13 +07:00
a2nr 100cad47f0 feat: add support for real hardware in blockly_executor
- Introduced RealHardware class for communication with hardware nodes via ROS2.
- Updated ExecutorNode to select between RealHardware and DummyHardware based on a parameter.
- Refactored command handlers to use a decorator for registration, simplifying the handler registration process.
- Removed the base HandlerModule class and integrated handler registration directly in the handler functions.
- Updated GPIO and timing command handlers to use the new registration method.
- Added new executor command for running with real hardware.
2026-03-08 21:55:50 +07:00
a2nr a998ff13b4 big achivment tapi masih kurang dikit. 2026-03-08 14:14:32 +07:00
a2nr 4550e0557e initial with big achivement 2026-03-07 11:13:06 +07:00