tomas789 / kitti2bag

Convert KITTI dataset to ROS bag file the easy way!
MIT License
702 stars 256 forks source link

how to run kitti2bag in Windows? #59

Open littlefish111 opened 3 years ago

littlefish111 commented 3 years ago

This seems can only run in linux. But how to run it in windows?

tanay-o commented 1 year ago

Did you find anything on this?

Magic-wei commented 1 year ago

@tanay-o @littlefish111 I think there are two possible ways to run kitti2bag in Windows:

  1. Run it in Docker: Windows 10 and 11 can both install the latest Docker Desktop which works on top of WSL2 (I have successfully installed and run Docker Desktop on Windows 10 Home). Make sure you enable and update WSL2 before install Docker Desktop (see Docker Desktop WSL 2 backend and Download the Linux kernel update package for more details). To get a quick start with kitti2bag, I have pushed Docker images that you can run out of the box. Go and take a look at magic4wei/kitti on Docker Hub.
  2. Run it in a Python virtual environment (e.g. via Anaconda): I tested this on Ubuntu but it should works on Windows as well. See #62 for Python dependency installation. BTW, some packages like tf2-py and roslz4 needs to be built from wheels, which needs additional packages to be available. On Ubuntu, I install them by running apt-get install gcc g++ libboost-all-dev liblz4-dev. If you can find a way to install them properly on Windows, then I think everything should work well as it does on Ubuntu. I will test this on Windows 10 in the future and update my post here.