You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: behavior_trees/overview/detailed_behavior_tree_walkthrough.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -255,6 +255,7 @@ At the top level, a ``Sequence`` ensures the following steps are executed in ord
255
255
- 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.
256
256
257
257
- 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
+
258
259
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.
259
260
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".
Copy file name to clipboardExpand all lines: migration/Kilted.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,4 +231,4 @@ Added PersistentSequence and PauseResumeController Control Nodes
231
231
232
232
In `PR #5247 <https://github.com/ros-navigation/navigation2/pull/5247>`_ two new Nav2 specific behavior tree control nodes have been added.
233
233
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.
Copy file name to clipboardExpand all lines: tutorials/docs/navigation2_with_gps.rst
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ Tutorial Steps
96
96
0- Setup Gazebo World
97
97
---------------------
98
98
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:
100
100
101
101
.. code-block:: xml
102
102
@@ -121,7 +121,7 @@ To get GPS readings from Gazebo, we also need to modify the xacro and urdf for t
121
121
122
122
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``.
123
123
124
-
.. code-block:: xacro
124
+
.. code-block:: xml
125
125
126
126
<link name="gps_link">
127
127
<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
150
150
151
151
Additionally, the joint needs to be defined again in the urdf file ``turtlebot3_waffle_gps.urdf``
152
152
153
-
.. code-block:: urdf
153
+
.. code-block:: xml
154
154
155
155
<joint name="gps_joint" type="fixed">
156
156
<parent link="base_link"/>
@@ -159,7 +159,7 @@ Additionally, the joint needs to be defined again in the urdf file ``turtlebot3_
159
159
</joint>
160
160
<link name="gps_link"/>
161
161
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.
163
163
164
164
.. code-block:: yaml
165
165
@@ -287,7 +287,7 @@ On a different terminal launch mapviz using the pre-built `config file <https://
287
287
288
288
* 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:
0 commit comments