The following are the steps to set up rosserial for arduino
- Installation of Arduino IDE
- Installation of Rosserial noetic
- Clone repository
- Making the ROS packages in Arduino
Click on this link
The above link will take you to the official Arduino website from where you can choose to download the Arduino IDE based on your system configuration.
Once the installation is complete extract the compressed folder into a desired folder on your system.
Open terminal in the extracted folder or change directory to the extracted folder in any terminal.
Type in ./install.sh in the terminal and hit enter.
This completes the installation of the Arduino IDE
Use the below command line in the terminal to install rosserial noetic
sudo apt-get install ros-noetic-rosserial-arduino
Clone this repository in src folder in catkin_ws using the following command line
clone rep https://github.com/Aranyaa-k/rosserial_noetic.git
Change directory to catkin_ws and run catkin_make
After running roscore open new terminal and change directory to libraries in the extracted arduino folder and run the below command
rosrun rosserial_arduino make_libraries.py