micro-ROS / micro-ROS/micro_ros_espidf_component
Example Code on how to use GPIO Interrupt with MicroRos
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 419
- Forks
- 124
- Avg merge
- 21h 35m
- Merged PRs (30d)
- 3
Description
I'm trying to have micro ros publish sensor information when an ESP32 pin is interrupt.
So far,
1. Micro ros with interrupts, the ESP32 reboots due to panic_abort.
2. Micro ros alone, using timers to read the pin it works fine.
3. Interrupts alone also works fine
How would one go about using micro-ros with interrupts? I've try searching around, but didn't find any sample code. Any guidance is much appreciated.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the repository's existing sample code and the ESP32 GPIO interrupt and micro-ROS usage described in the issue. Determine whether a documented example can cover publishing sensor data from an interrupt, and define completion as a working sample or guidance that addresses the reported panic_abort behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, robotics
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100