Ask Your Question

Revision history [back]

How to run LOAM from .pcap file?

Hello, everyone, I am a new beginner to ROS and this is my first post here. All I was doing right now is to try to learn LiDAR-SLAM and how can I extract trajectory from 3D LiDAR (VLP-16) using LOAM, I followed many tutorials step-by-step from ROS installation, compiling velodyne driver, building system with catkin (loam_velodyne) and "running LOAM from .bag and .pcap file"

  • Versions of packages: I am using rosdistro: kinetic, rosversion: 1.12.14

  • My platform: I am running Ubuntu 16.04 (on an x64) subsystem on Windows 10, and Xming apps used to open RVIZ

  • Errors occurs when I run LOAM with .pcap file:

*Third terminal tap:

  • ssr@DESKTOP-S6IGE64:~$ cd ~/catkin_ws
  • ssr@DESKTOP-S6IGE64:~/catkin_ws$ source ~/catkin_ws/devel/setup.bash
  • ssr@DESKTOP-S6IGE64:~/catkin_ws$ export DISPLAY=:0
  • ssr@DESKTOP-S6IGE64:~/catkin_ws$ roslaunch velodyne_pointcloud VLP16_points.launch pcap:="/home/ssr/catkin_ws/velodyne.pcap"

... logging to /home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/roslaunch-DESKTOP-S6IGE64-11508.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://DESKTOP-S6IGE64:13657/

SUMMARY

PARAMETERS * /rosdistro: kinetic * /rosversion: 1.12.14 * /velodyne_nodelet_manager_cloud/calibration: /home/ssr/catkin_... * /velodyne_nodelet_manager_cloud/max_range: 130.0 * /velodyne_nodelet_manager_cloud/min_range: 0.4 * /velodyne_nodelet_manager_cloud/model: VLP16 * /velodyne_nodelet_manager_cloud/organize_cloud: False * /velodyne_nodelet_manager_driver/cut_angle: -0.01 * /velodyne_nodelet_manager_driver/device_ip: * /velodyne_nodelet_manager_driver/frame_id: velodyne * /velodyne_nodelet_manager_driver/gps_time: False * /velodyne_nodelet_manager_driver/model: VLP16 * /velodyne_nodelet_manager_driver/pcap: /home/ssr/catkin_... * /velodyne_nodelet_manager_driver/port: 2368 * /velodyne_nodelet_manager_driver/read_fast: False * /velodyne_nodelet_manager_driver/read_once: False * /velodyne_nodelet_manager_driver/repeat_delay: 0.0 * /velodyne_nodelet_manager_driver/rpm: 600.0 * /velodyne_nodelet_manager_driver/timestamp_first_packet: False * /velodyne_nodelet_manager_laserscan/resolution: 0.007 * /velodyne_nodelet_manager_laserscan/ring: -1

NODES / velodyne_nodelet_manager (nodelet/nodelet) velodyne_nodelet_manager_cloud (nodelet/nodelet) velodyne_nodelet_manager_driver (nodelet/nodelet) velodyne_nodelet_manager_laserscan (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

process[velodyne_nodelet_manager-1]: started with pid [11525] process[velodyne_nodelet_manager_driver-2]: started with pid [11526] process[velodyne_nodelet_manager_cloud-3]: started with pid [11527] process[velodyne_nodelet_manager_laserscan-4]: started with pid [11528] 0.000 2.304 4.608 6.912 9.216 11.520 13.824 16.128 18.432 20.736 23.040 25.344 27.648 29.952 32.256 34.560 55.296 57.600 59.904 62.208 64.512 66.816 69.120 71.424 73.728 76.032 78.336 80.640 82.944 85.248 87.552 89.856 110.592 112.896 115.200 117.504 119.808 122.112 124.416 126.720 129.024 131.328 133.632 135.936 138.240 140.544 142.848 145.152 165.888 168.192 170.496 172.800 175.104 177.408 179.712 182.016 184.320 186.624 188.928 191.232 193.536 195.840 198.144 200.448 221.184 223.488 225.792 228.096 230.400 232.704 235.008 237.312 239.616 241.920 244.224 246.528 248.832 251.136 253.440 255.744 276.480 278.784 281.088 283.392 285.696 288.000 290.304 292.608 294.912 297.216 299.520 301.824 304.128 306.432 308.736 311.040 331.776 334.080 336.384 338.688 340.992 343.296 345.600 347.904 350.208 352.512 354.816 357.120 359.424 361.728 364.032 366.336 387.072 389.376 391.680 393.984 396.288 398.592 400.896 403.200 405.504 407.808 410.112 412.416 414.720 417.024 419.328 421.632 442.368 444.672 446.976 449.280 451.584 453.888 456.192 458.496 460.800 463.104 465.408 467.712 470.016 472.320 474.624 476.928 497.664 499.968 502.272 504.576 506.880 509.184 511.488 513.792 516.096 518.400 520.704 523.008 525.312 527.616 529.920 532.224 552.960 555.264 557.568 559.872 562.176 564.480 566.784 569.088 571.392 573.696 576.000 578.304 580.608 582.912 585.216 587.520 608.256 610.560 612.864 615.168 617.472 619.776 622.080 624.384 626.688 628.992 631.296 633.600 635.904 638.208 640.512 642.816 663.552 665.856 668.160 670.464 672.768 675.072 677.376 679.680 681.984 684.288 686.592 688.896 691.200 693.504 695.808 698.112 718.848 721.152 723.456 725.760 728.064 730.368 732.672 734.976 737.280 739.584 741.888 744.192 746.496 748.800 751.104 753.408 774.144 776.448 778.752 781.056 783.360 785.664 787.968 790.272 792.576 794.880 797.184 799.488 801.792 804.096 806.400 808.704 829.440 831.744 834.048 836.352 838.656 840.960 843.264 845.568 847.872 850.176 852.480 854.784 857.088 859.392 861.696 864.000 884.736 887.040 889.344 891.648 893.952 896.256 898.560 900.864 903.168 905.472 907.776 910.080 912.384 914.688 916.992 919.296 940.032 942.336 944.640 946.944 949.248 951.552 953.856 956.160 958.464 960.768 963.072 965.376 967.680 969.984 972.288 974.592 995.328 997.632 999.936 1002.240 1004.544 1006.848 1009.152 1011.456 1013.760 1016.064 1018.368 1020.672 1022.976 1025.280 1027.584 1029.888 1050.624 1052.928 1055.232 1057.536 1059.840 1062.144 1064.448 1066.752 1069.056 1071.360 1073.664 1075.968 1078.272 1080.576 1082.880 1085.184 1105.920 1108.224 1110.528 1112.832 1115.136 1117.440 1119.744 1122.048 1124.352 1126.656 1128.960 1131.264 1133.568 1135.872 1138.176 1140.480 1161.216 1163.520 1165.824 1168.128 1170.432 1172.736 1175.040 1177.344 1179.648 1181.952 1184.256 1186.560 1188.864 1191.168 1193.472 1195.776 1216.512 1218.816 1221.120 1223.424 1225.728 1228.032 1230.336 1232.640 1234.944 1237.248 1239.552 1241.856 1244.160 1246.464 1248.768 1251.072 1271.808 1274.112 1276.416 1278.720 1281.024 1283.328 1285.632 1287.936 1290.240 1292.544 1294.848 1297.152 1299.456 1301.760 1304.064 1306.368 [velodyne_nodelet_manager-1] process has died [pid 11525, exit code -11, cmd /opt/ros/kinetic/lib/nodelet/nodelet manager __name:=velodyne_nodelet_manager __log:=/home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager-1.log]. log file: /home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager-1.log [velodyne_nodelet_manager_driver-2] process has died [pid 11526, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load velodyne_driver/DriverNodelet velodyne_nodelet_manager __name:=velodyne_nodelet_manager_driver __log:=/home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager_driver-2.log]. log file: /home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager_driver-2.log [velodyne_nodelet_manager_laserscan-4] process has died [pid 11528, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load velodyne_laserscan/LaserScanNodelet velodyne_nodelet_manager __name:=velodyne_nodelet_manager_laserscan __log:=/home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager_laserscan-4.log]. log file: /home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager_laserscan-4.log [velodyne_nodelet_manager_cloud-3] process has finished cleanly log file: /home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager_cloud-3.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done

  • I have followed these TWO issues 3#issuecomment-300148912 and 118#issuecomment-289907406 after getting problem as above, but still not clear or I miss-understanding how to solve this errors

  • Could you guys please help or suggest me, thanks in advance

How to run LOAM from .pcap file?

Hello, everyone, I am a new beginner to ROS and this is my first post here. All I was doing right now is to try to learn LiDAR-SLAM and how can I extract trajectory from 3D LiDAR (VLP-16) using LOAM, I followed many tutorials step-by-step from ROS installation, compiling velodyne driver, building system with catkin (loam_velodyne) and "running LOAM from .bag and .pcap file"

  • Versions of packages: I am using rosdistro: kinetic, rosversion: 1.12.14

  • My platform: I am running Ubuntu 16.04 (on an x64) subsystem on Windows 10, and Xming apps used to open RVIZ

  • Errors occurs when I run LOAM with .pcap file:

*Third terminal tap:

  • ssr@DESKTOP-S6IGE64:~$ cd ~/catkin_ws
  • ssr@DESKTOP-S6IGE64:~/catkin_ws$ source ~/catkin_ws/devel/setup.bash
  • ssr@DESKTOP-S6IGE64:~/catkin_ws$ export DISPLAY=:0
  • ssr@DESKTOP-S6IGE64:~/catkin_ws$ roslaunch velodyne_pointcloud VLP16_points.launch pcap:="/home/ssr/catkin_ws/velodyne.pcap"

... logging to /home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/roslaunch-DESKTOP-S6IGE64-11508.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://DESKTOP-S6IGE64:13657/

SUMMARY

PARAMETERS * /rosdistro: kinetic * /rosversion: 1.12.14 * /velodyne_nodelet_manager_cloud/calibration: /home/ssr/catkin_... * /velodyne_nodelet_manager_cloud/max_range: 130.0 * /velodyne_nodelet_manager_cloud/min_range: 0.4 * /velodyne_nodelet_manager_cloud/model: VLP16 * /velodyne_nodelet_manager_cloud/organize_cloud: False * /velodyne_nodelet_manager_driver/cut_angle: -0.01 * /velodyne_nodelet_manager_driver/device_ip: * /velodyne_nodelet_manager_driver/frame_id: velodyne * /velodyne_nodelet_manager_driver/gps_time: False * /velodyne_nodelet_manager_driver/model: VLP16 * /velodyne_nodelet_manager_driver/pcap: /home/ssr/catkin_... * /velodyne_nodelet_manager_driver/port: 2368 * /velodyne_nodelet_manager_driver/read_fast: False * /velodyne_nodelet_manager_driver/read_once: False * /velodyne_nodelet_manager_driver/repeat_delay: 0.0 * /velodyne_nodelet_manager_driver/rpm: 600.0 * /velodyne_nodelet_manager_driver/timestamp_first_packet: False * /velodyne_nodelet_manager_laserscan/resolution: 0.007 * /velodyne_nodelet_manager_laserscan/ring: -1

NODES / velodyne_nodelet_manager (nodelet/nodelet) velodyne_nodelet_manager_cloud (nodelet/nodelet) velodyne_nodelet_manager_driver (nodelet/nodelet) velodyne_nodelet_manager_laserscan (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

process[velodyne_nodelet_manager-1]: started with pid [11525] process[velodyne_nodelet_manager_driver-2]: started with pid [11526] process[velodyne_nodelet_manager_cloud-3]: started with pid [11527] process[velodyne_nodelet_manager_laserscan-4]: started with pid [11528] 0.000 2.304 4.608 6.912 9.216 11.520 13.824 16.128 18.432 20.736 23.040 25.344 27.648 29.952 32.256 34.560 55.296 57.600 59.904 62.208 64.512 66.816 69.120 71.424 73.728 76.032 78.336 80.640 82.944 85.248 87.552 89.856 110.592 112.896 115.200 117.504 119.808 122.112 124.416 126.720 129.024 131.328 133.632 135.936 138.240 140.544 142.848 145.152 165.888 168.192 170.496 172.800 175.104 177.408 179.712 182.016 184.320 186.624 188.928 191.232 193.536 195.840 198.144 200.448 221.184 223.488 225.792 228.096 230.400 232.704 235.008 237.312 239.616 241.920 244.224 246.528 248.832 251.136 253.440 255.744 276.480 278.784 281.088 283.392 285.696 288.000 290.304 292.608 294.912 297.216 299.520 301.824 304.128 306.432 308.736 311.040 331.776 334.080 336.384 338.688 340.992 343.296 345.600 347.904 350.208 352.512 354.816 357.120 359.424 361.728 364.032 366.336 387.072 389.376 391.680 393.984 396.288 398.592 400.896 403.200 405.504 407.808 410.112 412.416 414.720 417.024 419.328 421.632 442.368 444.672 446.976 449.280 451.584 453.888 456.192 458.496 460.800 463.104 465.408 467.712 470.016 472.320 474.624 476.928 497.664 499.968 502.272 504.576 506.880 509.184 511.488 513.792 516.096 518.400 520.704 523.008 525.312 527.616 529.920 532.224 552.960 555.264 557.568 559.872 562.176 564.480 566.784 569.088 571.392 573.696 576.000 578.304 580.608 582.912 585.216 587.520 608.256 610.560 612.864 615.168 617.472 619.776 622.080 624.384 626.688 628.992 631.296 633.600 635.904 638.208 640.512 642.816 663.552 665.856 668.160 670.464 672.768 675.072 677.376 679.680 681.984 684.288 686.592 688.896 691.200 693.504 695.808 698.112 718.848 721.152 723.456 725.760 728.064 730.368 732.672 734.976 737.280 739.584 741.888 744.192 746.496 748.800 751.104 753.408 774.144 776.448 778.752 781.056 783.360 785.664 787.968 790.272 792.576 794.880 797.184 799.488 801.792 804.096 806.400 808.704 829.440 831.744 834.048 836.352 838.656 840.960 843.264 845.568 847.872 850.176 852.480 854.784 857.088 859.392 861.696 864.000 884.736 887.040 889.344 891.648 893.952 896.256 898.560 900.864 903.168 905.472 907.776 910.080 912.384 914.688 916.992 919.296 940.032 942.336 944.640 946.944 949.248 951.552 953.856 956.160 958.464 960.768 963.072 965.376 967.680 969.984 972.288 974.592 995.328 997.632 999.936 1002.240 1004.544 1006.848 1009.152 1011.456 1013.760 1016.064 1018.368 1020.672 1022.976 1025.280 1027.584 1029.888 1050.624 1052.928 1055.232 1057.536 1059.840 1062.144 1064.448 1066.752 1069.056 1071.360 1073.664 1075.968 1078.272 1080.576 1082.880 1085.184 1105.920 1108.224 1110.528 1112.832 1115.136 1117.440 1119.744 1122.048 1124.352 1126.656 1128.960 1131.264 1133.568 1135.872 1138.176 1140.480 1161.216 1163.520 1165.824 1168.128 1170.432 1172.736 1175.040 1177.344 1179.648 1181.952 1184.256 1186.560 1188.864 1191.168 1193.472 1195.776 1216.512 1218.816 1221.120 1223.424 1225.728 1228.032 1230.336 1232.640 1234.944 1237.248 1239.552 1241.856 1244.160 1246.464 1248.768 1251.072 1271.808 1274.112 1276.416 1278.720 1281.024 1283.328 1285.632 1287.936 1290.240 1292.544 1294.848 1297.152 1299.456 1301.760 1304.064 1306.368 [velodyne_nodelet_manager-1] process has died [pid 11525, exit code -11, cmd /opt/ros/kinetic/lib/nodelet/nodelet manager __name:=velodyne_nodelet_manager __log:=/home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager-1.log]. log file: /home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager-1.log [velodyne_nodelet_manager_driver-2] process has died [pid 11526, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load velodyne_driver/DriverNodelet velodyne_nodelet_manager __name:=velodyne_nodelet_manager_driver __log:=/home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager_driver-2.log]. log file: /home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager_driver-2.log [velodyne_nodelet_manager_laserscan-4] process has died [pid 11528, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load velodyne_laserscan/LaserScanNodelet velodyne_nodelet_manager __name:=velodyne_nodelet_manager_laserscan __log:=/home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager_laserscan-4.log]. log file: /home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager_laserscan-4.log [velodyne_nodelet_manager_cloud-3] process has finished cleanly log file: /home/ssr/.ros/log/e1dbd56c-1b2b-11ea-a2df-78acc0a0b55d/velodyne_nodelet_manager_cloud-3.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done

  • I have followed these TWO issues 3#issuecomment-300148912 and 118#issuecomment-289907406 after getting problem as above, but still not clear or I miss-understanding missed-understanding how to solve this errors

  • Could you guys please help or suggest me, thanks in advance