How to use interrupts function with micro ros
Hello, Trying to build a robot on ROS2 foxy with the hardware Jetson xavier agx , openCR and dynamixel servos. Using micro ros I am publishing the odometry information. Additionally, I need to use the arduino interrupt function to read the PPM Signal for the remote controller. Having some trouble implementing it as I am new to programming and it messes with publishing odometry.
Kindly inform me, is there an alternate method to do this without using interrupts, so that I could publish odometry without any problems? or should I use a separate Arduino board to read the PPM signals?