PR2 / robot_self_filter

15 stars 29 forks source link

Guard for shapes.h is the same as guard for geometric_shapes/shapes.h #17

Open ana-GT opened 7 years ago

ana-GT commented 7 years ago

Hi. I am working in a project where I am using both geometric_shapes/shapes.h and robot_self_filter/shapes.h . Both files have the exact same header guard: GEOMETRIC_SHAPESSHAPES , which results in compilation errors as only one of the header files can be included at a time. Could it be possible to change the robot_self_filter/shapes.h guard to something like: ROBOT_SELF_FILTER_GEOMETRICSHAPES? (or anything but GEOMETRIC_SHAPESSHAPES?)

I fix this problem by locally editing the guard in robot_self_filter/shapes.h , but my package needs to be distributed, so the local fix is not an ideal solution. Thanks!