Skip to content

Commit

Permalink
8 to 9 (#226)
Browse files Browse the repository at this point in the history
Signed-off-by: Ashton Larkin <ashton@openrobotics.org>
  • Loading branch information
adlarkin committed Mar 17, 2021
2 parents 58469d3 + b566563 commit b58e30c
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/checkout@v2
- name: Compile and test
id: ci
uses: ignition-tooling/action-ignition-ci@master
uses: ignition-tooling/action-ignition-ci@bionic
with:
codecov-token: ${{ secrets.CODECOV_TOKEN }}
focal-ci:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ ign-transport
# Contributing

Please see
[CONTRIBUTING.md](https://github.com/ignitionrobotics/ign-gazebo/blob/master/CONTRIBUTING.md).
[CONTRIBUTING.md](https://github.com/ignitionrobotics/ign-gazebo/blob/main/CONTRIBUTING.md).

# Code of Conduct

Please see
[CODE_OF_CONDUCT.md](https://github.com/ignitionrobotics/ign-gazebo/blob/master/CODE_OF_CONDUCT.md).
[CODE_OF_CONDUCT.md](https://github.com/ignitionrobotics/ign-gazebo/blob/main/CODE_OF_CONDUCT.md).

# Versioning

Expand All @@ -131,5 +131,5 @@ version and release information.
# License

This library is licensed under [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0).
See also the [LICENSE](https://github.com/ignitionrobotics/ign-transport/raw/master/LICENSE)
See also the [LICENSE](https://github.com/ignitionrobotics/ign-transport/raw/main/LICENSE)
file.
2 changes: 1 addition & 1 deletion bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pipelines:
libignition-msgs5-dev
libignition-tools-dev
# # Install ign-msgs
# - git clone http://github.com/ignitionrobotics/ign-msgs -b master
# - git clone http://github.com/ignitionrobotics/ign-msgs -b main
# - cd ign-msgs
# - mkdir build
# - cd build
Expand Down
2 changes: 1 addition & 1 deletion tutorials/02_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Ubuntu distribution equal to 18.04 (Bionic) or newer.
Make sure you have removed the Ubuntu pre-compiled binaries before
installing from source:
```
sudo apt-get remove libignition-transport8-dev
sudo apt-get remove libignition-transport9-dev
```

Install prerequisites. A clean Ubuntu system will need:
Expand Down
18 changes: 9 additions & 9 deletions tutorials/04_messages.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cd ~/ign_transport_tutorial

## Publisher

Download the [publisher.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/publisher.cc) file within the `ign_transport_tutorial`
Download the [publisher.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/publisher.cc) file within the `ign_transport_tutorial`
folder and open it with your favorite editor:

```{.cpp}
Expand Down Expand Up @@ -132,7 +132,7 @@ The method *Publish()* sends a message to all the subscribers.

## Subscriber

Download the [subscriber.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/subscriber.cc)
Download the [subscriber.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/subscriber.cc)
file into the `ign_transport_tutorial` folder and open it with your favorite editor:

```{.cpp}
Expand Down Expand Up @@ -212,7 +212,7 @@ until you hit *CTRL-C*. Note that this function captures the *SIGINT* and

## Building the code

Download the [CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/master/example/CMakeLists.txt) file within the `ign_transport_tutorial` folder.
Download the [CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/main/example/CMakeLists.txt) file within the `ign_transport_tutorial` folder.

Once you have all your files, go ahead and create a `build/` directory within
the `ign_transport_tutorial` directory.
Expand Down Expand Up @@ -347,7 +347,7 @@ between Ignition Transport and another protocol or if you want to just print the
content of a generic protobuf message using `DebugString()`, among other use
cases.

Download the [subscriber_generic.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/subscriber_generic.cc) file within the `ign_transport_tutorial` folder and open it with your favorite editor:
Download the [subscriber_generic.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/subscriber_generic.cc) file within the `ign_transport_tutorial` folder and open it with your favorite editor:

```{.cpp}
#include <google/protobuf/message.h>
Expand Down Expand Up @@ -463,12 +463,12 @@ often the integration of the message generation into the build system of your
project. Next, you can find an example of a publisher and subscriber using a
custom Protobuf message integrated with CMake.

Download the [publisher_custom_msg.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/publisher_custom_msg.cc)
and the [subscriber_custom_msg.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/subscriber_custom_msg.cc)
Download the [publisher_custom_msg.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/publisher_custom_msg.cc)
and the [subscriber_custom_msg.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/subscriber_custom_msg.cc)
files within the `ign_transport_tutorial`. Then, create a `msgs` folder and
download the [stringmsg.proto](https://github.com/ignitionrobotics/ign-transport/raw/master/example/msgs/stringmsg.proto)
and the [CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/master/example/msgs/CMakeLists.txt)
files within the `msgs` folder. Finally, we'll need the main [CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/master/example/CMakeLists.txt)
download the [stringmsg.proto](https://github.com/ignitionrobotics/ign-transport/raw/main/example/msgs/stringmsg.proto)
and the [CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/main/example/msgs/CMakeLists.txt)
files within the `msgs` folder. Finally, we'll need the main [CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/main/example/CMakeLists.txt)
file. You should have this file from the previous examples. Otherwise,
download and place it within the `ign_transport_tutorial` folder.

Expand Down
20 changes: 10 additions & 10 deletions tutorials/05_services.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cd ~/ign_transport_tutorial

## Responser

Download the [responser.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/responser.cc) file within the ``ign_transport_tutorial``
Download the [responser.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/responser.cc) file within the ``ign_transport_tutorial``
folder and open it with your favorite editor:

```{.cpp}
Expand Down Expand Up @@ -133,7 +133,7 @@ until you hit *CTRL-C*. Note that this function captures the *SIGINT* and

## Synchronous requester

Download the [requester.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/requester.cc) file within the ``ign_transport_tutorial``
Download the [requester.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/requester.cc) file within the ``ign_transport_tutorial``
folder and open it with your favorite editor:

```{.cpp}
Expand Down Expand Up @@ -228,7 +228,7 @@ message.

## Asynchronous requester

Download the [requester_async.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/requester_async.cc) file within the
Download the [requester_async.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/requester_async.cc) file within the
``ign_transport_tutorial`` folder and open it with your favorite editor:

```{.cpp}
Expand Down Expand Up @@ -314,7 +314,7 @@ oneway service to process service requests without sending back responses.
Oneway services don't accept any output parameters nor the requests have to wait
for the response.

Download the [responser_oneway.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/responser_oneway.cc) file within the
Download the [responser_oneway.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/responser_oneway.cc) file within the
``ign_transport_tutorial`` folder and open it with your favorite editor:

```{.cpp}
Expand Down Expand Up @@ -389,7 +389,7 @@ This case is similar to the oneway service provider. This code can be used for
requesting a service that does not need a response back. We don't need any
output parameters in this case nor we have to wait for the response.

Download the [requester_oneway.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/requester_oneway.cc) file within the
Download the [requester_oneway.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/requester_oneway.cc) file within the
``ign_transport_tutorial`` folder and open it with your favorite editor:

```{.cpp}
Expand Down Expand Up @@ -447,7 +447,7 @@ your service request is handled.
Sometimes we want to receive some result but don't have any input parameter to
send.

Download the [responser_no_input.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/responser_no_input.cc)
Download the [responser_no_input.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/responser_no_input.cc)
file within the ``ign_transport_tutorial`` folder and open it with your
favorite editor:

Expand Down Expand Up @@ -527,7 +527,7 @@ service requests.
This case is similar to the service without input parameter. We don't send any
request.

Download the [requester_no_input.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/requester_no_input.cc)
Download the [requester_no_input.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/requester_no_input.cc)
file within the ``ign_transport_tutorial`` folder and open it with your
favorite editor:

Expand Down Expand Up @@ -570,14 +570,14 @@ request timed out or reached the service provider and ``result`` shows if the
service was successfully executed.

We also have the async version for service request without input. You should
download [requester_async_no_input.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/requester_async_no_input.cc)
download [requester_async_no_input.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/requester_async_no_input.cc)
file within the ``ign_transport_tutorial`` folder.

## Building the code

Download the [CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/master/example/CMakeLists.txt) file
Download the [CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/main/example/CMakeLists.txt) file
within the ``ign_transport_tutorial`` folder. Then, download
[CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/master/example/msgs/CMakeLists.txt) and [stringmsg.proto](https://github.com/ignitionrobotics/ign-transport/raw/master/example/msgs/stringmsg.proto) inside the
[CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/main/example/msgs/CMakeLists.txt) and [stringmsg.proto](https://github.com/ignitionrobotics/ign-transport/raw/main/example/msgs/stringmsg.proto) inside the
``msgs`` directory.

Once you have all your files, go ahead and create a ``build/`` folder within
Expand Down
10 changes: 5 additions & 5 deletions tutorials/07_relay.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ install Docker following any of the existing guides available
([here](https://docs.docker.com/get-docker/)'s one).

We're going to build a Docker image and run it inside your host computer.
Download the [build.bash](https://github.com/ignitionrobotics/ign-transport/raw/master/docker/build.bash), [run.bash](https://github.com/ignitionrobotics/ign-transport/raw/master/docker/run.bash) and
[Dockerfile](https://github.com/ignitionrobotics/ign-transport/raw/master/docker/ign-transport/Dockerfile) files.
Download the [build.bash](https://github.com/ignitionrobotics/ign-transport/raw/main/docker/build.bash), [run.bash](https://github.com/ignitionrobotics/ign-transport/raw/main/docker/run.bash) and
[Dockerfile](https://github.com/ignitionrobotics/ign-transport/raw/main/docker/ign-transport/Dockerfile) files.

```{.sh}
wget https://github.com/ignitionrobotics/ign-transport/raw/master/docker/build.bash
wget https://github.com/ignitionrobotics/ign-transport/raw/master/docker/run.bash
wget https://github.com/ignitionrobotics/ign-transport/raw/master/docker/ign-transport/Dockerfile -O ign-transport/Dockerfile
wget https://github.com/ignitionrobotics/ign-transport/raw/main/docker/build.bash
wget https://github.com/ignitionrobotics/ign-transport/raw/main/docker/run.bash
wget https://github.com/ignitionrobotics/ign-transport/raw/main/docker/ign-transport/Dockerfile -O ign-transport/Dockerfile
chmod +x build.bash run.bash
```

Expand Down
6 changes: 3 additions & 3 deletions tutorials/10_logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cd ~/ign_transport_tutorial

## Record

Download the [record.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/record.cc)
Download the [record.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/record.cc)
file within the `ign_transport_tutorial` folder and open it with your favorite editor:

```{.cpp}
Expand Down Expand Up @@ -126,7 +126,7 @@ stops the log recording as expected.

## Play back

Download the [playback.cc](https://github.com/ignitionrobotics/ign-transport/raw/master/example/playback.cc)
Download the [playback.cc](https://github.com/ignitionrobotics/ign-transport/raw/main/example/playback.cc)
file within the `ign_transport_tutorial` folder and open it with your favorite
editor:

Expand Down Expand Up @@ -215,7 +215,7 @@ thread until all messages have been published.

## Building the code

Download the [CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/master/example/CMakeLists.txt)
Download the [CMakeLists.txt](https://github.com/ignitionrobotics/ign-transport/raw/main/example/CMakeLists.txt)
file within the `ign_transport_tutorial` folder.

Once you have all your files, go ahead and create a `build/` directory within
Expand Down
2 changes: 1 addition & 1 deletion tutorials/23_topic_statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if (!node.EnableStats(topic, true))
}
```

A complete example can be found in the [subscriber_stats example program](https://github.com/ignitionrobotics/ign-transport/blob/ign-transport8/example/subscriber_stats.cc).
A complete example can be found in the [subscriber_stats example program](https://github.com/ignitionrobotics/ign-transport/blob/ign-transport9/example/subscriber_stats.cc).

With both `IGN_TRANSPORT_TOPIC_STATISTICS` set to `1` and a node
enabling topic statistics, then you will be able to echo statistic
Expand Down

0 comments on commit b58e30c

Please sign in to comment.