Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct the ROS and Fortress bridge #430

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions fortress/ros2_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ In this tutorial we will learn how to Integrate ROS 2 with Ignition. We will est
communication between them. This can help in many aspects; we can receive data or commands
from ROS and apply it to Ignition and vice versa.

## ros_ign_bridge
## ros_gz_bridge

`ros_ign_bridge` provides a network bridge which enables the exchange of messages between ROS 2 and Ignition Transport. Its support is limited to only certain message types. Please, check this [README](https://github.com/ignitionrobotics/ros_ign/blob/ros2/ros_gz_bridge/README.md) to verify if your message type is supported by the bridge.
`ros_gz_bridge` provides a network bridge which enables the exchange of messages between ROS 2 and Ignition Transport. Its support is limited to only certain message types. Please, check this [README](https://github.com/gazebosim/ros_gz/blob/ros2/ros_gz_bridge/README.md) to verify if your message type is supported by the bridge.

Example uses of the bridge can be found in [`ros_gz_sim_demos`](https://github.com/gazebosim/ros_gz/tree/ros2/ros_gz_sim_demos), including demo launch files with bridging of all major actuation and sensor types.

Expand All @@ -23,10 +23,10 @@ We can initialize a bidirectional bridge so we can have ROS as the publisher and
For example:

```
ros2 run ros_ign_bridge parameter_bridge /scan@sensor_msgs/msg/[email protected]
ros2 run ros_gz_bridge parameter_bridge /TOPIC@ROS_MSG@IGN_MSG
```

The `ros2 run ros_ign_bridge parameter_bridge` command simply runs the `parameter_bridge` code from the `ros_ign_bridge` package. Then, we specify our topic `/TOPIC` over which the messages will be sent. The first `@` symbol delimits the topic name from the message types. Following the first `@` symbol is the ROS message type.
The `ros2 run ros_gz_bridge parameter_bridge` command simply runs the `parameter_bridge` code from the `ros_gz_bridge` package. Then, we specify our topic `/TOPIC` over which the messages will be sent. The first `@` symbol delimits the topic name from the message types. Following the first `@` symbol is the ROS message type.

The ROS message type is followed by an `@`, `[`, or `]` symbol where:

Expand Down Expand Up @@ -59,7 +59,7 @@ at which the `Key Publisher` plugin sends messages and also the type
of the messages as follows:

```
ros2 run ros_ign_bridge parameter_bridge /keyboard/keypress@std_msgs/msg/[email protected]
ros2 run ros_gz_bridge parameter_bridge /keyboard/keypress@std_msgs/msg/[email protected]
```

We started a bridge on `/keyboard/keypress` topic with message of type `Int32`.
Expand Down
Loading