Repository navigation
Bring ros2 branch closer to melodic-devel branch and ROS 2 conventions - #80
Conversation
dont pass pedantic to dependencies and pass language c++ to cppcheck use ament lint auto now that there no .h c++ headers anymore disable -Wgnu-zero-variadic-macro-arguments for console_bridge for now readd pedantic flag
018d7c3 to
a17b7fb
Compare
|
@dirk-thomas @wjwwood I think this is ready for review. New round of CI for this and connected PRs: |
| endif() | ||
|
|
||
| if(BUILD_TESTING) | ||
| # TODO(mikaelarguedas) add copyright test once the linter accepts /** block comments |
There was a problem hiding this comment.
This comment looks like a duplicate. Maybe you wanted to mentioned something different here.
There was a problem hiding this comment.
Sorry I noticed this after the fact and removed it in a later commit: 877bcc2. Thanks for pointing it out though!
|
|
||
| // *INDENT-OFF* (prevent uncrustify from adding indention below) | ||
| #warning Including header <class_loader/class_loader.h> is deprecated, \ | ||
| include <class_loader/class_loader.hpp> instead. |
There was a problem hiding this comment.
Is there a way to indent the wrapped line and still keep the linters happy?
There was a problem hiding this comment.
When I tried to do that the linter wants to put a tonne of whitespace in, like >8 spaces and that shows in the warning text unfortunately.
| #ifndef CLASS_LOADER__CLASS_LOADER_H_ | ||
| #define CLASS_LOADER__CLASS_LOADER_H_ | ||
|
|
||
| // *INDENT-OFF* (prevent uncrustify from adding indention below) |
There was a problem hiding this comment.
The INDENT-OFF is not reverted anywhere below.
|
Overall looks fine to me (haven't looked too closely). Also some of my comments might be invalid since changes from earlier commits have been changed / reverted in later commits. |
|
Thanks @dirk-thomas for taking the time to review! I know it's a big diff pretty painful to review |
This brings
class_loadercloser to ROS2 styls as well as the current ROS1 melodic version. There is still a significant difference between the ROS1 and ROS2 version but this PR should allow to more easily port patches from one to the next and allows to run ROS2 linters and use stricter compiler options:Main things in this PR:
/**comment block)Reviewing on a per commit basis would be preferred as well as the code shuffled around will not appear in the per commit diff.