Gazebo Math

API Reference

8.1.0
Deprecated List
Member SphericalCoordinates::GlobalFromLocalVelocity (const Vector3d &_xyz) const
There's a known bug with this computation that can't be fixed until Gazebo 8 to avoid behaviour changes. Call GlobalFromLocalVelocity(CoordinateVector3) for correct results.
Member SphericalCoordinates::LOCAL2
The computation bugs for LOCAL have been fixed in Gazebo Ionic (8) so the temporary LOCAL2 type is no more needed.
Member SphericalCoordinates::LocalFromGlobalVelocity (const Vector3d &_xyz) const
Use LocalFromSphericalPosition(CoordinateVector3) instead.
Member SphericalCoordinates::LocalFromSphericalPosition (const Vector3d &_latLonEle) const
Use LocalFromSphericalPosition(CoordinateVector3) instead.
Member SphericalCoordinates::PositionTransform (const Vector3d &_pos, const CoordinateType &_in, const CoordinateType &_out) const
To keep compatibility with Gazebo 7 and earlier, this function returns incorrect result for LOCAL->SPHERICAL and LOCAL->GLOBAL cases. Preferably, switch to using PositionTransform(CoordinateVector3, ..., LOCAL) which yields correct results. If you need to use this deprecated overload, use coordinate type LOCAL2 to get the correct result.
Member SphericalCoordinates::SphericalFromLocalPosition (const Vector3d &_xyz) const
There's a known bug with this computation that can't be fixed until Gazebo 8 to avoid behaviour changes. Call SphericalFromLocalPosition(CoordinateVector3) for correct results.
Member SphericalCoordinates::VelocityTransform (const Vector3d &_vel, const CoordinateType &_in, const CoordinateType &_out) const
To keep compatibility with Gazebo 7 and earlier, this function returns incorrect result for LOCAL->SPHERICAL and LOCAL->GLOBAL cases. Preferably, switch to using VelocityTransform(CoordinateVector3, ..., LOCAL) which yields correct results. If you need to use this deprecated overload, use coordinate type LOCAL2 to get the correct result.