Skip to content

Commit

Permalink
Bumps in harmonic : ci_matching_branch/bump_harmonic_gz-physics7 (#526)
Browse files Browse the repository at this point in the history
* Bumps in harmonic : ci_matching_branch/bump_harmonic_gz-physics7
* Remove focal
* Fix deprecation warning

---------

Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored Aug 7, 2023
1 parent 93784a1 commit 605041e
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 40 deletions.
8 changes: 0 additions & 8 deletions .github/ci-focal/before_cmake.sh

This file was deleted.

6 changes: 0 additions & 6 deletions .github/ci/packages-focal.apt

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ci/packages.apt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ libgz-math7-eigen3-dev
libgz-plugin2-dev
libgz-utils2-cli-dev
libgz-utils2-dev
libsdformat13-dev
libsdformat14-dev
15 changes: 3 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,16 @@ name: Ubuntu CI
on: [push, pull_request]

jobs:
focal-ci:
jammy-ci:
runs-on: ubuntu-latest
name: Ubuntu Focal CI
name: Ubuntu Jammy CI
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Compile and test
id: ci
uses: gazebo-tooling/action-gz-ci@focal
uses: gazebo-tooling/action-gz-ci@jammy
with:
codecov-enabled: true
cppcheck-enabled: true
cpplint-enabled: true
jammy-ci:
runs-on: ubuntu-latest
name: Ubuntu Jammy CI
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Compile and test
id: ci
uses: gazebo-tooling/action-gz-ci@jammy
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ gz_find_package(EIGEN3 REQUIRED)

#--------------------------------------
# Find SDFormat for the SDF features
gz_find_package(sdformat13
gz_find_package(sdformat14
REQUIRED_BY sdf dartsim tpe bullet)

#--------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

Build | Status
-- | --
Test coverage | [![codecov](https://codecov.io/gh/gazebosim/gz-physics/branch/gz-physics6/graph/badge.svg)](https://codecov.io/gh/gazebosim/gz-physics/branch/gz-physics6)
Ubuntu Focal | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_physics-ci-gz-physics6-focal-amd64)](https://build.osrfoundation.org/job/ignition_physics-ci-gz-physics6-focal-amd64)
Homebrew | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_physics-ci-gz-physics6-homebrew-amd64)](https://build.osrfoundation.org/job/ignition_physics-ci-gz-physics6-homebrew-amd64)
Test coverage | [![codecov](https://codecov.io/gh/gazebosim/gz-physics/branch/gz-physics7/graph/badge.svg)](https://codecov.io/gh/gazebosim/gz-physics/branch/gz-physics7)
Ubuntu Focal | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_physics-ci-gz-physics7-focal-amd64)](https://build.osrfoundation.org/job/ignition_physics-ci-gz-physics7-focal-amd64)
Homebrew | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ignition_physics-ci-gz-physics7-homebrew-amd64)](https://build.osrfoundation.org/job/ignition_physics-ci-gz-physics7-homebrew-amd64)
Windows | [![Build Status](https://build.osrfoundation.org/buildStatus/icon?job=ign_physics-gz-6-win)](https://build.osrfoundation.org/job/ign_physics-gz-6-win)

Gazebo Physics, a component of [Gazebo](https://gazebosim.org), provides an abstract physics interface
Expand Down
2 changes: 1 addition & 1 deletion test/common_test/free_joint_features.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ ModelPtr GetModelFromAbsoluteName(const WorldPtr &_world,
const std::string &_absoluteName)
{
std::vector<std::string> names =
gz::common::split(_absoluteName, sdf::kSdfScopeDelimiter);
gz::common::split(_absoluteName, std::string(sdf::kScopeDelimiter));
if (names.empty())
{
return nullptr;
Expand Down
16 changes: 8 additions & 8 deletions tutorials/06-physics-simulation-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ For a comprehensive tutorial for constructing your robot model from SDFormat, re
In this tutorial, we will show how to
manipulate and visualize some physics aspects using demos on Gazebo.

All demos can be found in [gz-sim/examples/worlds](https://github.com/gazebosim/gz-sim/blob/gz-sim7/examples/worlds/) folder.
All demos can be found in [gz-sim/examples/worlds](https://github.com/gazebosim/gz-sim/blob/gz-sim8/examples/worlds/) folder.

### Differential drive

Expand All @@ -35,8 +35,8 @@ cars depending on physics engines and visualize the collision concept.
To run the demo world, download the SDFormat file by:

```bash
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-physics6/examples/worlds/diff_drive.sdf -P ~
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-physics6/examples/worlds/velocity_control.sdf -P ~
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-physics7/examples/worlds/diff_drive.sdf -P ~
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-physics7/examples/worlds/velocity_control.sdf -P ~
```

Then run the simulation:
Expand Down Expand Up @@ -100,7 +100,7 @@ The Lift Drag demo world shows how joint force, torque, and pressure are support
Gazebo Physics. To run the demo, download by:

```bash
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-sim7/examples/worlds/lift_drag.sdf -P ~
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-sim8/examples/worlds/lift_drag.sdf -P ~
```

Run demo in Gazebo by:
Expand Down Expand Up @@ -142,7 +142,7 @@ contains the following three models:
To run the demo, download the Buoyancy demo to your home folder by:

```bash
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-sim7/examples/worlds/buoyancy.sdf -P ~
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-sim8/examples/worlds/buoyancy.sdf -P ~
```

Run demo on Gazebo by:
Expand All @@ -167,7 +167,7 @@ movement by showing free swing of the pendulum. Download the
Pendulum demo to your home folder by:

```bash
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-sim7/examples/worlds/video_record_dbl_pendulum.sdf -P ~
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-sim8/examples/worlds/video_record_dbl_pendulum.sdf -P ~
```

and start the Pendulum demo on Gazebo by:
Expand Down Expand Up @@ -195,7 +195,7 @@ inertia to control object velocity.
Download the Multicopter demo to your home folder by:

```bash
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-sim7/examples/worlds/multicopter_velocity_control.sdf -P ~
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-sim8/examples/worlds/multicopter_velocity_control.sdf -P ~
```

and start the Multicopter demo on Gazebo by:
Expand Down Expand Up @@ -224,4 +224,4 @@ Do the same for the `X4` multicopter. After pressing the Play button, you will s
both of the multicopters will ascend, this demonstrates how the physics engine
utilizes model kinematics and dynamics to support simulating complex model and
its controller. For more details about the multicopter controller, please see
[MulticopterVelocityControl.cc](https://github.com/gazebosim/gz-sim/blob/gz-sim7/src/systems/multicopter_control/MulticopterVelocityControl.cc).
[MulticopterVelocityControl.cc](https://github.com/gazebosim/gz-sim/blob/gz-sim8/src/systems/multicopter_control/MulticopterVelocityControl.cc).

0 comments on commit 605041e

Please sign in to comment.