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 (#1061)
PR #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.
- Loading branch information