Skip to content

Commit

Permalink
Bumps in ionic : ci_matching_branch/bump_ionic_gz-transport14
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey committed Oct 16, 2023
1 parent 4ea9725 commit f7e814f
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .github/ci/packages.apt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
libgz-cmake3-dev
libgz-cmake4-dev
libgz-math7-dev
libgz-msgs10-dev
libgz-msgs11-dev
libgz-tools2-dev
libgz-utils2-cli-dev
libprotobuf-dev
Expand All @@ -14,5 +14,5 @@ python3-distutils
python3-psutil
python3-pybind11
python3-pytest
python3-gz-msgs10
python3-gz-msgs11
uuid-dev
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ project(gz-transport14 VERSION 14.0.0)
# Find gz-cmake
#============================================================================
# If you get an error at this line, you need to install gz-cmake
find_package(gz-cmake3 REQUIRED)
set(GZ_CMAKE_VER ${gz-cmake3_VERSION_MAJOR})
find_package(gz-cmake4 REQUIRED)
set(GZ_CMAKE_VER ${gz-cmake4_VERSION_MAJOR})

#============================================================================
# Configure the project
Expand Down Expand Up @@ -101,8 +101,8 @@ set(GZ_UTILS_VER ${gz-utils2_VERSION_MAJOR})

#--------------------------------------
# Find gz-msgs
gz_find_package(gz-msgs10 REQUIRED)
set(GZ_MSGS_VER ${gz-msgs10_VERSION_MAJOR})
gz_find_package(gz-msgs11 REQUIRED)
set(GZ_MSGS_VER ${gz-msgs11_VERSION_MAJOR})

#--------------------------------------
# Find ifaddrs
Expand Down
4 changes: 2 additions & 2 deletions docker/gz-transport/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ RUN sudo /bin/sh -c 'echo "deb [trusted=yes] http://packages.osrfoundation.org/g
&& sudo /bin/sh -c 'wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -' \
&& sudo apt-get update \
&& sudo apt-get install -y \
libgz-cmake3-dev \
libgz-cmake4-dev \
libgz-math7-dev \
libgz-msgs10-dev \
libgz-msgs11-dev \
libgz-utils2-cli-dev \
&& sudo apt-get clean

Expand Down
2 changes: 1 addition & 1 deletion python/examples/data_race_with_mutex.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
#

from gz.msgs10.vector3d_pb2 import Vector3d
from gz.msgs11.vector3d_pb2 import Vector3d
from gz.transport14 import Node

from threading import Lock
Expand Down
2 changes: 1 addition & 1 deletion python/examples/data_race_without_mutex.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
#

from gz.msgs10.vector3d_pb2 import Vector3d
from gz.msgs11.vector3d_pb2 import Vector3d
from gz.transport14 import Node

import time
Expand Down
4 changes: 2 additions & 2 deletions python/examples/publisher.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.
#

from gz.msgs10.stringmsg_pb2 import StringMsg
from gz.msgs10.vector3d_pb2 import Vector3d
from gz.msgs11.stringmsg_pb2 import StringMsg
from gz.msgs11.vector3d_pb2 import Vector3d
from gz.transport14 import AdvertiseMessageOptions
from gz.transport14 import Node

Expand Down
2 changes: 1 addition & 1 deletion python/examples/requester.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
#

from gz.msgs10.stringmsg_pb2 import StringMsg
from gz.msgs11.stringmsg_pb2 import StringMsg
from gz.transport14 import Node

def main():
Expand Down
4 changes: 2 additions & 2 deletions python/examples/subscriber.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.
#

from gz.msgs10.stringmsg_pb2 import StringMsg
from gz.msgs10.vector3d_pb2 import Vector3d
from gz.msgs11.stringmsg_pb2 import StringMsg
from gz.msgs11.vector3d_pb2 import Vector3d
from gz.transport14 import SubscribeOptions
from gz.transport14 import Node

Expand Down
2 changes: 1 addition & 1 deletion python/src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# The "ProtoMsg" TypeVar represents an actual msg of a protobuf type.
# On the other hand, the "ProtoMsgType" TypeVar represents the protobuf type.
# For example, let's take the following code:
# from gz.msgs10.stringmsg_pb2 import StringMsg
# from gz.msgs11.stringmsg_pb2 import StringMsg
# proto_msg = StringMsg()
# The variable `proto_msg` would be the expected input for a "ProtoMsg"
# type argument and `StringMsg` would be the expected input for a
Expand Down
2 changes: 1 addition & 1 deletion python/test/options_TEST.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from gz.msgs10.stringmsg_pb2 import StringMsg
from gz.msgs11.stringmsg_pb2 import StringMsg
from gz.transport14 import Node, AdvertiseMessageOptions, SubscribeOptions, NodeOptions

import unittest
Expand Down
4 changes: 2 additions & 2 deletions python/test/pubSub_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.
#

from gz.msgs10.stringmsg_pb2 import StringMsg
from gz.msgs10.vector3d_pb2 import Vector3d
from gz.msgs11.stringmsg_pb2 import StringMsg
from gz.msgs11.vector3d_pb2 import Vector3d
from gz.transport14 import Node, AdvertiseMessageOptions, SubscribeOptions, TopicStatistics

from threading import Lock
Expand Down
4 changes: 2 additions & 2 deletions python/test/requester_TEST.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.
#

from gz.msgs10.int32_pb2 import Int32
from gz.msgs10.stringmsg_pb2 import StringMsg
from gz.msgs11.int32_pb2 import Int32
from gz.msgs11.stringmsg_pb2 import StringMsg
from gz.transport14 import Node

import os
Expand Down
2 changes: 1 addition & 1 deletion tutorials/02_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ sudo apt-get remove libgz-transport.*-dev

Install prerequisites. A clean Ubuntu system will need:
```
sudo apt-get install git cmake pkg-config python ruby-ronn libprotoc-dev libprotobuf-dev protobuf-compiler uuid-dev libzmq3-dev libgz-msgs10-dev libgz-utils2-cli-dev
sudo apt-get install git cmake pkg-config python ruby-ronn libprotoc-dev libprotobuf-dev protobuf-compiler uuid-dev libzmq3-dev libgz-msgs11-dev libgz-utils2-cli-dev
```

Clone the repository
Expand Down

0 comments on commit f7e814f

Please sign in to comment.