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

Change gz-math python to gz.math7 #1142

Merged
merged 1 commit into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/test/pyAirPressure_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from gz.math import Vector3d
from gz.math7 import Vector3d
from sdformat import AirPressure, Noise
import sdformat as sdf
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyAltimeter_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from gz.math import Vector3d
from gz.math7 import Vector3d
from sdformat import Altimeter, Noise
import sdformat as sdf
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyAtmosphere_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from gz.math import Pose3d, Temperature
from gz.math7 import Pose3d, Temperature
from sdformat import Atmosphere
import sdformat as sdf
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyBox_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from gz.math import Vector3d
from gz.math7 import Vector3d
from sdformat import Box
import unittest

Expand Down
2 changes: 1 addition & 1 deletion python/test/pyCamera_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Angle, Pose3d, Vector2d
from gz.math7 import Angle, Pose3d, Vector2d
import math
from sdformat import Camera
import sdformat as sdf
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyCapsule_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import copy

from gz.math import Vector3d, Capsuled
from gz.math7 import Vector3d, Capsuled

import math

Expand Down
2 changes: 1 addition & 1 deletion python/test/pyCollision_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Pose3d
from gz.math7 import Pose3d
from sdformat import (Box, Collision, Contact, Cylinder, Error, Geometry,
Plane, Surface, Sphere, SDFErrorsException)
import sdformat as sdf
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyCylinder_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import copy

from gz.math import Vector3d
from gz.math7 import Vector3d

import math

Expand Down
2 changes: 1 addition & 1 deletion python/test/pyEllipsoid_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Vector3d, Ellipsoidd
from gz.math7 import Vector3d, Ellipsoidd
import math
from sdformat import Ellipsoid
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyFrame_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Pose3d
from gz.math7 import Pose3d
from sdformat import Frame, Error, SDFErrorsException, ErrorCode
import unittest
import math
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyGeometry_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import copy
from sdformat import Geometry, Box, Capsule, Cylinder, Ellipsoid, Mesh, Plane, Sphere
from gz.math import Vector3d, Vector2d
from gz.math7 import Vector3d, Vector2d
import sdformat as sdf
import unittest

Expand Down
2 changes: 1 addition & 1 deletion python/test/pyHeightmap_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Vector3d
from gz.math7 import Vector3d
from sdformat import Heightmap, HeightmapBlend, HeightmapTexture
import unittest

Expand Down
2 changes: 1 addition & 1 deletion python/test/pyIMU_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Vector3d
from gz.math7 import Vector3d
from sdformat import IMU, Noise
import sdformat as sdf
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyJointAxis_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Pose3d, Vector3d
from gz.math7 import Pose3d, Vector3d
from sdformat import JointAxis, Error, SDFErrorsException
import math
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyJoint_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Pose3d, Vector3d
from gz.math7 import Pose3d, Vector3d
from sdformat import (Joint, JointAxis, Error, SemanticPose, Sensor,
SDFErrorsException)
import sdformat as sdf
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyLidar_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Angle, Pose3d, Vector3d, Helpers
from gz.math7 import Angle, Pose3d, Vector3d, Helpers
from sdformat import Lidar, Error, Noise
import math
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyLight_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Angle, Color, Pose3d, Vector3d
from gz.math7 import Angle, Color, Pose3d, Vector3d
from sdformat import Light, SDFErrorsException
import sdformat as sdf
import math
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyLink_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Pose3d, Inertiald, MassMatrix3d, Vector3d
from gz.math7 import Pose3d, Inertiald, MassMatrix3d, Vector3d
from sdformat import (Collision, Light, Link, Sensor, Visual,
SDFErrorsException)
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyMagnetometer_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Pose3d
from gz.math7 import Pose3d
from sdformat import Magnetometer, Noise
import sdformat as sdf
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyMaterial_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import copy
from sdformat import Material, Pbr, PbrWorkflow
from gz.math import Color
from gz.math7 import Color
import sdformat as sdf
import unittest

Expand Down
2 changes: 1 addition & 1 deletion python/test/pyMesh_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import copy
from sdformat import Mesh
from gz.math import Vector3d
from gz.math7 import Vector3d
import unittest


Expand Down
2 changes: 1 addition & 1 deletion python/test/pyModel_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Pose3d, Vector3d
from gz.math7 import Pose3d, Vector3d
from sdformat import (Plugin, Model, Joint, Link, Error, Frame, SemanticPose,
SDFErrorsException)
import sdformat as sdf
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyParticleEmitter_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Color, Pose3d, Vector3d, Helpers
from gz.math7 import Color, Pose3d, Vector3d, Helpers
from sdformat import ParticleEmitter
import unittest

Expand Down
2 changes: 1 addition & 1 deletion python/test/pyPlane_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import copy
from sdformat import Plane
from gz.math import Vector3d, Vector2d, Planed
from gz.math7 import Vector3d, Vector2d, Planed
import unittest


Expand Down
2 changes: 1 addition & 1 deletion python/test/pyPolyline_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import copy
from sdformat import Polyline
from gz.math import Vector2d
from gz.math7 import Vector2d
import unittest


Expand Down
2 changes: 1 addition & 1 deletion python/test/pyRoot_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Vector3d, Pose3d
from gz.math7 import Vector3d, Pose3d
from sdformat import (Error, Model, Light, Root, SDF_VERSION,
SDFErrorsException, SDF_PROTOCOL_VERSION, World)
import sdformat as sdf
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyScene_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Color
from gz.math7 import Color
from sdformat import Scene, Sky
import unittest

Expand Down
2 changes: 1 addition & 1 deletion python/test/pySemanticPose_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Pose3d
from gz.math7 import Pose3d
from sdformat import Link, SemanticPose
import unittest

Expand Down
2 changes: 1 addition & 1 deletion python/test/pySensor_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Pose3d
from gz.math7 import Pose3d
from sdformat import (AirPressure, Altimeter, Camera, IMU, ForceTorque, Lidar,
Magnetometer, NavSat, Noise, Plugin, SemanticPose,
Sensor, SDFErrorsException)
Expand Down
2 changes: 1 addition & 1 deletion python/test/pySky_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Angle, Color
from gz.math7 import Angle, Color
from sdformat import Sky
import unittest

Expand Down
2 changes: 1 addition & 1 deletion python/test/pySphere_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Sphered
from gz.math7 import Sphered
import math
from sdformat import Sphere
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pySurface_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Vector3d
from gz.math7 import Vector3d
from sdformat import Surface, Contact, Friction, ODE
import unittest

Expand Down
2 changes: 1 addition & 1 deletion python/test/pyVisual_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Pose3d, Color
from gz.math7 import Pose3d, Color
from sdformat import Geometry, Material, Visual, Plugin, SDFErrorsException
import sdformat as sdf
import unittest
Expand Down
2 changes: 1 addition & 1 deletion python/test/pyWorld_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

import copy
from gz.math import Color, Pose3d, Vector3d, SphericalCoordinates
from gz.math7 import Color, Pose3d, Vector3d, SphericalCoordinates
from sdformat import Atmosphere, Gui, Physics, Plugin, Error, Frame, Light, Model, Scene, World
import sdformat as sdf
import unittest
Expand Down