Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Windows compilation in image_publisher.cpp (backport ros-percepti…
…on#1061) (ros-perception#1062) PR ros-perception#985 added some code that used `M_PI`, but `M_PI` is not defined in any standard, and before including `cmath` or `math.h` in Windows it is necessary to define `_USE_MATH_DEFINES` to ensure that `M_PI` is defined.<hr>This is an automatic backport of pull request ros-perception#1061 done by [Mergify](https://mergify.com). Co-authored-by: Silvio Traversaro <[email protected]>
- Loading branch information