dawonn / vectornav

ROS Interface for the VectorNav IMU/GPS
145 stars 175 forks source link

add and run clang-format #98

Closed cosama closed 2 years ago

cosama commented 2 years ago

I copied the .clang-format file from the ros2 branch and run it on main.cpp, hope I got it all right.

@dawonn I leave this one up to you, to decide if it makes sense to add this. It should make the code more similar to what is currently in the ros2 branch, but it is a lot of changes and they are not very relevant to me either way.

I tested it and it seems to run just fine.