Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

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 @@ -20,6 +20,14 @@ Type: `double` Default: `0.3`

: The timeout value (seconds) for the costmap to be fully updated before a control effort can be computed.

### **`transform_staleness_threshold`**

Type: `double` Default: `0.0`

: Maximum allowed age (seconds) of the transform used to obtain the robot pose in the local costmap's global frame.
If the transform is older than this threshold, the controller server reports a transform error instead of computing a velocity command.
The check is enabled for positive values; values less than or equal to `0.0` disable it.

### **`use_realtime_priority`**

Type: `bool` Default: `false`
Expand Down Expand Up @@ -264,6 +272,7 @@ controller_server:
ros__parameters:
controller_frequency: 20.0
costmap_update_timeout: 0.3
transform_staleness_threshold: 1.0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
transform_staleness_threshold: 1.0
transform_staleness_threshold: 0.0

Please copy paste these to start off with, setting this to something that low is not a sane general default I don't think

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default is 0, these are just suggestions/examples, right? It's the same default value as AMCL's transform_tolerance, so 1.0 or a tiny bit more is what I'd set this to unless dealing with a very laggy system. Why would we suggest to have no check? :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think increasing this then, I think 1.0 would trip sometimes and be an annoying ghost in the system for users. How about 3.0?

min_x_velocity_threshold: 0.001
min_y_velocity_threshold: 0.5
min_theta_velocity_threshold: 0.001
Expand Down
Loading