Skip to content

Commit 5cbe319

Browse files
authored
Use gz.math7 (#1142)
Adapting the code to the change in gazebosim/gz-math#503 Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
1 parent 6c79a18 commit 5cbe319

34 files changed

+34
-34
lines changed

python/test/pyAirPressure_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from gz.math import Vector3d
15+
from gz.math7 import Vector3d
1616
from sdformat import AirPressure, Noise
1717
import sdformat as sdf
1818
import unittest

python/test/pyAltimeter_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from gz.math import Vector3d
15+
from gz.math7 import Vector3d
1616
from sdformat import Altimeter, Noise
1717
import sdformat as sdf
1818
import unittest

python/test/pyAtmosphere_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from gz.math import Pose3d, Temperature
15+
from gz.math7 import Pose3d, Temperature
1616
from sdformat import Atmosphere
1717
import sdformat as sdf
1818
import unittest

python/test/pyBox_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from gz.math import Vector3d
15+
from gz.math7 import Vector3d
1616
from sdformat import Box
1717
import unittest
1818

python/test/pyCamera_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Angle, Pose3d, Vector2d
16+
from gz.math7 import Angle, Pose3d, Vector2d
1717
import math
1818
from sdformat import Camera
1919
import sdformat as sdf

python/test/pyCapsule_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import copy
1616

17-
from gz.math import Vector3d, Capsuled
17+
from gz.math7 import Vector3d, Capsuled
1818

1919
import math
2020

python/test/pyCollision_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Pose3d
16+
from gz.math7 import Pose3d
1717
from sdformat import (Box, Collision, Contact, Cylinder, Error, Geometry,
1818
Plane, Surface, Sphere, SDFErrorsException)
1919
import sdformat as sdf

python/test/pyCylinder_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import copy
1616

17-
from gz.math import Vector3d
17+
from gz.math7 import Vector3d
1818

1919
import math
2020

python/test/pyEllipsoid_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Vector3d, Ellipsoidd
16+
from gz.math7 import Vector3d, Ellipsoidd
1717
import math
1818
from sdformat import Ellipsoid
1919
import unittest

python/test/pyFrame_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Pose3d
16+
from gz.math7 import Pose3d
1717
from sdformat import Frame, Error, SDFErrorsException, ErrorCode
1818
import unittest
1919
import math

python/test/pyGeometry_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import copy
1616
from sdformat import Geometry, Box, Capsule, Cylinder, Ellipsoid, Mesh, Plane, Sphere
17-
from gz.math import Vector3d, Vector2d
17+
from gz.math7 import Vector3d, Vector2d
1818
import sdformat as sdf
1919
import unittest
2020

python/test/pyHeightmap_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Vector3d
16+
from gz.math7 import Vector3d
1717
from sdformat import Heightmap, HeightmapBlend, HeightmapTexture
1818
import unittest
1919

python/test/pyIMU_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Vector3d
16+
from gz.math7 import Vector3d
1717
from sdformat import IMU, Noise
1818
import sdformat as sdf
1919
import unittest

python/test/pyJointAxis_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Pose3d, Vector3d
16+
from gz.math7 import Pose3d, Vector3d
1717
from sdformat import JointAxis, Error, SDFErrorsException
1818
import math
1919
import unittest

python/test/pyJoint_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Pose3d, Vector3d
16+
from gz.math7 import Pose3d, Vector3d
1717
from sdformat import (Joint, JointAxis, Error, SemanticPose, Sensor,
1818
SDFErrorsException)
1919
import sdformat as sdf

python/test/pyLidar_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Angle, Pose3d, Vector3d, Helpers
16+
from gz.math7 import Angle, Pose3d, Vector3d, Helpers
1717
from sdformat import Lidar, Error, Noise
1818
import math
1919
import unittest

python/test/pyLight_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Angle, Color, Pose3d, Vector3d
16+
from gz.math7 import Angle, Color, Pose3d, Vector3d
1717
from sdformat import Light, SDFErrorsException
1818
import sdformat as sdf
1919
import math

python/test/pyLink_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Pose3d, Inertiald, MassMatrix3d, Vector3d
16+
from gz.math7 import Pose3d, Inertiald, MassMatrix3d, Vector3d
1717
from sdformat import (Collision, Light, Link, Sensor, Visual,
1818
SDFErrorsException)
1919
import unittest

python/test/pyMagnetometer_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Pose3d
16+
from gz.math7 import Pose3d
1717
from sdformat import Magnetometer, Noise
1818
import sdformat as sdf
1919
import unittest

python/test/pyMaterial_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import copy
1616
from sdformat import Material, Pbr, PbrWorkflow
17-
from gz.math import Color
17+
from gz.math7 import Color
1818
import sdformat as sdf
1919
import unittest
2020

python/test/pyMesh_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import copy
1616
from sdformat import Mesh
17-
from gz.math import Vector3d
17+
from gz.math7 import Vector3d
1818
import unittest
1919

2020

python/test/pyModel_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Pose3d, Vector3d
16+
from gz.math7 import Pose3d, Vector3d
1717
from sdformat import (Plugin, Model, Joint, Link, Error, Frame, SemanticPose,
1818
SDFErrorsException)
1919
import sdformat as sdf

python/test/pyParticleEmitter_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Color, Pose3d, Vector3d, Helpers
16+
from gz.math7 import Color, Pose3d, Vector3d, Helpers
1717
from sdformat import ParticleEmitter
1818
import unittest
1919

python/test/pyPlane_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import copy
1616
from sdformat import Plane
17-
from gz.math import Vector3d, Vector2d, Planed
17+
from gz.math7 import Vector3d, Vector2d, Planed
1818
import unittest
1919

2020

python/test/pyPolyline_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import copy
1616
from sdformat import Polyline
17-
from gz.math import Vector2d
17+
from gz.math7 import Vector2d
1818
import unittest
1919

2020

python/test/pyRoot_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Vector3d, Pose3d
16+
from gz.math7 import Vector3d, Pose3d
1717
from sdformat import (Error, Model, Light, Root, SDF_VERSION,
1818
SDFErrorsException, SDF_PROTOCOL_VERSION, World)
1919
import sdformat as sdf

python/test/pyScene_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Color
16+
from gz.math7 import Color
1717
from sdformat import Scene, Sky
1818
import unittest
1919

python/test/pySemanticPose_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Pose3d
16+
from gz.math7 import Pose3d
1717
from sdformat import Link, SemanticPose
1818
import unittest
1919

python/test/pySensor_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Pose3d
16+
from gz.math7 import Pose3d
1717
from sdformat import (AirPressure, Altimeter, Camera, IMU, ForceTorque, Lidar,
1818
Magnetometer, NavSat, Noise, Plugin, SemanticPose,
1919
Sensor, SDFErrorsException)

python/test/pySky_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Angle, Color
16+
from gz.math7 import Angle, Color
1717
from sdformat import Sky
1818
import unittest
1919

python/test/pySphere_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Sphered
16+
from gz.math7 import Sphered
1717
import math
1818
from sdformat import Sphere
1919
import unittest

python/test/pySurface_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Vector3d
16+
from gz.math7 import Vector3d
1717
from sdformat import Surface, Contact, Friction, ODE
1818
import unittest
1919

python/test/pyVisual_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Pose3d, Color
16+
from gz.math7 import Pose3d, Color
1717
from sdformat import Geometry, Material, Visual, Plugin, SDFErrorsException
1818
import sdformat as sdf
1919
import unittest

python/test/pyWorld_TEST.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
import copy
16-
from gz.math import Color, Pose3d, Vector3d, SphericalCoordinates
16+
from gz.math7 import Color, Pose3d, Vector3d, SphericalCoordinates
1717
from sdformat import Atmosphere, Gui, Physics, Plugin, Error, Frame, Light, Model, Scene, World
1818
import sdformat as sdf
1919
import unittest

0 commit comments

Comments
 (0)