Skip to content

Commit f50efcd

Browse files
committed
bump main to 9.0.0~pre1
Signed-off-by: Ian Chen <ichen@openrobotics.org>
1 parent 9f5250c commit f50efcd

10 files changed

+25
-21
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.22.1 FATAL_ERROR)
33
#============================================================================
44
# Initialize the project
55
#============================================================================
6-
project(gz-physics8 VERSION 8.0.0)
6+
project(gz-physics9 VERSION 9.0.0)
77

88
#============================================================================
99
# Find gz-cmake
@@ -16,7 +16,7 @@ find_package(gz-cmake4 REQUIRED)
1616
set(CMAKE_CXX_STANDARD 17)
1717
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1818

19-
gz_configure_project(VERSION_SUFFIX)
19+
gz_configure_project(VERSION_SUFFIX pre1)
2020

2121
#============================================================================
2222
# Set project-specific options

Changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Gazebo Physics 9.x
2+
3+
### Gazebo Physics 9.0.0 (20XX-XX-XX)
4+
15
## Gazebo Physics 8.x
26

37
### Gazebo Physics 8.0.0 (2024-09-25)

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ See the [installation tutorial](https://gazebosim.org/api/physics/8/installation
7373

7474
# Usage
7575

76-
Please refer to the [examples directory](https://github.com/gazebosim/gz-physics/raw/gz-physics8/examples/).
76+
Please refer to the [examples directory](https://github.com/gazebosim/gz-physics/raw/main/examples/).
7777

7878
# Documentation
7979

@@ -90,13 +90,13 @@ On Ubuntu, you can also generate the documentation from a clone of this reposito
9090
2. Install dependencies
9191
```
9292
sudo apt-add-repository -s "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -c -s) main"
93-
sudo apt-get build-dep -y libgz-physics8-dev
93+
sudo apt-get build-dep -y libgz-physics9-dev
9494
```
9595
9696
3. Clone the repository
9797
9898
```
99-
git clone https://github.com/gazebosim/gz-physics -b gz-physics8
99+
git clone https://github.com/gazebosim/gz-physics -b main
100100
```
101101
102102
4. Configure and build the documentation.

examples/hello_world_loader/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ project(gz-physics-hello-world-loader)
55
find_package(gz-plugin3 REQUIRED COMPONENTS all)
66
set(GZ_PLUGIN_VER ${gz-plugin3_VERSION_MAJOR})
77

8-
find_package(gz-physics8 REQUIRED)
9-
set(GZ_PHYSICS_VER ${gz-physics8_VERSION_MAJOR})
8+
find_package(gz-physics9 REQUIRED)
9+
set(GZ_PHYSICS_VER ${gz-physics9_VERSION_MAJOR})
1010

1111
add_executable(hello_world_loader hello_world_loader.cc)
1212
target_link_libraries(hello_world_loader

examples/hello_world_plugin/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ project(gz-physics-hello-world-plugin)
55
find_package(gz-plugin3 REQUIRED COMPONENTS all)
66
set(GZ_PLUGIN_VER ${gz-plugin3_VERSION_MAJOR})
77

8-
find_package(gz-physics8 REQUIRED)
9-
set(GZ_PHYSICS_VER ${gz-physics8_VERSION_MAJOR})
8+
find_package(gz-physics9 REQUIRED)
9+
set(GZ_PHYSICS_VER ${gz-physics9_VERSION_MAJOR})
1010

1111
add_library(HelloWorldPlugin SHARED HelloWorldPlugin.cc)
1212
target_link_libraries(HelloWorldPlugin

examples/simple_plugin/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ project(gz-physics-simple-plugin)
55
find_package(gz-plugin3 REQUIRED COMPONENTS all)
66
set(GZ_PLUGIN_VER ${gz-plugin3_VERSION_MAJOR})
77

8-
find_package(gz-physics8 REQUIRED)
9-
set(GZ_PHYSICS_VER ${gz-physics8_VERSION_MAJOR})
8+
find_package(gz-physics9 REQUIRED)
9+
set(GZ_PHYSICS_VER ${gz-physics9_VERSION_MAJOR})
1010

1111
add_library(SimplePlugin SHARED plugin.cc EntityManagementFeatures.cc)
1212
target_link_libraries(SimplePlugin

package.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<package format="2">
3-
<name>gz-physics8</name>
4-
<version>8.0.0</version>
3+
<name>gz-physics9</name>
4+
<version>9.0.0</version>
55
<description>Gazebo Physics : Physics classes and functions for robot applications</description>
66
<maintainer email="scpeters@openrobotics.org">Steve Peters</maintainer>
77
<license>Apache License 2.0</license>

tutorials/06-physics-simulation-concepts.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ cars depending on physics engines and visualize the collision concept.
3535
To run the demo world, download the SDFormat file by:
3636

3737
```bash
38-
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-physics8/examples/worlds/diff_drive.sdf -P ~
39-
wget https://raw.githubusercontent.com/gazebosim/gz-sim/gz-physics8/examples/worlds/velocity_control.sdf -P ~
38+
wget https://raw.githubusercontent.com/gazebosim/gz-sim/main/examples/worlds/diff_drive.sdf -P ~
39+
wget https://raw.githubusercontent.com/gazebosim/gz-sim/main/examples/worlds/velocity_control.sdf -P ~
4040
```
4141

4242
Then run the simulation:

tutorials/07-implementing-a-physics-plugin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ a plugin.
7171
- The third argument is the `FeatureList`, specifying all the features that this
7272
plugin provides, i.e. `HelloWorldFeatureList`
7373

74-
### Setup CMakeLists.txt for building (Version: gz-physics8)
74+
### Setup CMakeLists.txt for building (Version: gz-physics9)
7575

7676
Now create a file named `CMakeLists.txt` with your favorite editor and add these
7777
lines for finding `gz-plugin` and `gz-physics` dependencies for the Fortress release:

tutorials/08-implementing-a-custom-feature.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ will not run at the same time when requested.
133133

134134
### Define custom feature template
135135

136-
With the requirements and restrictions above, we first need to define a feature template for the custom feature. In this case, this feature will be responsible for retrieving world pointer from the physics engine. The template is placed in [World.hh](https://github.com/gazebosim/gz-physics/blob/gz-physics8/dartsim/src/World.hh):
136+
With the requirements and restrictions above, we first need to define a feature template for the custom feature. In this case, this feature will be responsible for retrieving world pointer from the physics engine. The template is placed in [World.hh](https://github.com/gazebosim/gz-physics/blob/main/dartsim/src/World.hh):
137137

138138
\snippet dartsim/src/World.hh feature template
139139

@@ -176,24 +176,24 @@ After defining the feature template, we can add it to a custom
176176
The custom feature `RetrieveWorld` is added to `CustomFeatureList`, other custom
177177
features could also be added here.
178178
The `CustomFeatures` "FeatureList" here uses data structures and classes from:
179-
- [Base.hh](https://github.com/gazebosim/gz-physics/blob/gz-physics8/dartsim/src/Base.hh), which defines structures that contain information to create `Model`, `Joint`, `Link`, and `Shape` objects in Dartsim API.
179+
- [Base.hh](https://github.com/gazebosim/gz-physics/blob/main/dartsim/src/Base.hh), which defines structures that contain information to create `Model`, `Joint`, `Link`, and `Shape` objects in Dartsim API.
180180
They act as an interface between Gazebo Physics Library and the actual physics engine.
181181
- \ref gz::physics::Implements3d "Implements3d" for implementing the
182182
custom feature with \ref gz::physics::FeaturePolicy3d "FeaturePolicy3d"
183183
("FeaturePolicy" of 3 dimensions and scalar type `double`).
184184

185-
We will then implement the actual function with Dartsim API in [CustomFeatures.cc](https://github.com/gazebosim/gz-physics/blob/gz-physics8/dartsim/src/CustomFeatures.cc) to override the member function
185+
We will then implement the actual function with Dartsim API in [CustomFeatures.cc](https://github.com/gazebosim/gz-physics/blob/main/dartsim/src/CustomFeatures.cc) to override the member function
186186
declared in the custom feature header file:
187187

188188
\snippet dartsim/src/CustomFeatures.cc implementation
189189

190190
Here, we implement the behavior of `GetDartsimWorld` with Dartsim API to return the
191191
world pointer from `EntityStorage` object storing world pointers of `dartsim` in
192-
[Base](https://github.com/gazebosim/gz-physics/blob/gz-physics8/dartsim/src/Base.hh) class.
192+
[Base](https://github.com/gazebosim/gz-physics/blob/main/dartsim/src/Base.hh) class.
193193

194194
In the end, we add the implemented `CustomFeatures` "FeatureList" together with
195195
other \ref gz::physics::FeatureList "FeatureList" to final `DartsimFeatures`
196-
"FeatureList" as in [dartsim/src/plugin.cc](https://github.com/gazebosim/gz-physics/blob/gz-physics8/dartsim/src/plugin.cc)
196+
"FeatureList" as in [dartsim/src/plugin.cc](https://github.com/gazebosim/gz-physics/blob/main/dartsim/src/plugin.cc)
197197
(please see the \ref createphysicsplugin "Implement a physics feature" tutorial
198198
for registering the plugin to Gazebo Physics).
199199

0 commit comments

Comments
 (0)