HKUST-Aerial-Robotics / A-LOAM

Advanced implementation of LOAM
Other
2.05k stars 789 forks source link

Problem on kitti_helper.launch #28

Open Juuustin opened 4 years ago

Juuustin commented 4 years ago

Now I am trying to test A-LOAM on kitti (velodyne laser data, 80 GB), as far as I know, we should try to transform them into ROS bag at first. (if it is not true, please point it out).

When I use the kitti_helper.launch, the output is only a .bag file about 4kB in total.

This is the terminal information: `... logging to /home/objloc/.ros/log/c787383e-8951-11ea-b5c0-9cebe8b95aff/roslaunch-deeplearning-12255.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://deeplearning:xxxxx/

SUMMARY

PARAMETERS

NODES / kittiHelper (aloam_velodyne/kittiHelper)

auto-starting new master process[master]: started with pid [12267] ROS_MASTER_URI=http://localhost:xxxxx

setting /run_id to c787383e-8951-11ea-b5c0-9cebe8b95aff process[rosout-1]: started with pid [12282] started core service [/rosout] process[kittiHelper-2]: started with pid [12300] Reading sequence 004 from /home/objloc/OBJLOC/A-LOAM/ Done [kittiHelper-2] process has finished cleanly log file: /home/objloc/.ros/log/c787383e-8951-11ea-b5c0-9cebe8b95aff/kittiHelper-2*.log ` any suggestion or advice for it?

songming1995 commented 3 years ago

Hi, I met the same problem. Then I check the kittiHelp.cpp and set the correct path of my dataset in the launch file. Pay attention, the path should end with a '/' to show it is a folder not a file. Example:

Another way to check if it is your path is correct is to cout the path string in the source code of 'kittiHelp.cpp' in case of ant misspelling. Hope it will help you.

yangfuwei commented 2 years ago

Hi, I met the same problem and I found that "lidar_data_path" in KittiHelp.cpp no longer match the path in KITTI dataset.