Ask Your Question
0

Ros diagnostics aggregator, faster stale

asked 2020-09-25 06:59:04 -0500

Mackou gravatar image

Hello, I have noticed that ros diagnostics aggregator report that a node is "stale" after 5s without any diagnostics messages. Is there a way to reduce it to 2 or 3 seconds ? I think this value should not be hard coded anyway !

Thanks !

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-09-25 08:08:43 -0500

Mackou gravatar image

Answering my own question, Using the timeout parameter in the configuration of the analyzer works fine :

Example :

  sensors:
    type: AnalyzerGroup
    path: Sensors
    analyzers:
      base_hk:
        type: GenericAnalyzer
        path: Base Hokuyo
        timeout: 5.0
        find_and_remove_prefix: base_hokuyo_node
        num_items: 3
      tilt_hk:
        type: GenericAnalyzer
        path: Tilt Hokuyo
        timeout: 5.0
        find_and_remove_prefix: tilt_hokuyo_node
        num_items: 3
      imu:
        type: GenericAnalyzer
        path: IMU
        timeout: 5.0
        find_and_remove_prefix: imu_node
        num_items: 3
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-09-25 06:59:04 -0500

Seen: 12 times

Last updated: Sep 25