Skip to content

Commit

Permalink
docs: fix anchor link in snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
okalachev committed Feb 13, 2024
1 parent 42c26aa commit 8c5551b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/en/snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ Check, if the code is running inside a [Gazebo simulation](simulation.md):
is_simulation = rospy.get_param('/use_sim_time', False)
```

### # #{simulator-interaction}
### # {#simulator-interaction}

You can move a physical object (link) in Gazebo (as well as change its velocity) using the `gazebo/set_link_state` service (of the type [`SetLinkState`](http://docs.ros.org/en/api/gazebo_msgs/html/srv/SetLinkState.html)). For example, if you add a cube to the world (link `unit_box::link`), you can move it to the point (1, 2, 3):

Expand Down
2 changes: 1 addition & 1 deletion docs/ru/snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ param_set(param_id='MPC_Z_P', value=ParamValue(real=1.5))
is_simulation = rospy.get_param('/use_sim_time', False)
```

### # #{simulator-interaction}
### # {#simulator-interaction}

Переместить физический объект (линк) в Gazebo (а также поменять его скорости) можно при помощи сервиса `gazebo/set_link_state` (тип [`SetLinkState`](http://docs.ros.org/en/api/gazebo_msgs/html/srv/SetLinkState.html)). Например, если добавить в мир объект куб (линк `unit_box::link`), то так можно переместить его в точку (1, 2, 3):

Expand Down

0 comments on commit 8c5551b

Please sign in to comment.