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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions urdf_parser/test/urdf_unit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
#include <vector>
#include "urdf_model/pose.h"

#ifndef M_PI
# define M_PI 3.141592653589793
#endif

bool quat_are_near(urdf::Rotation left, urdf::Rotation right)
{
Expand Down