From 65a7c249fb1d0c1a4b09880759b8a41ae9dae9b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Mon, 27 Sep 2021 19:31:38 +0200 Subject: [PATCH 1/6] Readme Folder Structure (#253) Signed-off-by: ahcorde --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b393a03f0..613afd075 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,8 @@ ign-math ├── include/ignition/math Header files. ├── src Source files and unit tests. │   └── graph Source files for the graph classes. +│   └── python SWIG Python interfaces. +│   └── ruby SWIG Ruby interfaces. ├── eigen3 Files for Eigen component. ├── test │ ├── integration Integration tests. From ac567b5fa6487c835a83e2fecb3ed765b7fa33d1 Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Wed, 29 Sep 2021 14:19:46 -0700 Subject: [PATCH 2/6] =?UTF-8?q?=F0=9F=8E=88=206.9.0=20(#254)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Louise Poubel --- CMakeLists.txt | 2 +- Changelog.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d938b1dba..4e5012744 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ find_package(ignition-cmake2 2.8.0 REQUIRED) # Configure the project #============================================================================ set (c++standard 17) -ign_configure_project(VERSION_SUFFIX pre1) +ign_configure_project(VERSION_SUFFIX) #============================================================================ # Set project-specific options diff --git a/Changelog.md b/Changelog.md index 77386e3b9..3bdbd14ea 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,7 +2,7 @@ ## Ignition Math 6.x.x -## Ignition Math 6.9.0 (2021-09-XX) +## Ignition Math 6.9.0 (2021-09-28) 1. Volume below a plane for spheres and boxes * [Pull request #219](https://github.com/ignitionrobotics/ign-math/pull/219) @@ -64,6 +64,8 @@ * [Pull request #209](https://github.com/ignitionrobotics/ign-math/pull/209) * [Pull request #227](https://github.com/ignitionrobotics/ign-math/pull/227) * [Pull request #225](https://github.com/ignitionrobotics/ign-math/pull/225) + * [Pull request #252](https://github.com/ignitionrobotics/ign-math/pull/252) + * [Pull request #253](https://github.com/ignitionrobotics/ign-math/pull/253) ## Ignition Math 6.8.0 (2021-03-30) From 211f43dd5d0073d580ff1987c13c19d538302571 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Thu, 30 Sep 2021 10:55:51 -0700 Subject: [PATCH 3/6] Avoid assertAlmostEqual for python strings (#255) Signed-off-by: Steve Peters --- src/python/Color_TEST.py | 2 +- src/python/Pose3_TEST.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/Color_TEST.py b/src/python/Color_TEST.py index 6a433b846..c12b0ef19 100644 --- a/src/python/Color_TEST.py +++ b/src/python/Color_TEST.py @@ -296,7 +296,7 @@ def test_const_set(self): def test_stream_out(self): c = Color(0.1, 0.2, 0.3, 0.5) - self.assertAlmostEqual(str(c), "0.1 0.2 0.3 0.5") + self.assertEqual(str(c), "0.1 0.2 0.3 0.5") def test_HSV(self): clr = Color() diff --git a/src/python/Pose3_TEST.py b/src/python/Pose3_TEST.py index 7a8451b69..fe9bedbf3 100644 --- a/src/python/Pose3_TEST.py +++ b/src/python/Pose3_TEST.py @@ -142,7 +142,7 @@ def test_pose_atributes(self): def test_stream_out(self): p = Pose3d(0.1, 1.2, 2.3, 0.0, 0.1, 1.0) - self.assertAlmostEqual(str(p), "0.1 1.2 2.3 0 0.1 1") + self.assertEqual(str(p), "0.1 1.2 2.3 0 0.1 1") def test_mutable_pose(self): pose = Pose3d(0, 1, 2, 0, 0, 0) From 625366247c98cf5781d81c8dc62a8121a357f16f Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Thu, 30 Sep 2021 13:25:02 -0700 Subject: [PATCH 4/6] Prepare for 6.9.1~pre1 (#256) Signed-off-by: Steve Peters --- CMakeLists.txt | 4 ++-- Changelog.md | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e5012744..3bf0310fd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR) #============================================================================ # Initialize the project #============================================================================ -project(ignition-math6 VERSION 6.9.0) +project(ignition-math6 VERSION 6.9.1) #============================================================================ # Find ignition-cmake @@ -15,7 +15,7 @@ find_package(ignition-cmake2 2.8.0 REQUIRED) # Configure the project #============================================================================ set (c++standard 17) -ign_configure_project(VERSION_SUFFIX) +ign_configure_project(VERSION_SUFFIX pre1) #============================================================================ # Set project-specific options diff --git a/Changelog.md b/Changelog.md index 3bdbd14ea..b12e5d8f9 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,11 @@ ## Ignition Math 6.x.x +## Ignition Math 6.9.1 (2021-09-30) + +1. Avoid assertAlmostEqual for python strings + * [Pull request #255](https://github.com/ignitionrobotics/ign-math/pull/255) + ## Ignition Math 6.9.0 (2021-09-28) 1. Volume below a plane for spheres and boxes From a721b6d54875e8248b68554d8612a1614340dbbb Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Thu, 30 Sep 2021 16:04:18 -0700 Subject: [PATCH 5/6] Pose3_TEST.py: use 0.01 (not 0) in string test (#257) * Pose3_TEST.py: use 0.01 (not 0) in string test Fixes #250. Signed-off-by: Steve Peters --- CMakeLists.txt | 2 +- Changelog.md | 3 +++ src/python/Pose3_TEST.py | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3bf0310fd..311f6f83a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ find_package(ignition-cmake2 2.8.0 REQUIRED) # Configure the project #============================================================================ set (c++standard 17) -ign_configure_project(VERSION_SUFFIX pre1) +ign_configure_project(VERSION_SUFFIX pre2) #============================================================================ # Set project-specific options diff --git a/Changelog.md b/Changelog.md index b12e5d8f9..4e9fe85ba 100644 --- a/Changelog.md +++ b/Changelog.md @@ -7,6 +7,9 @@ 1. Avoid assertAlmostEqual for python strings * [Pull request #255](https://github.com/ignitionrobotics/ign-math/pull/255) +1. Pose3_TEST.py: use 0.01 (not 0) in string test + * [Pull request #257](https://github.com/ignitionrobotics/ign-math/pull/257) + ## Ignition Math 6.9.0 (2021-09-28) 1. Volume below a plane for spheres and boxes diff --git a/src/python/Pose3_TEST.py b/src/python/Pose3_TEST.py index fe9bedbf3..7b1c8b508 100644 --- a/src/python/Pose3_TEST.py +++ b/src/python/Pose3_TEST.py @@ -141,8 +141,8 @@ def test_pose_atributes(self): self.assertTrue(pose.rot() == Quaterniond(1, 0, 0)) def test_stream_out(self): - p = Pose3d(0.1, 1.2, 2.3, 0.0, 0.1, 1.0) - self.assertEqual(str(p), "0.1 1.2 2.3 0 0.1 1") + p = Pose3d(0.1, 1.2, 2.3, 0.01, 0.1, 1.0) + self.assertEqual(str(p), "0.1 1.2 2.3 0.01 0.1 1") def test_mutable_pose(self): pose = Pose3d(0, 1, 2, 0, 0, 0) From 4c1259a2b6d6ff6c6fb8978bcc70627e049e686c Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Thu, 30 Sep 2021 16:43:28 -0700 Subject: [PATCH 6/6] Prepare for 6.9.1 (#258) Signed-off-by: Steve Peters --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 311f6f83a..da50de7b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ find_package(ignition-cmake2 2.8.0 REQUIRED) # Configure the project #============================================================================ set (c++standard 17) -ign_configure_project(VERSION_SUFFIX pre2) +ign_configure_project(VERSION_SUFFIX) #============================================================================ # Set project-specific options