Skip to content

Commit 85f8b66

Browse files
Remove all build warnings (#742)
* Ignore venv directory and fix caption string. Signed-off-by: Leander Stephen D'Souza <[email protected]> * Fix code formatting and missing links in documentation files. Signed-off-by: Leander Stephen D'Souza <[email protected]> --------- Signed-off-by: Leander Stephen D'Souza <[email protected]>
1 parent 2b740c4 commit 85f8b66

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

behavior_trees/overview/detailed_behavior_tree_walkthrough.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ At the top level, a ``Sequence`` ensures the following steps are executed in ord
255255
- A ``Fallback`` node first checks whether planner or controller recoveries might help resolve the issue. If either returns ``SUCCESS``, the fallback succeeds and the sequence proceeds to the next step.
256256

257257
- A ``ReactiveFallback`` that controls the flow between the rest of the system wide recoveries, and asynchronously checks if a new goal has been received.
258+
258259
If at any point the goal gets updated, this subtree will halt all children and return ``SUCCESS``. This allows for quick reactions to new goals and preempt currently executing recoveries.
259260
This should look familiar to the contextual recovery portions of the ``Navigation`` subtree. This is a common BT pattern to handle the situation "Unless 'this condition' happens, Do action A".
260261

conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
# List of patterns, relative to source directory, that match files and
9292
# directories to ignore when looking for source files.
9393
# This patterns also effect to html_static_path and html_extra_path
94-
exclude_patterns = ['_build','_themes','scripts', 'README.md' ]
94+
exclude_patterns = ['venv', '_build','_themes','scripts', 'README.md' ]
9595

9696
# The name of the Pygments (syntax highlighting) style to use.
9797
pygments_style = 'sphinx'
@@ -201,4 +201,4 @@
201201
breathe_default_members = ('members', 'undoc-members', 'content-only')
202202

203203
extlinks = {'projectfile':
204-
('https://github.com/ros-navigation/navigation2/blob/main/%s', 'filepath ')}
204+
('https://github.com/ros-navigation/navigation2/blob/main/%s', 'filepath %s')}

configuration/packages/bt-plugins/controls/PauseResumeController.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _bt_pause_resume_controller_control:
22

33
PauseResumeController
4-
===================
4+
=====================
55

66
Controlled through service calls to pause and resume the execution of the tree.
77
It has one mandatory child for the RESUMED, and three optional for the PAUSED state, the ON_PAUSE event and the ON_RESUME event.

migration/Kilted.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,4 +231,4 @@ Added PersistentSequence and PauseResumeController Control Nodes
231231

232232
In `PR #5247 <https://github.com/ros-navigation/navigation2/pull/5247>`_ two new Nav2 specific behavior tree control nodes have been added.
233233

234-
The ``PauseResumeController`` (`docs <../configuration/packages/bt-plugins/controls/PauseResumeController.html>`_) adds services to pause and resume execution of the tree. Related to this, the ``PersistentSequence`` (`docs <../configuration/packages/bt-plugins/controls/PersistentSequence.html>`_) control node allows the child index to be exposed to the behavior tree through a bidirectional port. This allows the sequence to be continued on resume where it was paused.
234+
The `PauseResumeController <../configuration/packages/bt-plugins/controls/PauseResumeController.html>`_ adds services to pause and resume execution of the tree. Related to this, the `PersistentSequence <../configuration/packages/bt-plugins/controls/PersistentSequence.html>`_ control node allows the child index to be exposed to the behavior tree through a bidirectional port. This allows the sequence to be continued on resume where it was paused.

plugins/index.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,9 +600,10 @@ Behavior Tree Nodes
600600
.. _Is Path Valid Condition: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/is_path_valid_condition.cpp
601601
.. _Path Expiring Timer: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/path_expiring_timer_condition.cpp
602602
.. _Are Error Codes Present: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/are_error_codes_present_condition.cpp
603-
.. _Would A Controller Recovery Help: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/would_a_controller_recovery_help.cpp
604-
.. _Would A Planner Recovery Help: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/would_a_planner_recovery_help.cpp
605-
.. _Would A Smoother Recovery Help: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/would_a_smoother_recovery_help.cpp
603+
.. _Would A Controller Recovery Help: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/would_a_controller_recovery_help_condition.cpp
604+
.. _Would A Planner Recovery Help: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/would_a_planner_recovery_help_condition.cpp
605+
.. _Would A Smoother Recovery Help: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/would_a_smoother_recovery_help_condition.cpp
606+
.. _Would A Route Recovery Help: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/would_a_route_recovery_help_condition.cpp
606607
.. _Is Battery Charging Condition: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/is_battery_charging_condition.cpp
607608
.. _Are Poses Near Condition: https://github.com/ros-navigation/navigation2/tree/main/nav2_behavior_tree/plugins/condition/are_poses_near_condition.cpp
608609

tutorials/docs/navigation2_with_gps.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Tutorial Steps
9696
0- Setup Gazebo World
9797
---------------------
9898

99-
To navigate using GPS we first need to create an outdoors Gazebo world with a robot having a GPS sensor to setup for navigation. For this tutorial we will be using the `Sonoma Raceway <https://app.gazebosim.org/OpenRobotics/fuel/models/Sonoma%20Raceway>`_ because its aligned with the real location. A sample world has been setup `here <https://github.com/ros-navigation/navigation2_tutorials/tree/master/nav2_gps_waypoint_follower_demo/worlds/tb3_sonoma_raceway.sdf.xacro>`_ using gazebo's navsat and spherical coordinates plugin, which creates a local tangent plane centered in the set geographic origin and provides latitude, longitude and altitude coordinates for each point in the world:
99+
To navigate using GPS we first need to create an outdoors Gazebo world with a robot having a GPS sensor to setup for navigation. For this tutorial we will be using the `Sonoma Raceway <https://app.gazebosim.org/OpenRobotics/fuel/models/Sonoma%20Raceway>`_ because its aligned with the real location. A sample `world <https://github.com/ros-navigation/navigation2_tutorials/tree/master/nav2_gps_waypoint_follower_demo/worlds/tb3_sonoma_raceway.sdf.xacro>`_ has been setup using gazebo's navsat and spherical coordinates plugin, which creates a local tangent plane centered in the set geographic origin and provides latitude, longitude and altitude coordinates for each point in the world:
100100

101101
.. code-block:: xml
102102
@@ -121,7 +121,7 @@ To get GPS readings from Gazebo, we also need to modify the xacro and urdf for t
121121
122122
The changes that was done in xacro file ``gz_waffle_gps.sdf.xacro`` was to include the ``gps_link`` that includes the navsat sensor. In addition we create a joint for this link that publishes a static transform w.r.t. ``base_link``.
123123
124-
.. code-block:: xacro
124+
.. code-block:: xml
125125
126126
<link name="gps_link">
127127
<sensor name="navsat" type="navsat">
@@ -150,7 +150,7 @@ The changes that was done in xacro file ``gz_waffle_gps.sdf.xacro`` was to inclu
150150
151151
Additionally, the joint needs to be defined again in the urdf file ``turtlebot3_waffle_gps.urdf``
152152
153-
.. code-block:: urdf
153+
.. code-block:: xml
154154
155155
<joint name="gps_joint" type="fixed">
156156
<parent link="base_link"/>
@@ -159,7 +159,7 @@ Additionally, the joint needs to be defined again in the urdf file ``turtlebot3_
159159
</joint>
160160
<link name="gps_link"/>
161161
162-
In addition you need to include the gps topic in your gazebo to ros bridge file, an example of this can be found in the ``turtlebot3_waffle_gps_bridge.yaml`` in the `nav2_minimal_turtlebot_simulation repo <https://github.com/ros-navigation/nav2_minimal_turtlebot_simulation/blob/main/nav2_minimal_tb3_sim/config/turtlebot3_waffle_gps_bridge.yaml>`_
162+
In addition you need to include the gps topic in your gazebo to ros bridge file, an example of this can be found in the ``turtlebot3_waffle_gps_bridge.yaml`` in the `nav2_minimal_turtlebot_simulation <https://github.com/ros-navigation/nav2_minimal_turtlebot_simulation/blob/main/nav2_minimal_tb3_sim/config/turtlebot3_waffle_gps_bridge.yaml>`_ repository.
163163
164164
.. code-block:: yaml
165165
@@ -287,7 +287,7 @@ On a different terminal launch mapviz using the pre-built `config file <https://
287287
288288
* Stadiamaps: This would require an api key, see `Get a stadiamap Api key <https://docs.stadiamaps.com/static-maps/>`_ . Modify the config file as follows:
289289
290-
.. code-block:: yml
290+
.. code-block:: yaml
291291
292292
- type: mapviz_plugins/tile_map
293293
name: new display

0 commit comments

Comments
 (0)