mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
docs: fix anchor link in snippets
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user