rosdep -simulate --reinstall list is not same as real install
I want deploy my package to other PC, so I use
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO -s --reinstall
to get all dependency.
I will get a list
sudo -H apt-get install -y libeigen3-dev
sudo -H apt-get install -y freeglut3-dev
sudo -H apt-get install -y qtbase5-dev
sudo -H apt-get install -y libgflags-dev
sudo -H apt-get install -y libgeographic-dev
sudo -H apt-get install -y python-nose
sudo -H apt-get install -y libpcl-dev
sudo -H apt-get install -y libcurl4-openssl-dev
sudo -H apt-get install -y curl
sudo -H apt-get install -y libpugixml-dev
...
But after I install this list and copy my package install to target machine, I found it lost many dependency, so I copy the src and use
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
it shows it need to call following list
sudo -H apt-get install -y ros-melodic-urdf
sudo -H apt-get install -y ros-melodic-filters
sudo -H apt-get install -y ros-melodic-grid-map-msgs
sudo -H apt-get install -y ros-melodic-imu-tools
sudo -H apt-get install -y ros-melodic-perception-pcl
sudo -H apt-get install -y ros-melodic-tf
sudo -H apt-get install -y ros-melodic-jsk-recognition-msgs
sudo -H apt-get install -y ros-melodic-diagnostic-aggregator
...
Seem all ROS version dependent node or library is not installed by simulate
How do I get the all dependency by rosdep or any other tool can help??