http://wiki.ros.org/velodyne/Tutorials/Getting%20Started%20with%20the%20Velodyne%20VLP16
sip2@sip2-2021:~$ sudo apt-get install ros-noetic-velodyne
sip2@sip2-2021:~$ mkdir -p ~/catkin_velodyne/src
sip2@sip2-2021:~$ cd catkin_velodyne/src
sip2@sip2-2021:~/catkin_velodyne/src$ git clone https://github.com/ros-drivers/velodyne.git
Cloning into 'velodyne'...
remote: Enumerating objects: 6031, done.
remote: Counting objects: 100% (407/407), done.
remote: Compressing objects: 100% (219/219), done.
remote: Total 6031 (delta 253), reused 290 (delta 174), pack-reused 5624
Receiving objects: 100% (6031/6031), 1.28 MiB | 5.09 MiB/s, done.
Resolving deltas: 100% (3558/3558), done.
sip2@sip2-2021:~/catkin_velodyne$ cd ~/catkin_velodyne/ && rosdep install --from-paths src --ignore-src --rosdistro noetic -y
#All required rosdeps installed successfully
sip2@sip2-2021:~/catkin_velodyne/src$ cd ~/catkin_velodyne/ && catkin_make
..
[100%] Linking CXX shared library /home/sip2/catkin_velodyne/devel/lib/libtransform_nodelet.so
[100%] Built target transform_nodelet
[100%] Built target transform_node
sip2@sip2-2021:~/catkin_velodyne$ source devel/setup.bash
sip2@sip2-2021:~/catkin_velodyne$ roslaunch velodyne_pointcloud VLP16_points.launch
コメント
コメントを投稿