apollo icon indicating copy to clipboard operation
apollo copied to clipboard

How to Run Offline Perception Visualizer

Open gazige1981 opened this issue 8 years ago • 7 comments

hi I want to run offline perception visualizer on VMware,but it stay at line et::onInit() [ INFO] [1513393804.984149107]: Point cloud nodelet init and cannot go forward

visualizer

the command looks follow: cd apollo bash docker/scripts/dev_start.sh bash docker/scripts/dev_into.sh roslaunch velodyne export_pcd_offline.launch

and the file how_to_run_offline_perception_visualizer.md doesn't update the file export_pcd.launch doesn't exist

gazige1981 avatar Dec 16 '17 03:12 gazige1981

Were you running rosbag to play demo with point cloud data ? such as Apollo1.5_demo.bag from apollo auto website.

chucklqsun avatar Dec 16 '17 04:12 chucklqsun

I haven't running the rosbag yet image

gazige1981 avatar Dec 16 '17 05:12 gazige1981

You can open a new terminal and get into the dev dock and run the rosbag. It will go forward after receiving the message from rosbag.

chucklqsun avatar Dec 16 '17 05:12 chucklqsun

ok thanks . it works but there is another problem as follows lidar0 there are no PCD files be dumped to the export directory (defalut: /apollo/data/pcd) just two files stamp.txt and pose.txt but they are both empty

the rosbag lidar_calib.bag is downloaded from apollo open data platform lidar1

gazige1981 avatar Dec 16 '17 07:12 gazige1981

PCD is point cloud data. You can use the “传感器样例数据”(~8.93G), which includes the LiDAR data (point cloud data).

chucklqsun avatar Dec 16 '17 10:12 chucklqsun

  • You can refer: https://github.com/ApolloAuto/apollo/issues/1682 @chucklqsun @gazige1981 It seems that “传感器样例数据”(~8.93G) not work
xxx@in_dev_docker:/apollo$ rosbag info data/bag/debug_data_calibration/
bag_md5          lidar_calib.bag  
gary@in_dev_docker:/apollo$ rosbag info data/bag/debug_data_calibration/lidar_calib.bag 
path:        data/bag/debug_data_calibration/lidar_calib.bag
version:     2.0
duration:    3:02s (182s)
start:       Sep 08 2017 12:04:33.03 (1504843473.03)
end:         Sep 08 2017 12:07:35.39 (1504843655.39)
size:        1.2 GB
messages:    20405
compression: none [911/911 chunks]
types:       pb_msgs/InsStat                   [36306149a641468d85afa4cf44de7141]
             pb_msgs/RelativeOdometry          [3d7113804ad5e5f12f3588df365d9356]
             velodyne_msgs/VelodyneScanUnified [a02f26cda99b9e0189aac08ed1065a71]
topics:      /apollo/calibration/relative_odometry           18220 msgs    : pb_msgs/RelativeOdometry         
             /apollo/sensor/gnss/ins_stat                      365 msgs    : pb_msgs/InsStat                  
             /apollo/sensor/velodyne64/VelodyneScanUnified    1820 msgs    : velodyne_msgs/VelodyneScanUnified

Durant35 avatar Dec 18 '17 03:12 Durant35

ok , thanks

gazige1981 avatar Dec 20 '17 00:12 gazige1981