Closed umateusz closed 1 year ago
Hi @umateusz , I considered this before but I don't think this is a good idea. Here are my reasons.
Hi @umateusz , I considered this before but I don't think this is a good idea. Here are my reasons.
Hi @mjxu96.
Having libcarla as a submodule will make it easier to change version and control it. Currently, we cannot check which version of carlaviz works.
It's your decision, if you think it's better to copy the code please close this PR.
Hi all,
I think there is a solution somewhere in between of including whole CARLA sources as a submodule (which I agree could get quite messy) and copying the LibCarla code. Why not add downloading & extracting LibCarla sources as a part of setup.sh
, the way other libs are added? It seemed to work quite well in our quick-and-dirty upgrade to 0.9.13 (https://github.com/wielgosz-info/carlaviz/commit/797fa93fe075616c139ecea1d79bb5e28914dc4a#diff-d32ba621b1d068eebb89e2404a5da195eafb40d58ee9f5c9d542a18a9cc6b35a).
It allows both to avoid the overhead of checking out the whole carla repo history & ensures the carlaviz versioning is for a specific version of CARLA.
@mjxu96, do you think something like that could work?
I will use Conan to manage the dependency in this PR https://github.com/mjxu96/carlaviz/pull/62
Thanks for the PR and thoughts.
Hey, I have prepared a version where libcarla is a submodule. It will be easier to change libcarla and compare carlaviz repo changes. What do you think?