Skip to content

Commit 0b7d9ae

Browse files
authored
Updated rosbridge installation instructions
1 parent a1ba7ce commit 0b7d9ae

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,23 +42,25 @@ To enable the communcation between Unreal and ROS, you will need a running ROSBr
4242

4343
The recommended way to install rosbridge is from source (requires the `rosauth` package):
4444
```
45-
sudo apt-get install rosauth
45+
sudo apt-get install ros-ROS1_DISTRO-rosauth # Replace ROS1_DISTRO with the distro you are using
4646
cd ~/ros_workspace/
47+
source devel/setup.bash
48+
cd src/
4749
git clone -b ros1 https://github.com/RobotWebTools/rosbridge_suite.git
4850
cd ..
4951
catkin_make
5052
source devel/setup.bash
5153
```
5254
Even though you could install rosbridge using apt via:
5355
```
54-
sudo apt-get install ros-kinetic-rosbridge-suite
56+
sudo apt-get install ros-ROS1_DISTRO-rosbridge-suite # Replace ROS1_DISTRO with the distro you are using
5557
```
56-
if you were using ROS Kinetic, there have been numersous issues where these apt packages do not reflect the code in the `ros1` branch. Hence, it is best to install from source. After installing rosbridge, you can enable the bson_mode like this:
58+
there have been numersous issues where these apt packages do not reflect the code in the `ros1` branch. Hence, it is best to install from source. After installing rosbridge, you can enable the bson_mode like this:
5759

5860
```
5961
roslaunch rosbridge_server rosbridge_tcp.launch bson_only_mode:=True
6062
```
61-
If UE4 and rosbridge are both running, then you should see the rosbridge node subscribe to two topics beginning with `/unreal_ros/`. If you do NOT see this, then you likely have a problem with your rosbridge installation.
63+
**How to verify the rosbridge-UE4 connection:** Make sure UE4 is configured to use the ROSIntegrationGameInstance (see below) and set the connection parameters. If UE4 and rosbridge are both running, then you should see the rosbridge node subscribe to two topics with the prefix `/unreal_ros/`. If you do NOT see this, then you likely have a problem with your rosbridge installation.
6264

6365
<!-- **Important**: The most recent rosbridge versions changed the transmission method. Since ROSIntegration can not handle this new method yet, please make sure to check out these issue on how to install a compatible rosbridge version: https://github.com/code-iai/ROSIntegration/issues/141 & https://github.com/code-iai/ROSIntegration/issues/139 -->
6466

0 commit comments

Comments
 (0)