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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed Ignition and ign to Gazebo or gz #81

Merged
merged 3 commits into from
Oct 27, 2022
Merged

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Sep 21, 2022

Signed-off-by: ahcorde ahcorde@gmail.com

馃 Bug fix

Summary

Related with

Renamed Ignition and ign to Gazebo or gz.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: ahcorde <ahcorde@gmail.com>
install/tutorial_6-x.md Outdated Show resolved Hide resolved
@@ -154,7 +154,7 @@ std::cout << "Joint " << jointName << " connects " << parentLinkName

```

As you might guess, we're getting the `name` attribute of the current `joint_element` and then retrieving its `parent` and `child` elements' values. It is interesting to note all `Get()` method's use cases: `Get()` is a template method that returns the given attribute value or the element value itself (that is, the plain text in between tags) if called with no arguments. To this end, it has been specialized to parse such value accordingly into primitive types (i.e. `double`), common std types (i.e. `std::string`) or [`ignition::math`](http://ignitionrobotics.org/libraries/math) types for the most complex ones (like poses).
As you might guess, we're getting the `name` attribute of the current `joint_element` and then retrieving its `parent` and `child` elements' values. It is interesting to note all `Get()` method's use cases: `Get()` is a template method that returns the given attribute value or the element value itself (that is, the plain text in between tags) if called with no arguments. To this end, it has been specialized to parse such value accordingly into primitive types (i.e. `double`), common std types (i.e. `std::string`) or [`gazebo::math`](http://gazebosim.org/libraries/math) types for the most complex ones (like poses).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is for an earlier version of libsdformat, having ignition::math might make more sense.

@@ -0,0 +1,68 @@

from gz.math7 import Vector3d
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this file added intentionally? It doesn't seem relevant to the PR


You can view lists of dependencies:

conda search libsdformat --channel conda-forge --info

Install dependencies, replacing `<#>` with the desired versions:

conda install libignition-math<#> libignition-tools<#> --channel conda-forge
conda install libgz-math<#> libgz-tools<#> --channel conda-forge
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is currently no libgz-math<#> package on conda.


You can view lists of dependencies:

conda search libsdformat --channel conda-forge --info

Install dependencies, replacing `<#>` with the desired versions:

conda install libignition-math<#> libignition-tools<#> --channel conda-forge
conda install libgz-math<#> libgz-tools<#> --channel conda-forge
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no libgz-math<#> package on conda.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Core development automation moved this from Inbox to In review Sep 21, 2022
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde requested a review from azeey September 22, 2022 07:11
@ahcorde
Copy link
Contributor Author

ahcorde commented Oct 10, 2022

friendly ping @azeey @scpeters

1 similar comment
@ahcorde
Copy link
Contributor Author

ahcorde commented Oct 26, 2022

friendly ping @azeey @scpeters

install/tutorial_6-x.md Outdated Show resolved Hide resolved
install/tutorial_9_later.md Outdated Show resolved Hide resolved
specify_pose/tutorial.md Outdated Show resolved Hide resolved
install/tutorial_12.md Outdated Show resolved Hide resolved
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde requested a review from azeey October 27, 2022 13:12
@ahcorde ahcorde merged commit 7c709f1 into master Oct 27, 2022
Core development automation moved this from In review to Done Oct 27, 2022
@ahcorde ahcorde deleted the ahcorde/rename/ign_2_gz branch October 27, 2022 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants