Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style fixes from ros2 #11

Merged
merged 4 commits into from Mar 29, 2018
Merged

Style fixes from ros2 #11

merged 4 commits into from Mar 29, 2018

Conversation

clalancette
Copy link
Collaborator

Pretty much what it says on the tin. Import some style fixes from https://github.com/ros2/kdl_parser to reduce the difference between them. Should be no functional change.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@@ -30,6 +30,10 @@ target_link_libraries(${PROJECT_NAME}
${TinyXML_LIBRARIES} ${orocos_kdl_LIBRARIES} ${catkin_LIBRARIES}
)

if(WIN32)
target_compile_definitions(${PROJECT_NAME} PRIVATE "KDL_PARSER_BUILDING_DLL")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GenerateExportHeader?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same basic idea as ros/urdf#11, where William's feedback is interesting. I can open an issue here as well.


void printLink(const SegmentMap::const_iterator& link, const std::string& prefix)
void printLink(const KDL::SegmentMap::const_iterator & link, const std::string & prefix)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If qualifying with KDL:: then should using namespace KDL; online 45 be deleted?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, done now.

* POSSIBILITY OF SUCH DAMAGE.
*********************************************************************/

/* Author: Wim Meeussen */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The author of this file looks like it might be @jacquelinekay in ed6237c

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, good call. That was a cut-n-paste from elsewhere in the library, but fixed now.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@sloretz sloretz merged commit 974d16e into kinetic-devel Mar 29, 2018
@sloretz sloretz deleted the style-fixes-from-ros2 branch March 29, 2018 20:24
sloretz pushed a commit that referenced this pull request Mar 29, 2018
* Style fixes (these can go to upstream kdl_parser)

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>

* Windows compatibility.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants