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

Merge 8 -> main #634

Merged
merged 11 commits into from
Oct 7, 2024
17 changes: 12 additions & 5 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
## Gazebo Math 8.x

### Gazebo Math 8.0.0 (2024-09-XX)
### Gazebo Math 8.0.0 (2024-09-25)

1. Miscellaneous documentation fixes
* [Pull request #632](https://github.com/gazebosim/gz-math/pull/632)
* [Pull request #631](https://github.com/gazebosim/gz-math/pull/631)
* [Pull request #630](https://github.com/gazebosim/gz-math/pull/630)
* [Pull request #628](https://github.com/gazebosim/gz-math/pull/628)

1. Fix Vector examples
* [Pull request #629](https://github.com/gazebosim/gz-math/pull/629)

1. Added CoordinateVector3 and used it in SphericalCoordinates
* [Pull request #616](https://github.com/gazebosim/gz-math/pull/616)

1. Clamping color channel values to within [0, 1]
* [Pull request #613](https://github.com/gazebosim/gz-math/pull/613)

1. Implement rule of zero part 2
* [Pull request #614](https://github.com/gazebosim/gz-math/pull/614)

1. Use ImplPtr, fix rule of 0 part 1
1. Use ImplPtr, Implement rule of zero
* [Pull request #608](https://github.com/gazebosim/gz-math/pull/608)
* [Pull request #614](https://github.com/gazebosim/gz-math/pull/614)

1. Fix flaky Stopwatch test
* [Pull request #610](https://github.com/gazebosim/gz-math/pull/610)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Build | Status
-- | --
Test coverage | [![codecov](https://codecov.io/gh/gazebosim/gz-math/branch/main/graph/badge.svg)](https://codecov.io/gh/gazebosim/gz-math/branch/main)
Test coverage | [![codecov](https://codecov.io/gh/gazebosim/gz-math/branch/main/graph/badge.svg)](https://codecov.io/gh/gazebosim/gz-math/tree/main)
Ubuntu Noble | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=gz_math-ci-main-noble-amd64)](https://build.osrfoundation.org/job/gz_math-ci-main-noble-amd64)
Homebrew | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=gz_math-ci-main-homebrew-amd64)](https://build.osrfoundation.org/job/gz_math-ci-main-homebrew-amd64)
Windows | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=gz_math-main-win)](https://build.osrfoundation.org/job/gz_math-main-win)
Expand All @@ -27,9 +27,9 @@ classes and functions designed for robotic applications.

[Folder Structure](#folder-structure)

[Code of Conduct](#code-of-conduct)
[Contributing](#contributing)

[Contributing](#code-of-contributing)
[Code of Conduct](#code-of-conduct)

[Versioning](#versioning)

Expand All @@ -47,7 +47,7 @@ Math types.

# Install

See the [installation tutorial](https://gazebosim.org/api/math/7/install.html).
See the [installation tutorial](https://gazebosim.org/api/math/8/install.html).

# Usage

Expand Down
1 change: 0 additions & 1 deletion eigen3/include/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
add_subdirectory(gz)
install(DIRECTORY ignition DESTINATION ${GZ_INCLUDE_INSTALL_DIR_FULL})
19 changes: 0 additions & 19 deletions eigen3/include/ignition/math/eigen3.hh

This file was deleted.

19 changes: 0 additions & 19 deletions eigen3/include/ignition/math/eigen3/Conversions.hh

This file was deleted.

19 changes: 0 additions & 19 deletions eigen3/include/ignition/math/eigen3/Util.hh

This file was deleted.

2 changes: 1 addition & 1 deletion examples/vector3_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import gz.math8

v1 = gz.math8.Vector3d(0, 0, 3)
print("v =: {} {} {}\n".format(v1.x(), v1.y(), v1.z()))
print("v1 = {} {} {}\n".format(v1.x(), v1.y(), v1.z()))

v2 = gz.math8.Vector3d(4, 0, 0)
print("v2 = {} {} {}\n".format(v2.x(), v2.y(), v2.z()))
Expand Down
2 changes: 1 addition & 1 deletion examples/vector3_example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
require 'gz/math'

v1 = Gz::Math::Vector3d.new(0, 0, 0)
printf("v =: %f %f %f\n", v1.X(), v1.Y(), v1.Z())
printf("v1 = %f %f %f\n", v1.X(), v1.Y(), v1.Z())

v2 = Gz::Math::Vector3d.new(1, 0, 0)
printf("v2 = %f %f %f\n", v2.X(), v2.Y(), v2.Z())
Expand Down
122 changes: 0 additions & 122 deletions tutorials/angle.md

This file was deleted.

2 changes: 1 addition & 1 deletion tutorials/color.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ You can also set or read a color in HSV.

\snippet examples/color_example.cc Set value from HSV

There are more functions in `Color`. Take a look at the [API](https://gazebosim.org/api/math/7/classgz_1_1math_1_1Color.html)
There are more functions in `Color`. Take a look at the [API](https://gazebosim.org/api/math/8/classgz_1_1math_1_1Color.html)
7 changes: 7 additions & 0 deletions tutorials/example_angle.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,20 @@ cd gz-math/examples
mkdir build
cd build
cmake ..
# Linux and macOS
make
# Windows
cd ..
cmake --build build --config Release
```

When the code is compiled, run:

```{.sh}
# Linux and macOS
./angle_example
# Windows
.\build\Release\angle_example.exe
```

The ouput of the program:
Expand Down
9 changes: 8 additions & 1 deletion tutorials/example_triangle.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ cd gz-math/examples
mkdir build
cd build
cmake ..
# Linux and macOS
make
# Windows
cd ..
cmake --build build --config Release
```

When the code is compiled, run:

```{.sh}
# Linux and macOS
./triangle_example
# Windows
.\build\Release\triangle_example.exe
```

The ouput of the program:
Expand Down Expand Up @@ -69,4 +76,4 @@ The `Intersects` function checks if a line segment intersects the triangle. It a

\snippet examples/triangle_example.cc intersect

There are more functions in `Triangle`. Take a look at the [API](https://gazebosim.org/api/math/7/)
There are more functions in `Triangle`. Take a look at the [API](https://gazebosim.org/api/math/8/)
Loading
Loading