Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Nov 16, 2025

🦟 Bug fix

Summary

This pull requests solves the issue in gz-physics but since it requires changes in this repo instead of gz-physics I am opening this pr here.
With this gazebo now supports changing gravity at runtime by running
'gz service -s /world/world_demo/set_physics --reqtype gz.msgs.Physics --reptype gz.msgs.Boolean --timeout 2000 --req 'gravity { x: 0 y: 0 z: -2.8 }'

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
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits. (See this policy for more info.)

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

Signed-off-by: Shivang [email protected]


This is an automatic backport of pull request #3189 done by [Mergify](https://mergify.com).

This pull requests solves the [issue](gazebosim/gz-physics#766) in gz-physics but since it requires changes in this repo instead of gz-physics I am opening this pr here.
With this gazebo now supports changing gravity at runtime by running
'gz service -s /world/world_demo/set_physics   --reqtype gz.msgs.Physics   --reptype gz.msgs.Boolean   --timeout 2000   --req 'gravity { x: 0 y: 0 z: -2.8 }'
---------

Signed-off-by: Shivang <[email protected]>
Signed-off-by: Arjo Chakravarty <[email protected]>
Co-authored-by: Arjo Chakravarty <[email protected]>
(cherry picked from commit d2780bb)

# Conflicts:
#	src/SimulationRunner.cc
#	src/systems/physics/Physics.cc
#	test/integration/user_commands.cc
@mergify mergify bot added the conflicts label Nov 16, 2025
@mergify mergify bot requested review from arjo129 and azeey as code owners November 16, 2025 01:22
@mergify
Copy link
Contributor Author

mergify bot commented Nov 16, 2025

Cherry-pick of d2780bb has failed:

On branch mergify/bp/ign-gazebo6/pr-3189
Your branch is up to date with 'origin/ign-gazebo6'.

You are currently cherry-picking commit d2780bb0.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   src/SimulationRunner.cc
	both modified:   src/systems/physics/Physics.cc
	both modified:   test/integration/user_commands.cc

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify bot added the conflicts label Nov 16, 2025
@mergify mergify bot mentioned this pull request Nov 16, 2025
9 tasks
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants