Conversation
This major refactor: - separates the original implementation into proper header/source files - lifts implementations of CrazyflieROS and CrazyflieServer into a separate library - adds missing `rcl_interfaces` dependency to package - reformats code with google C++ format style; add clang format file
|
@knmcguire for vis. I don't have permission to add reviewers. |
|
Thanks! Could you perhaps comment a bit on what you try to achieve?
|
|
Thank you for taking a look! To your points:
Please let me know if I am missing some context here. |
|
I've added wolfgang as reviewer as the cpp backend is his turf. However, such a big potentially breaking change to the cpp backend will require some discussion on the maintenance team though. So we will need to come back to you on that in the next couple of weeks with suggestion of approach. |
|
Yeah absolutely! Please let me know if I can help with anything. Appreciate your time. |
|
Sorry for the long delay! I had some discussion with @knmcguire with the following outcome: We generally feel that the PR is too big, especially given that it's a single commit. A big refactor like that would require pre-approval and then either multiple small PRs, or a big PR where the logical changes are split in separate commits. I see little benefit in separate libraries as this limits compiler/linker optimizations and there is no use-case in using these libraries in a second project executable. There might be a small benefit in terms of compile times, but those haven't been a real pain point. Clang format and the missing dependencies do make sense. I'll leave this PR open until we have at least added the missing dependency. A new PR with smaller changes (e.g., clang code formatting) would be welcome. |
This major refactor:
CrazyflieROSandCrazyflieServerinto a separate libraryrcl_interfacesdependency to packageSince I am linking
crazyflie_cpplibrary to the newcrazyflie_ros2library, CMakeLists.txt fromcrazyflie_cppneeds to include an additional line:Please advise on: