Closed virtualRooom closed 4 years ago
你好,我是用rs-lidar-32,使用rsview录制了一个pcap文件。用ros进行可视化的时候报错,rviz中点云显示异常,但在rsview中正常显示。请问该问题要如何解决? log如下所示:
~/robosense_ws$ roslaunch rslidar_pointcloud rs_lidar_32.launch ... logging to /home/xxx/.ros/log/c0994f8a-e559-11ea-846a-606dc71b512f/roslaunch-xxx-16110.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB. started roslaunch server http://xxx:39655/ SUMMARY ======== PARAMETERS * /cloud_node/angle_path: /home/xxx/robo... * /cloud_node/channel_path: /home/xxx/robo... * /cloud_node/curves_path: /home/xxx/robo... * /cloud_node/curves_rate_path: /home/xxx/robo... * /cloud_node/intensity_mode: 1 * /cloud_node/max_distance: 200 * /cloud_node/min_distance: 0.4 * /cloud_node/model: RS32 * /cloud_node/resolution_type: 0.5cm * /rosdistro: melodic * /rosversion: 1.14.6 * /rslidar_node/cut_angle: 0 * /rslidar_node/device_ip: 192.168.1.200 * /rslidar_node/difop_port: 7788 * /rslidar_node/model: RS32 * /rslidar_node/msop_port: 6699 * /rslidar_node/pcap: /home/xxx/Down... NODES / cloud_node (rslidar_pointcloud/cloud_node) rslidar_node (rslidar_driver/rslidar_node) rviz (rviz/rviz) auto-starting new master process[master]: started with pid [16120] ROS_MASTER_URI=http://localhost:11311 setting /run_id to c0994f8a-e559-11ea-846a-606dc71b512f process[rosout-1]: started with pid [16131] started core service [/rosout] process[rslidar_node-2]: started with pid [16138] process[cloud_node-3]: started with pid [16139] [ INFO] [1598198424.509686340]: [driver] publishing 150 packets per scan [ INFO] [1598198424.513214076]: [driver] Cut at specific angle feature activated. Cutting rslidar points always at 0 degree. process[rviz-4]: started with pid [16145] [ INFO] [1598198424.521413682]: [driver][input] accepting packets from IP address: 192.168.1.200 [ INFO] [1598198424.523555779]: [driver][pcap] Opening PCAP file /home/xxx/Downloads/2020-08-22-15-33-53-RS-32-Data.pcap [ INFO] [1598198424.525052993]: [driver][input] accepting packets from IP address: 192.168.1.200 [ INFO] [1598198424.527184342]: [driver][pcap] Opening PCAP file /home/xxx/Downloads/2020-08-22-15-33-53-RS-32-Data.pcap [ INFO] [1598198424.528794739]: [cloud][rawdata] lidar model: RS32 [ INFO] [1598198424.529970991]: [cloud][rawdata] start and end angle feature activated. [ INFO] [1598198424.530011468]: [cloud][rawdata] start_angle: 0 end_angle: 360 angle_flag: 1 [ INFO] [1598198424.532933932]: [cloud][rawdata] distance threshlod, max: 200 m, min: 0.4 m [ INFO] [1598198424.535544008]: [cloud][rawdata] initialize resolution type: 0.5 cm, intensity mode: 1 [ERROR] [1598198424.551084127]: [driver][pcap] Error -2 reading rslidar packet: [rviz-4] process has finished cleanly log file: /home/xxx/.ros/log/c0994f8a-e559-11ea-846a-606dc71b512f/rviz-4*.log [ INFO] [1598198440.750859986]: [driver][pcap] replaying rslidar dump file [ INFO] [1598198456.999180613]: [driver][pcap] replaying rslidar dump file
pcap file: https://drive.google.com/file/d/1MdY4Z1AXc9YqH0kEElHpbEeoPqzyEY4K/view?usp=sharing
https://drive.google.com/file/d/1MdY4Z1AXc9YqH0kEElHpbEeoPqzyEY4K/view?usp=sharing
已解决,本pcap是用rsview3.1.5录制,通过更换avgle.csv文件可以正常显示。 新版rsview3.1.6无此问题。
你好,我是用rs-lidar-32,使用rsview录制了一个pcap文件。用ros进行可视化的时候报错,rviz中点云显示异常,但在rsview中正常显示。请问该问题要如何解决? log如下所示:
pcap file:
https://drive.google.com/file/d/1MdY4Z1AXc9YqH0kEElHpbEeoPqzyEY4K/view?usp=sharing