When learning with the ARBOTIX simulator, the commands of many other websites, including the latest version, includesudo apt-get install ros-kinetic-arbotix-*
, not successful installation
Then try to use git to download the source code compilation:
download source code:
git clone https://github.com/vanadiumlabs/arbotix_ros.git
Then build a new/src under the/arbotix_ros folder, cut all other files to/src, and then use catkin_make to compile the source code
At this time, it prompts an error:
ERROR: cannot launch node of type [arbotix_python/arbotix_driver]: arbotix_python
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/home/xcy/catkin_lml/src
ROS path [2]=/home/xcy/catkin_syl/src
ROS path [3]=/home/xcy/catkin_ws/src
ROS path [4]=/opt/ros/kinetic/share
The reason is that there is no search path;
Add to the .bashrc file: Source ~/Download_Code/Arbotix_ros/DEVEL/SETUP.BASH
The specific path needs to be modified according to the location you downloaded;
and then compile will be successful