ros-perception / vision_opencv

Apache License 2.0
536 stars 599 forks source link

fmt: add lint support for cv_bridge and image_geometry && add auto cmake support #518

Open homalozoa opened 7 months ago

homalozoa commented 7 months ago

I did several changes for this repo:

for cv_bridge:

  1. Using auto cmake to make cmake files more neater and simplier. So some useless cmakelists are removed from the directory.
  2. Turn on all lint support without copyright checking. Because there are some files I don't know how to correct under the ROS 2 copyright rules.
  3. Reformat many files to pass all test checkings.

for image_geometry:

  1. Using auto cmake to make cmake files more neater and simplier. So some useless cmakelists are removed from the directory.
  2. Turn on all lint support.
  3. Reformat many files to pass all test checkings.
homalozoa commented 7 months ago

emmmm. There is a little trouble when rosdep finds OpenCV/libopencv-dev. I'll check later.