https://github.com/OxyBloom/Ros2_and_Arduino.git
This respository is show how to communicate with arduino through ros2 using serial communication This project gives simple demo for communicating with arduino through ros2
- Clone the repository
- install dependency--> sudo apt install libserial-dev
- Build your workspace
- source your workspace
- run "ros2 run keyboard_demo_py teleop_keyboard" node
- run "ros2 run keyboard_demo_py simple_serial_transmitter" node (Ensure that the arduino is connected)
For more advanced applications you might need to check out ros2 control