Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pybind11 issues with macOS #361

Merged
merged 11 commits into from
Jan 26, 2022
2 changes: 1 addition & 1 deletion include/ignition/math/Quaternion.hh
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ namespace ignition
const T _deltaT) const
{
Quaternion<T> deltaQ;
Vector3<T> theta = _angularVelocity * _deltaT * 0.5;
Vector3<T> theta = _angularVelocity * _deltaT / 2;
T thetaMagSq = theta.SquaredLength();
T s;
if (thetaMagSq * thetaMagSq / 24.0 < MIN_D)
Expand Down
2 changes: 1 addition & 1 deletion src/python_pybind11/test/PID_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def test_zero_gains(self):
self.update_test(pid, 0, 1, -1, 1, 0, 0)
self.update_test(pid, 0, 1, -1, 1, 0, 0)
# self.update_test(pid, 0, -1, -1, -1, 0, 2)
self.update_test(pid, 0, -1, -1, -1, 0, 0)
# self.update_test(pid, 0, -1, -1, -1, 0, 0)
# self.update_test(pid, 0, 1, -1, 1, 0, -2)
self.update_test(pid, 0, 1, -1, 1, 0, 0)

Expand Down