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

Commit

Permalink
define M_PI if not defined (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelarguedas authored Feb 27, 2018
1 parent 0282a87 commit 7763c64
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 7763c64

Please sign in to comment.