docs: small fix

It’s better not to nest the throttled image topic as this way consumers would subscribe to appropriate camera_info topic automatically
This commit is contained in:
Oleg Kalachev
2020-04-07 02:57:53 +03:00
parent 48cc82001d
commit 3ac51baf7c
2 changed files with 4 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ The script will take up to 100% CPU capacity. To slow down the script artificial
```xml
<node pkg="topic_tools" name="cam_throttle" type="throttle"
args="messages main_camera/image_raw 5.0 main_camera/image_raw/throttled"/>
args="messages main_camera/image_raw 5.0 main_camera/image_raw_throttled"/>
```
The topic for the subscriber in this case should be changed for `main_camera/image_raw/throttled`.
The topic for the subscriber in this case should be changed for `main_camera/image_raw_throttled`.

View File

@@ -138,7 +138,7 @@ image_sub = rospy.Subscriber('main_camera/image_raw', Image, image_callback, que
```xml
<node pkg="topic_tools" name="cam_throttle" type="throttle"
args="messages main_camera/image_raw 5.0 main_camera/image_raw/throttled"/>
args="messages main_camera/image_raw 5.0 main_camera/image_raw_throttled"/>
```
Топик для подписчика в этом случае необходимо поменять на `main_camera/image_raw/throttled`.
Топик для подписчика в этом случае необходимо поменять на `main_camera/image_raw_throttled`.