rosserial_arduino, unable to locate the package
I am currently using ubuntu 18.04 and ROS is melodic, I am using this on virtual box. I face two types of problems when I am going to make the libraries of Arduino.
1) These command won't work, I also tried by replacing the "indigo" with melodic as well.
sudo apt-get install ros-indigo-rosserial-arduino
sudo apt-get install ros-indigo-rosserial
Note: As this method is the recommended method.
2) when I tried the second method like:
cd <my catkin_workspace>/src
git clone https://github.com/ros-drivers/rosserial.git
cd <my catkin_workspace>
catkin_make
catkin_make install
cd <my sketchbook folder>/libraries
rm -rf ros_lib
rosrun rosserial_arduino make_libraries.py .
when I did this it shows me the error unable to locate rosserial_arduino
.
Any advice would be highly appreciated.
For your first question: see #q303253.