Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Input Ports
============== =======

Description
Whether to enable or disable the collision monitor.
Whether to enable or disable the collision monitor.

:service_name:

Expand All @@ -29,7 +29,7 @@ Input Ports
============== =======

Description
Service name.
Service name.

:server_timeout:

Expand All @@ -40,7 +40,7 @@ Input Ports
============== =======

Description
Server timeout (ms).
Server timeout (ms).

Example
-------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@ The data may be obtained from different data sources:
Parameters
**********

:enabled:

============== =============================
Type Default
-------------- -----------------------------
bool True
============== =============================

Description:
Sets the initial state. This can come in handy when the robot is docked/inside any of the zones at startup and the node needs to be disabled then.
Please note that is not a dynamic parameter, there's ``/toggle`` service interface
and `BT Node <https://docs.nav2.org/configuration/packages/bt-plugins/actions/ToggleCollisionMonitor.html>`_ to update this state later at runtime.

:base_frame_id:

============== =============================
Expand Down Expand Up @@ -651,6 +664,7 @@ Here is an example of configuration YAML for the Collision Monitor.

collision_monitor:
ros__parameters:
enabled: True
base_frame_id: "base_footprint"
odom_frame_id: "odom"
cmd_vel_in_topic: "cmd_vel_smoothed"
Expand Down
1 change: 1 addition & 0 deletions tutorials/docs/using_collision_monitor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ The whole ``nav2_collision_monitor/params/collision_monitor_params.yaml`` file i

collision_monitor:
ros__parameters:
enabled: True
base_frame_id: "base_footprint"
odom_frame_id: "odom"
cmd_vel_in_topic: "cmd_vel_smoothed"
Expand Down
Loading