Skip to content

Conversation

@scpeters
Copy link
Member

➡️ Forward port

Port gz-sim9 ➡️ main

Branch comparison: main...gz-sim9

Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

mergify bot and others added 30 commits November 19, 2024 11:56
…ary. (#2596) (#2682)

* A hack to greatly improve load times

I was investigating
gazebosim/gazebo_test_cases#1576 , in my
investigation it came to my notice that `sdf::Element` takes forever to
destroy (We should open a ticket somewhere about this). If we are
skipping serialization we might as well not create and destroy an
SDF Element. This hack greatly speeds up the load time for gazebo.

Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Co-authored-by: Ian Chen <ichen@openrobotics.org>
(cherry picked from commit 1a88131)
Signed-off-by: Ian Chen <ichen@openrobotics.org>
This adds SensorByName, Sensors, and SensorCount accessors
to the Link class with associated python bindings.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Maksim Derbasov <ntfs.hard@gmail.com>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Tatsuro Sakaguchi <tatsuro.sakaguchi@g.softbank.co.jp>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Maksim Derbasov <ntfs.hard@gmail.com>
Signed-off-by: Martin Pecka <peci1@seznam.cz>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Maksim Derbasov <ntfs.hard@gmail.com>
Signed-off-by: Maksim Derbasov <ntfs.hard@gmail.com>
Signed-off-by: Josh Newans <josh.newans@gmail.com>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
* Update install link

Signed-off-by: Emmanuel <EmmanuelMess@users.noreply.github.com>

* Re add link to use libgz-sim as library

Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Emmanuel <EmmanuelMess@users.noreply.github.com>

---------

Signed-off-by: Emmanuel <EmmanuelMess@users.noreply.github.com>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Utkarsh <Utkarsh.Yenurkar@Sony.com>
Signed-off-by: Utkarsh Yenurkar <80967869+BA-Utkarsh@users.noreply.github.com>
Co-authored-by: Ian Chen <ichen@openrobotics.org>
…#2742)

- Reduces serialization warnings on `sdf::Model` so it only occurs when
  the `relative_to` attribute is set. This was the intended behavior
  originally, but there was a bug in the code.
- Eliminate `sdf::World` warnings by specializing the `DefaultSerializer` for `sdf::World`.

---------

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Erling Rennemo Jellum
Signed-off-by: erlingrj <erling.jellum@gmail.com>
Signed-off-by: erling <erling.jellum@gmail.com>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Co-authored-by: Ian Chen <ichen@openrobotics.org>
* For VisualizeLidarPrivate reorder members to avoid padding between it. Enabling -Wpadded for a whole project is not possible right now, due to warnings in some high-level headers
* VisualizeLidarPrivate class actually do not need a msgs::LaserScan msg member. Everything, including copying points, are happening in callback
* Avoiding redundant copying with const references
* Typos and alignment fix
* Minor C++ fixes, like removed redundant default arguments or used better api

---------

Signed-off-by: Maksim Derbasov <ntfs.hard@gmail.com>
Introduces a component to request and receive ray intersections computed by the physics engine. This is currently only supported when using the DART physics engine with the collision detector set to `bullet`.
---------

Signed-off-by: Rômulo Cerqueira <romulogcerqueira@gmail.com>
Co-authored-by: Rômulo Cerqueira <rcerqueira@krakenrobotics.com>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Carlos Agüero <caguero@openrobotics.org>
Create a wind plugin : windEffectPub to publish the wind information from gazebo to
```
    gz topic : /world/$myworld$/wind_info
    ros2 topic : /data/wind_true
```

Signed-off-by: TigerWuu <tiger871108@gmail.com>
* Added gz model executable and updated ruby script
* Configuration file creation for model command

---------

Signed-off-by: Saurabh Kamat <kamatsaurabh01@gmail.com>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Co-authored-by: Jose Luis Rivero <jrivero@osrfoundation.org>
New system plugin to gz-sim called DriveToPoseController:

This controller receives a target pose in the Gazebo coordinate system on /cmd_pose topic and calculates and publishes a command velocity on /cmd_vel topic to move the robot towards the target. 
---------

Signed-off-by: Saurabh Kamat <kamatsaurabh01@gmail.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
* Copy the code to the new function - won't compile

* Fix the build

* Replace static default world with sdf default world

* Added string and utility headers

* test moving header file

Signed-off-by: Nate Koenig <natekoenig@gmail.com>

* Move header file back

Signed-off-by: Nate Koenig <natekoenig@gmail.com>

* Move meshinertiacalculator header

Signed-off-by: Nate Koenig <natekoenig@gmail.com>

* Testing remove of literals

Signed-off-by: Nate Koenig <natekoenig@gmail.com>

* Undo tests, and just move the MeshInertiaCalculator.hh to top of file

Signed-off-by: Nate Koenig <natekoenig@gmail.com>

---------

Signed-off-by: Nate Koenig <natekoenig@gmail.com>
Port Server changes from gz-sim8 to gz-sim9 (#2638 and #2754)
Signed-off-by: Dyst-0 <69257845+Dyst-0@users.noreply.github.com>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Co-authored-by: Ian Chen <ichen@openrobotics.org>
AmalDevHaridevan and others added 9 commits February 22, 2025 03:10
…2618)

---------

Signed-off-by: sdcnlab <haridevanamaldev@gmail.com>
Signed-off-by: Amal Dev Haridevan <haridevanamaldev@gmail.com>
Signed-off-by: AmaldevHaridevan <160554626+AmalDevHaridevan@users.noreply.github.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Maksim Derbasov <ntfs.hard@gmail.com>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
Signed-off-by: Ian Chen <ichen@openrobotics.org>
…2777)

Retain already initialized world component values when
enabling velocity checks and adjust expectations
accordingly in mesh_inertia_calulation integration tests.

Signed-off-by: Gabriel Pacheco <gabriel.fpacheco@gmail.com>
Co-authored-by: Gabriel Pacheco <gpacheco@krakenrobotics.com>
…2776)

* Attempts to print a stacktrace on segfault in our integration tests

Our integration tests often segfault in CI leaving us clueless as to
whats happening. This commit is an attempt to vendor backward-cpp and
at the same time allows us to get a stacktrace of our code. The current
status of this PR is draft.

Other options considered:

We vendor backward-cpp in `gz-launch` and in `gz-utils`. Sadly the
ubuntu package is not very useful as no cmake targets are provided. I
could try to vendor it in gz-cmake or write a besopoke `FindBackward`
package. However, our goal is to use it in tests. This is a very
specific use case and I feel maybe the simplest option is to vendor it
here and link it against the tests. That way we do not introduce more
dependencies via 3rd party package managers and the user has no need to
have anything else installed.

---------

Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai>
Co-authored-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Co-authored-by: Carlos Agüero <caguero@openrobotics.org>
Co-authored-by: Jose Luis Rivero <jrivero@openrobotics.com>
… rate (#2817)

Signed-off-by: Ian Chen <ichen@openrobotics.org>
- uses: actions/checkout@v4
with:
repository: gazebosim/gz-sim
ref: gz-sim9
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be main?

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch: 0751925

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
iche033
iche033 previously approved these changes Mar 17, 2025
@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Mar 17, 2025
@iche033 iche033 dismissed their stale review March 17, 2025 20:57

more reviews

@iche033
Copy link
Contributor

iche033 commented Mar 17, 2025

not exactly sure why the docker nightly build is failing. It's still trying to fetch packages from focal. Maybe the base image needs to be rebuilt

@scpeters
Copy link
Member Author

not exactly sure why the docker nightly build is failing. It's still trying to fetch packages from focal. Maybe the base image needs to be rebuilt

I've opened #2827 against gz-sim9 which I think will help with the nightly workflow issue

Currently the nightly workflow is triggered for any
branch that receives a push, but we just want it
to run on the base branch.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters merged commit f67671c into main Mar 18, 2025
9 checks passed
@scpeters scpeters deleted the scpeters/merge_9_main branch March 18, 2025 15:58
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪵 jetty Gazebo Jetty

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.