ros / geometry

Packages for common geometric calculations including the ROS transform library, "tf". Also includes ROS bindings for "bullet" physics engine and "kdl" kinematics/dynamics package.
173 stars 274 forks source link

casting away const qualifier in Vector3 #170

Closed C-NR closed 6 years ago

C-NR commented 6 years ago

In the current release of ROS Kinetic Kame delivered by i.e. Ubuntu exists an issue with casting away const in the include/tf/LinearMath/Vector3.h > tfSwapScalarEndian method.

Line 626 must be changed in the according Vector3.h from: unsigned char src = (unsigned char) &sourceVal; to: const unsigned char src = (const unsigned char) &sourceVal; in to not casrt away the const qualifier.

tfoote commented 6 years ago

Fixed in #167