Skip to content

Commit

Permalink
(roseus_bt) Update the remote tutorial documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Affonso-Gui committed May 27, 2022
1 parent a8cff4f commit 52fd474
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions roseus_bt/sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,15 @@ https://github.com/Affonso-Gui/jsk_roseus/blob/roseus_bt/roseus_bt/sample/models

To do this we declare the actions with the `<RemoteAction/>` and conditions with the `<RemoteCondition/>` tag in the `<TreeNodesModel/>`, and add a `host_name` and `host_port` field to them.

Make sure that the rosbridge server is started after sourcing all of the package's messages and services. Setting a large `unregister_timeout` is also desirable to avoid problems described in https://github.com/knorth55/jsk_robot/pull/230 .


#### Run the code

Run the first rosbridge_server:
```bash
roslaunch rosbridge_server rosbridge_websocket.launch
# source package before running this
roslaunch rosbridge_server rosbridge_websocket.launch unregister_timeout:=100000
```

Run the first roseus server:
Expand All @@ -250,8 +254,9 @@ roseus t08_multimaster_localhost9090-action-server.l

Run the second rosbridge_server:
```bash
# source package before running this
export ROS_MASTER_URI=http://localhost:11312
roslaunch rosbridge_server rosbridge_websocket.launch port:=9091
roslaunch rosbridge_server rosbridge_websocket.launch port:=9091 unregister_timeout:=100000
```

Run the second roseus server:
Expand Down

0 comments on commit 52fd474

Please sign in to comment.