forked from ros-navigation/docs.nav2.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding docs for loopback sim (ros-navigation#580)
* Addingdocs for loopback sim Signed-off-by: Steve Macenski <[email protected]> * fix typo --------- Signed-off-by: Steve Macenski <[email protected]> Signed-off-by: Rob Fisher <[email protected]>
- Loading branch information
1 parent
949c6e8
commit 99c918e
Showing
3 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
.. _configuring_loopback_sim: | ||
|
||
Loopback Simulator | ||
################## | ||
|
||
Source code on Github_. | ||
|
||
.. _Github: https://github.com/ros-navigation/navigation2/tree/main/nav2_loopback_sim | ||
|
||
|
||
The ``nav2_loopback_sim`` is a stand-alone simulator to create a "loopback" for non-physical simulation to replace robot hardware, physics simulators (Gazebo, Bullet, Isaac Sim, etc). | ||
It computes the robot's odometry based on the command velocity's output request to create a perfect 'frictionless plane'-style simulation for unit testing, system testing, R&D on higher level systems, testing behaviors without concerning yourself with localization accuracy or system dynamics, and multirobot simulations. | ||
|
||
Parameters | ||
********** | ||
|
||
:update_duration: | ||
|
||
============== ============== | ||
Type Default | ||
-------------- -------------- | ||
double 0.01 | ||
============== ============== | ||
|
||
Description | ||
The duration between updates (s) | ||
|
||
:base_frame_id: | ||
|
||
============== ============== | ||
Type Default | ||
-------------- -------------- | ||
string "base_link" | ||
============== ============== | ||
|
||
Description | ||
The base frame to use. | ||
|
||
:odom_frame_id: | ||
|
||
============== ============== | ||
Type Default | ||
-------------- -------------- | ||
string "odom" | ||
============== ============== | ||
|
||
Description | ||
The odom frame to use. | ||
|
||
:map_frame_id: | ||
|
||
============== ============== | ||
Type Default | ||
-------------- -------------- | ||
string "map" | ||
============== ============== | ||
|
||
Description | ||
The map frame to use. | ||
|
||
:scan_frame_id: | ||
|
||
============== ============== | ||
Type Default | ||
-------------- -------------- | ||
string "base_scan" | ||
============== ============== | ||
|
||
Description | ||
The scan frame to use to publish a scan for collision monitor's happiness | ||
|
||
Example | ||
******* | ||
.. code-block:: yaml | ||
loopback_simulator: | ||
ros__parameters: | ||
base_frame_id: "base_footprint" | ||
odom_frame_id: "odom" | ||
map_frame_id: "map" | ||
scan_frame_id: "base_scan" # tb4_loopback_simulator.launch.py remaps to 'rplidar_link' | ||
update_duration: 0.02 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters