The ScrewJoint::GetThreadPitch function isn't const in gazebo6 and earlier, which prevents it from being used in other const functions. This came up during pull request #1827. We should change it to be const, but only in the default branch, so we don't break API/ABI for released branches.
Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).
The
ScrewJoint::GetThreadPitch
function isn'tconst
in gazebo6 and earlier, which prevents it from being used in otherconst
functions. This came up during pull request #1827. We should change it to be const, but only in the default branch, so we don't break API/ABI for released branches.