Dependencies:
- ESP IDF Framework Version 4.3.1
- Microros for ESP IDF Framework
Integration into existing project:
- Add this repo to your main source code folder and update your CMake file to target the include folder and src file in this repo.
- Your Cmake file will have include the path to the ESP IDF rotary encoder component in the EXTRA_COMPONENT_DIRS variable, with a line like: set(EXTRA_COMPONENT_DIRS "<$IDF_PATH>/examples/peripherals/pcnt/rotary_encoder/components/rotary_encoder")
- Your will have to add Micro ros for ESP IDF to the components folder in your repo, and add it to your Cmake file.