Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

define M_PI if not defined #8

Merged
merged 1 commit into from
Feb 27, 2018
Merged

define M_PI if not defined #8

merged 1 commit into from
Feb 27, 2018

Conversation

mikaelarguedas
Copy link
Member

@mikaelarguedas mikaelarguedas commented Feb 24, 2018

cmath doesnt provide M_PI on Windows, this test gets the definition from "urdf_model/pose.h" that is not very robust to changes.

This change is needed to be start tracking upstream urdfdom_headers again.

Connects to ros2/ros2#465

@mikaelarguedas mikaelarguedas added in progress Actively being worked on (Kanban column) in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Feb 24, 2018
Copy link

@Karsten1987 Karsten1987 left a comment

Choose a reason for hiding this comment

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

I was wondering for a moment if we should apply the same way of defining M_PI here as we did in ros/urdfdom_headers@ed597eb, but then again it's a test. So if CI is passing, I believe it's fine.

@mikaelarguedas mikaelarguedas merged commit 7763c64 into ros2 Feb 27, 2018
@mikaelarguedas mikaelarguedas deleted the dont_rely_on_M_PI branch February 27, 2018 05:44
@mikaelarguedas mikaelarguedas removed the in review Waiting for review (Kanban column) label Feb 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants