No version for distro humble showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.3.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/selfpatch/ros2_medkit.git
VCS Type git
VCS Version main
Last Updated 2026-03-04
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Bridge node converting ROS2 /diagnostics to FaultManager faults

Maintainers

  • mfaferek93

Authors

No additional authors.

ros2_medkit_diagnostic_bridge

Bridge node that converts ROS2 /diagnostics messages to FaultManager faults.

Overview

This package provides backwards compatibility with existing ROS2 diagnostic infrastructure. It subscribes to the standard /diagnostics topic and forwards diagnostic status messages to the FaultManager as faults.

Severity Mapping

DiagnosticStatus Level Fault Severity Action
OK (0) - Sends PASSED event (healing)
WARN (1) WARN (1) Reports fault
ERROR (2) ERROR (2) Reports fault
STALE (3) CRITICAL (3) Reports fault

Quick Start

# Start FaultManager first
ros2 run ros2_medkit_fault_manager fault_manager_node

# Start DiagnosticBridge
ros2 run ros2_medkit_diagnostic_bridge diagnostic_bridge_node

Configuration

Parameters

Parameter Type Default Description
diagnostics_topic string /diagnostics Topic to subscribe to
auto_generate_codes bool true Auto-generate fault codes from diagnostic names
name_to_code.<name> string - Custom mapping from diagnostic name to fault code

Example Configuration

diagnostic_bridge:
  ros__parameters:
    diagnostics_topic: "/diagnostics"
    auto_generate_codes: true

    # Custom mappings (optional)
    # Format: "name_to_code.<diagnostic_name>": "<FAULT_CODE>"
    "name_to_code.motor_controller: Temperature": "MOTOR_OVERHEAT"
    "name_to_code.battery_monitor: Voltage": "BATTERY_LOW"

Fault Code Generation

When auto_generate_codes is enabled, diagnostic names are converted to fault codes:

Diagnostic Name Generated Fault Code
motor temp MOTOR_TEMP
motor: Status MOTOR_STATUS
/robot/sensor ROBOT_SENSOR

Custom mappings in name_to_code take priority over auto-generation.

Launch

# Using launch file with default config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py

# With custom config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py \
    config_file:=/path/to/custom_config.yaml

Integration with FaultManager

For full healing support, configure FaultManager with:

fault_manager:
  ros__parameters:
    healing_enabled: true
    healing_threshold: 1

When a diagnostic transitions from ERROR/STALE to OK, the bridge sends a PASSED event, allowing the fault to heal in FaultManager.

Building

colcon build --packages-select ros2_medkit_diagnostic_bridge

Testing

```bash colcon test –packages-select ros2_medkit_diagnostic_bridge

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package ros2_medkit_diagnostic_bridge

0.3.0 (2026-02-27)

  • Multi-distro CI support for ROS 2 Humble, Jazzy, and Rolling (#219, #242)
  • Contributors: \@bburda

0.2.0 (2026-02-07)

  • Initial rosdistro release
  • Bridge node converting standard ROS 2 /diagnostics to FaultManager fault reports
  • Severity mapping:
    • OK -> PASSED event (fault condition cleared)
    • WARN -> WARN severity FAILED event
    • ERROR -> ERROR severity FAILED event
    • STALE -> CRITICAL severity FAILED event
  • Auto-generated fault codes from diagnostic names (UPPER_SNAKE_CASE)
  • Custom name_to_code mappings via ROS parameters
  • Stateless design: always sends PASSED for OK status (handles restarts)
  • Contributors: Michal Faferek

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros2_medkit_diagnostic_bridge at Robotics Stack Exchange

Package Summary

Version 0.3.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/selfpatch/ros2_medkit.git
VCS Type git
VCS Version main
Last Updated 2026-03-04
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Bridge node converting ROS2 /diagnostics to FaultManager faults

Maintainers

  • mfaferek93

Authors

No additional authors.

ros2_medkit_diagnostic_bridge

Bridge node that converts ROS2 /diagnostics messages to FaultManager faults.

Overview

This package provides backwards compatibility with existing ROS2 diagnostic infrastructure. It subscribes to the standard /diagnostics topic and forwards diagnostic status messages to the FaultManager as faults.

Severity Mapping

DiagnosticStatus Level Fault Severity Action
OK (0) - Sends PASSED event (healing)
WARN (1) WARN (1) Reports fault
ERROR (2) ERROR (2) Reports fault
STALE (3) CRITICAL (3) Reports fault

Quick Start

# Start FaultManager first
ros2 run ros2_medkit_fault_manager fault_manager_node

# Start DiagnosticBridge
ros2 run ros2_medkit_diagnostic_bridge diagnostic_bridge_node

Configuration

Parameters

Parameter Type Default Description
diagnostics_topic string /diagnostics Topic to subscribe to
auto_generate_codes bool true Auto-generate fault codes from diagnostic names
name_to_code.<name> string - Custom mapping from diagnostic name to fault code

Example Configuration

diagnostic_bridge:
  ros__parameters:
    diagnostics_topic: "/diagnostics"
    auto_generate_codes: true

    # Custom mappings (optional)
    # Format: "name_to_code.<diagnostic_name>": "<FAULT_CODE>"
    "name_to_code.motor_controller: Temperature": "MOTOR_OVERHEAT"
    "name_to_code.battery_monitor: Voltage": "BATTERY_LOW"

Fault Code Generation

When auto_generate_codes is enabled, diagnostic names are converted to fault codes:

Diagnostic Name Generated Fault Code
motor temp MOTOR_TEMP
motor: Status MOTOR_STATUS
/robot/sensor ROBOT_SENSOR

Custom mappings in name_to_code take priority over auto-generation.

Launch

# Using launch file with default config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py

# With custom config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py \
    config_file:=/path/to/custom_config.yaml

Integration with FaultManager

For full healing support, configure FaultManager with:

fault_manager:
  ros__parameters:
    healing_enabled: true
    healing_threshold: 1

When a diagnostic transitions from ERROR/STALE to OK, the bridge sends a PASSED event, allowing the fault to heal in FaultManager.

Building

colcon build --packages-select ros2_medkit_diagnostic_bridge

Testing

```bash colcon test –packages-select ros2_medkit_diagnostic_bridge

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package ros2_medkit_diagnostic_bridge

0.3.0 (2026-02-27)

  • Multi-distro CI support for ROS 2 Humble, Jazzy, and Rolling (#219, #242)
  • Contributors: \@bburda

0.2.0 (2026-02-07)

  • Initial rosdistro release
  • Bridge node converting standard ROS 2 /diagnostics to FaultManager fault reports
  • Severity mapping:
    • OK -> PASSED event (fault condition cleared)
    • WARN -> WARN severity FAILED event
    • ERROR -> ERROR severity FAILED event
    • STALE -> CRITICAL severity FAILED event
  • Auto-generated fault codes from diagnostic names (UPPER_SNAKE_CASE)
  • Custom name_to_code mappings via ROS parameters
  • Stateless design: always sends PASSED for OK status (handles restarts)
  • Contributors: Michal Faferek

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros2_medkit_diagnostic_bridge at Robotics Stack Exchange

No version for distro kilted showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.3.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/selfpatch/ros2_medkit.git
VCS Type git
VCS Version main
Last Updated 2026-03-04
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Bridge node converting ROS2 /diagnostics to FaultManager faults

Maintainers

  • mfaferek93

Authors

No additional authors.

ros2_medkit_diagnostic_bridge

Bridge node that converts ROS2 /diagnostics messages to FaultManager faults.

Overview

This package provides backwards compatibility with existing ROS2 diagnostic infrastructure. It subscribes to the standard /diagnostics topic and forwards diagnostic status messages to the FaultManager as faults.

Severity Mapping

DiagnosticStatus Level Fault Severity Action
OK (0) - Sends PASSED event (healing)
WARN (1) WARN (1) Reports fault
ERROR (2) ERROR (2) Reports fault
STALE (3) CRITICAL (3) Reports fault

Quick Start

# Start FaultManager first
ros2 run ros2_medkit_fault_manager fault_manager_node

# Start DiagnosticBridge
ros2 run ros2_medkit_diagnostic_bridge diagnostic_bridge_node

Configuration

Parameters

Parameter Type Default Description
diagnostics_topic string /diagnostics Topic to subscribe to
auto_generate_codes bool true Auto-generate fault codes from diagnostic names
name_to_code.<name> string - Custom mapping from diagnostic name to fault code

Example Configuration

diagnostic_bridge:
  ros__parameters:
    diagnostics_topic: "/diagnostics"
    auto_generate_codes: true

    # Custom mappings (optional)
    # Format: "name_to_code.<diagnostic_name>": "<FAULT_CODE>"
    "name_to_code.motor_controller: Temperature": "MOTOR_OVERHEAT"
    "name_to_code.battery_monitor: Voltage": "BATTERY_LOW"

Fault Code Generation

When auto_generate_codes is enabled, diagnostic names are converted to fault codes:

Diagnostic Name Generated Fault Code
motor temp MOTOR_TEMP
motor: Status MOTOR_STATUS
/robot/sensor ROBOT_SENSOR

Custom mappings in name_to_code take priority over auto-generation.

Launch

# Using launch file with default config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py

# With custom config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py \
    config_file:=/path/to/custom_config.yaml

Integration with FaultManager

For full healing support, configure FaultManager with:

fault_manager:
  ros__parameters:
    healing_enabled: true
    healing_threshold: 1

When a diagnostic transitions from ERROR/STALE to OK, the bridge sends a PASSED event, allowing the fault to heal in FaultManager.

Building

colcon build --packages-select ros2_medkit_diagnostic_bridge

Testing

```bash colcon test –packages-select ros2_medkit_diagnostic_bridge

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package ros2_medkit_diagnostic_bridge

0.3.0 (2026-02-27)

  • Multi-distro CI support for ROS 2 Humble, Jazzy, and Rolling (#219, #242)
  • Contributors: \@bburda

0.2.0 (2026-02-07)

  • Initial rosdistro release
  • Bridge node converting standard ROS 2 /diagnostics to FaultManager fault reports
  • Severity mapping:
    • OK -> PASSED event (fault condition cleared)
    • WARN -> WARN severity FAILED event
    • ERROR -> ERROR severity FAILED event
    • STALE -> CRITICAL severity FAILED event
  • Auto-generated fault codes from diagnostic names (UPPER_SNAKE_CASE)
  • Custom name_to_code mappings via ROS parameters
  • Stateless design: always sends PASSED for OK status (handles restarts)
  • Contributors: Michal Faferek

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros2_medkit_diagnostic_bridge at Robotics Stack Exchange

No version for distro rolling showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.3.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/selfpatch/ros2_medkit.git
VCS Type git
VCS Version main
Last Updated 2026-03-04
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Bridge node converting ROS2 /diagnostics to FaultManager faults

Maintainers

  • mfaferek93

Authors

No additional authors.

ros2_medkit_diagnostic_bridge

Bridge node that converts ROS2 /diagnostics messages to FaultManager faults.

Overview

This package provides backwards compatibility with existing ROS2 diagnostic infrastructure. It subscribes to the standard /diagnostics topic and forwards diagnostic status messages to the FaultManager as faults.

Severity Mapping

DiagnosticStatus Level Fault Severity Action
OK (0) - Sends PASSED event (healing)
WARN (1) WARN (1) Reports fault
ERROR (2) ERROR (2) Reports fault
STALE (3) CRITICAL (3) Reports fault

Quick Start

# Start FaultManager first
ros2 run ros2_medkit_fault_manager fault_manager_node

# Start DiagnosticBridge
ros2 run ros2_medkit_diagnostic_bridge diagnostic_bridge_node

Configuration

Parameters

Parameter Type Default Description
diagnostics_topic string /diagnostics Topic to subscribe to
auto_generate_codes bool true Auto-generate fault codes from diagnostic names
name_to_code.<name> string - Custom mapping from diagnostic name to fault code

Example Configuration

diagnostic_bridge:
  ros__parameters:
    diagnostics_topic: "/diagnostics"
    auto_generate_codes: true

    # Custom mappings (optional)
    # Format: "name_to_code.<diagnostic_name>": "<FAULT_CODE>"
    "name_to_code.motor_controller: Temperature": "MOTOR_OVERHEAT"
    "name_to_code.battery_monitor: Voltage": "BATTERY_LOW"

Fault Code Generation

When auto_generate_codes is enabled, diagnostic names are converted to fault codes:

Diagnostic Name Generated Fault Code
motor temp MOTOR_TEMP
motor: Status MOTOR_STATUS
/robot/sensor ROBOT_SENSOR

Custom mappings in name_to_code take priority over auto-generation.

Launch

# Using launch file with default config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py

# With custom config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py \
    config_file:=/path/to/custom_config.yaml

Integration with FaultManager

For full healing support, configure FaultManager with:

fault_manager:
  ros__parameters:
    healing_enabled: true
    healing_threshold: 1

When a diagnostic transitions from ERROR/STALE to OK, the bridge sends a PASSED event, allowing the fault to heal in FaultManager.

Building

colcon build --packages-select ros2_medkit_diagnostic_bridge

Testing

```bash colcon test –packages-select ros2_medkit_diagnostic_bridge

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package ros2_medkit_diagnostic_bridge

0.3.0 (2026-02-27)

  • Multi-distro CI support for ROS 2 Humble, Jazzy, and Rolling (#219, #242)
  • Contributors: \@bburda

0.2.0 (2026-02-07)

  • Initial rosdistro release
  • Bridge node converting standard ROS 2 /diagnostics to FaultManager fault reports
  • Severity mapping:
    • OK -> PASSED event (fault condition cleared)
    • WARN -> WARN severity FAILED event
    • ERROR -> ERROR severity FAILED event
    • STALE -> CRITICAL severity FAILED event
  • Auto-generated fault codes from diagnostic names (UPPER_SNAKE_CASE)
  • Custom name_to_code mappings via ROS parameters
  • Stateless design: always sends PASSED for OK status (handles restarts)
  • Contributors: Michal Faferek

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros2_medkit_diagnostic_bridge at Robotics Stack Exchange

No version for distro github showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.3.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/selfpatch/ros2_medkit.git
VCS Type git
VCS Version main
Last Updated 2026-03-04
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Bridge node converting ROS2 /diagnostics to FaultManager faults

Maintainers

  • mfaferek93

Authors

No additional authors.

ros2_medkit_diagnostic_bridge

Bridge node that converts ROS2 /diagnostics messages to FaultManager faults.

Overview

This package provides backwards compatibility with existing ROS2 diagnostic infrastructure. It subscribes to the standard /diagnostics topic and forwards diagnostic status messages to the FaultManager as faults.

Severity Mapping

DiagnosticStatus Level Fault Severity Action
OK (0) - Sends PASSED event (healing)
WARN (1) WARN (1) Reports fault
ERROR (2) ERROR (2) Reports fault
STALE (3) CRITICAL (3) Reports fault

Quick Start

# Start FaultManager first
ros2 run ros2_medkit_fault_manager fault_manager_node

# Start DiagnosticBridge
ros2 run ros2_medkit_diagnostic_bridge diagnostic_bridge_node

Configuration

Parameters

Parameter Type Default Description
diagnostics_topic string /diagnostics Topic to subscribe to
auto_generate_codes bool true Auto-generate fault codes from diagnostic names
name_to_code.<name> string - Custom mapping from diagnostic name to fault code

Example Configuration

diagnostic_bridge:
  ros__parameters:
    diagnostics_topic: "/diagnostics"
    auto_generate_codes: true

    # Custom mappings (optional)
    # Format: "name_to_code.<diagnostic_name>": "<FAULT_CODE>"
    "name_to_code.motor_controller: Temperature": "MOTOR_OVERHEAT"
    "name_to_code.battery_monitor: Voltage": "BATTERY_LOW"

Fault Code Generation

When auto_generate_codes is enabled, diagnostic names are converted to fault codes:

Diagnostic Name Generated Fault Code
motor temp MOTOR_TEMP
motor: Status MOTOR_STATUS
/robot/sensor ROBOT_SENSOR

Custom mappings in name_to_code take priority over auto-generation.

Launch

# Using launch file with default config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py

# With custom config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py \
    config_file:=/path/to/custom_config.yaml

Integration with FaultManager

For full healing support, configure FaultManager with:

fault_manager:
  ros__parameters:
    healing_enabled: true
    healing_threshold: 1

When a diagnostic transitions from ERROR/STALE to OK, the bridge sends a PASSED event, allowing the fault to heal in FaultManager.

Building

colcon build --packages-select ros2_medkit_diagnostic_bridge

Testing

```bash colcon test –packages-select ros2_medkit_diagnostic_bridge

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package ros2_medkit_diagnostic_bridge

0.3.0 (2026-02-27)

  • Multi-distro CI support for ROS 2 Humble, Jazzy, and Rolling (#219, #242)
  • Contributors: \@bburda

0.2.0 (2026-02-07)

  • Initial rosdistro release
  • Bridge node converting standard ROS 2 /diagnostics to FaultManager fault reports
  • Severity mapping:
    • OK -> PASSED event (fault condition cleared)
    • WARN -> WARN severity FAILED event
    • ERROR -> ERROR severity FAILED event
    • STALE -> CRITICAL severity FAILED event
  • Auto-generated fault codes from diagnostic names (UPPER_SNAKE_CASE)
  • Custom name_to_code mappings via ROS parameters
  • Stateless design: always sends PASSED for OK status (handles restarts)
  • Contributors: Michal Faferek

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros2_medkit_diagnostic_bridge at Robotics Stack Exchange

No version for distro galactic showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.3.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/selfpatch/ros2_medkit.git
VCS Type git
VCS Version main
Last Updated 2026-03-04
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Bridge node converting ROS2 /diagnostics to FaultManager faults

Maintainers

  • mfaferek93

Authors

No additional authors.

ros2_medkit_diagnostic_bridge

Bridge node that converts ROS2 /diagnostics messages to FaultManager faults.

Overview

This package provides backwards compatibility with existing ROS2 diagnostic infrastructure. It subscribes to the standard /diagnostics topic and forwards diagnostic status messages to the FaultManager as faults.

Severity Mapping

DiagnosticStatus Level Fault Severity Action
OK (0) - Sends PASSED event (healing)
WARN (1) WARN (1) Reports fault
ERROR (2) ERROR (2) Reports fault
STALE (3) CRITICAL (3) Reports fault

Quick Start

# Start FaultManager first
ros2 run ros2_medkit_fault_manager fault_manager_node

# Start DiagnosticBridge
ros2 run ros2_medkit_diagnostic_bridge diagnostic_bridge_node

Configuration

Parameters

Parameter Type Default Description
diagnostics_topic string /diagnostics Topic to subscribe to
auto_generate_codes bool true Auto-generate fault codes from diagnostic names
name_to_code.<name> string - Custom mapping from diagnostic name to fault code

Example Configuration

diagnostic_bridge:
  ros__parameters:
    diagnostics_topic: "/diagnostics"
    auto_generate_codes: true

    # Custom mappings (optional)
    # Format: "name_to_code.<diagnostic_name>": "<FAULT_CODE>"
    "name_to_code.motor_controller: Temperature": "MOTOR_OVERHEAT"
    "name_to_code.battery_monitor: Voltage": "BATTERY_LOW"

Fault Code Generation

When auto_generate_codes is enabled, diagnostic names are converted to fault codes:

Diagnostic Name Generated Fault Code
motor temp MOTOR_TEMP
motor: Status MOTOR_STATUS
/robot/sensor ROBOT_SENSOR

Custom mappings in name_to_code take priority over auto-generation.

Launch

# Using launch file with default config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py

# With custom config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py \
    config_file:=/path/to/custom_config.yaml

Integration with FaultManager

For full healing support, configure FaultManager with:

fault_manager:
  ros__parameters:
    healing_enabled: true
    healing_threshold: 1

When a diagnostic transitions from ERROR/STALE to OK, the bridge sends a PASSED event, allowing the fault to heal in FaultManager.

Building

colcon build --packages-select ros2_medkit_diagnostic_bridge

Testing

```bash colcon test –packages-select ros2_medkit_diagnostic_bridge

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package ros2_medkit_diagnostic_bridge

0.3.0 (2026-02-27)

  • Multi-distro CI support for ROS 2 Humble, Jazzy, and Rolling (#219, #242)
  • Contributors: \@bburda

0.2.0 (2026-02-07)

  • Initial rosdistro release
  • Bridge node converting standard ROS 2 /diagnostics to FaultManager fault reports
  • Severity mapping:
    • OK -> PASSED event (fault condition cleared)
    • WARN -> WARN severity FAILED event
    • ERROR -> ERROR severity FAILED event
    • STALE -> CRITICAL severity FAILED event
  • Auto-generated fault codes from diagnostic names (UPPER_SNAKE_CASE)
  • Custom name_to_code mappings via ROS parameters
  • Stateless design: always sends PASSED for OK status (handles restarts)
  • Contributors: Michal Faferek

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros2_medkit_diagnostic_bridge at Robotics Stack Exchange

No version for distro iron showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.3.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/selfpatch/ros2_medkit.git
VCS Type git
VCS Version main
Last Updated 2026-03-04
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Bridge node converting ROS2 /diagnostics to FaultManager faults

Maintainers

  • mfaferek93

Authors

No additional authors.

ros2_medkit_diagnostic_bridge

Bridge node that converts ROS2 /diagnostics messages to FaultManager faults.

Overview

This package provides backwards compatibility with existing ROS2 diagnostic infrastructure. It subscribes to the standard /diagnostics topic and forwards diagnostic status messages to the FaultManager as faults.

Severity Mapping

DiagnosticStatus Level Fault Severity Action
OK (0) - Sends PASSED event (healing)
WARN (1) WARN (1) Reports fault
ERROR (2) ERROR (2) Reports fault
STALE (3) CRITICAL (3) Reports fault

Quick Start

# Start FaultManager first
ros2 run ros2_medkit_fault_manager fault_manager_node

# Start DiagnosticBridge
ros2 run ros2_medkit_diagnostic_bridge diagnostic_bridge_node

Configuration

Parameters

Parameter Type Default Description
diagnostics_topic string /diagnostics Topic to subscribe to
auto_generate_codes bool true Auto-generate fault codes from diagnostic names
name_to_code.<name> string - Custom mapping from diagnostic name to fault code

Example Configuration

diagnostic_bridge:
  ros__parameters:
    diagnostics_topic: "/diagnostics"
    auto_generate_codes: true

    # Custom mappings (optional)
    # Format: "name_to_code.<diagnostic_name>": "<FAULT_CODE>"
    "name_to_code.motor_controller: Temperature": "MOTOR_OVERHEAT"
    "name_to_code.battery_monitor: Voltage": "BATTERY_LOW"

Fault Code Generation

When auto_generate_codes is enabled, diagnostic names are converted to fault codes:

Diagnostic Name Generated Fault Code
motor temp MOTOR_TEMP
motor: Status MOTOR_STATUS
/robot/sensor ROBOT_SENSOR

Custom mappings in name_to_code take priority over auto-generation.

Launch

# Using launch file with default config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py

# With custom config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py \
    config_file:=/path/to/custom_config.yaml

Integration with FaultManager

For full healing support, configure FaultManager with:

fault_manager:
  ros__parameters:
    healing_enabled: true
    healing_threshold: 1

When a diagnostic transitions from ERROR/STALE to OK, the bridge sends a PASSED event, allowing the fault to heal in FaultManager.

Building

colcon build --packages-select ros2_medkit_diagnostic_bridge

Testing

```bash colcon test –packages-select ros2_medkit_diagnostic_bridge

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package ros2_medkit_diagnostic_bridge

0.3.0 (2026-02-27)

  • Multi-distro CI support for ROS 2 Humble, Jazzy, and Rolling (#219, #242)
  • Contributors: \@bburda

0.2.0 (2026-02-07)

  • Initial rosdistro release
  • Bridge node converting standard ROS 2 /diagnostics to FaultManager fault reports
  • Severity mapping:
    • OK -> PASSED event (fault condition cleared)
    • WARN -> WARN severity FAILED event
    • ERROR -> ERROR severity FAILED event
    • STALE -> CRITICAL severity FAILED event
  • Auto-generated fault codes from diagnostic names (UPPER_SNAKE_CASE)
  • Custom name_to_code mappings via ROS parameters
  • Stateless design: always sends PASSED for OK status (handles restarts)
  • Contributors: Michal Faferek

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros2_medkit_diagnostic_bridge at Robotics Stack Exchange

No version for distro melodic showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.3.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/selfpatch/ros2_medkit.git
VCS Type git
VCS Version main
Last Updated 2026-03-04
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Bridge node converting ROS2 /diagnostics to FaultManager faults

Maintainers

  • mfaferek93

Authors

No additional authors.

ros2_medkit_diagnostic_bridge

Bridge node that converts ROS2 /diagnostics messages to FaultManager faults.

Overview

This package provides backwards compatibility with existing ROS2 diagnostic infrastructure. It subscribes to the standard /diagnostics topic and forwards diagnostic status messages to the FaultManager as faults.

Severity Mapping

DiagnosticStatus Level Fault Severity Action
OK (0) - Sends PASSED event (healing)
WARN (1) WARN (1) Reports fault
ERROR (2) ERROR (2) Reports fault
STALE (3) CRITICAL (3) Reports fault

Quick Start

# Start FaultManager first
ros2 run ros2_medkit_fault_manager fault_manager_node

# Start DiagnosticBridge
ros2 run ros2_medkit_diagnostic_bridge diagnostic_bridge_node

Configuration

Parameters

Parameter Type Default Description
diagnostics_topic string /diagnostics Topic to subscribe to
auto_generate_codes bool true Auto-generate fault codes from diagnostic names
name_to_code.<name> string - Custom mapping from diagnostic name to fault code

Example Configuration

diagnostic_bridge:
  ros__parameters:
    diagnostics_topic: "/diagnostics"
    auto_generate_codes: true

    # Custom mappings (optional)
    # Format: "name_to_code.<diagnostic_name>": "<FAULT_CODE>"
    "name_to_code.motor_controller: Temperature": "MOTOR_OVERHEAT"
    "name_to_code.battery_monitor: Voltage": "BATTERY_LOW"

Fault Code Generation

When auto_generate_codes is enabled, diagnostic names are converted to fault codes:

Diagnostic Name Generated Fault Code
motor temp MOTOR_TEMP
motor: Status MOTOR_STATUS
/robot/sensor ROBOT_SENSOR

Custom mappings in name_to_code take priority over auto-generation.

Launch

# Using launch file with default config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py

# With custom config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py \
    config_file:=/path/to/custom_config.yaml

Integration with FaultManager

For full healing support, configure FaultManager with:

fault_manager:
  ros__parameters:
    healing_enabled: true
    healing_threshold: 1

When a diagnostic transitions from ERROR/STALE to OK, the bridge sends a PASSED event, allowing the fault to heal in FaultManager.

Building

colcon build --packages-select ros2_medkit_diagnostic_bridge

Testing

```bash colcon test –packages-select ros2_medkit_diagnostic_bridge

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package ros2_medkit_diagnostic_bridge

0.3.0 (2026-02-27)

  • Multi-distro CI support for ROS 2 Humble, Jazzy, and Rolling (#219, #242)
  • Contributors: \@bburda

0.2.0 (2026-02-07)

  • Initial rosdistro release
  • Bridge node converting standard ROS 2 /diagnostics to FaultManager fault reports
  • Severity mapping:
    • OK -> PASSED event (fault condition cleared)
    • WARN -> WARN severity FAILED event
    • ERROR -> ERROR severity FAILED event
    • STALE -> CRITICAL severity FAILED event
  • Auto-generated fault codes from diagnostic names (UPPER_SNAKE_CASE)
  • Custom name_to_code mappings via ROS parameters
  • Stateless design: always sends PASSED for OK status (handles restarts)
  • Contributors: Michal Faferek

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros2_medkit_diagnostic_bridge at Robotics Stack Exchange

No version for distro noetic showing jazzy. Known supported distros are highlighted in the buttons above.

Package Summary

Version 0.3.0
License Apache-2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/selfpatch/ros2_medkit.git
VCS Type git
VCS Version main
Last Updated 2026-03-04
Dev Status DEVELOPED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Bridge node converting ROS2 /diagnostics to FaultManager faults

Maintainers

  • mfaferek93

Authors

No additional authors.

ros2_medkit_diagnostic_bridge

Bridge node that converts ROS2 /diagnostics messages to FaultManager faults.

Overview

This package provides backwards compatibility with existing ROS2 diagnostic infrastructure. It subscribes to the standard /diagnostics topic and forwards diagnostic status messages to the FaultManager as faults.

Severity Mapping

DiagnosticStatus Level Fault Severity Action
OK (0) - Sends PASSED event (healing)
WARN (1) WARN (1) Reports fault
ERROR (2) ERROR (2) Reports fault
STALE (3) CRITICAL (3) Reports fault

Quick Start

# Start FaultManager first
ros2 run ros2_medkit_fault_manager fault_manager_node

# Start DiagnosticBridge
ros2 run ros2_medkit_diagnostic_bridge diagnostic_bridge_node

Configuration

Parameters

Parameter Type Default Description
diagnostics_topic string /diagnostics Topic to subscribe to
auto_generate_codes bool true Auto-generate fault codes from diagnostic names
name_to_code.<name> string - Custom mapping from diagnostic name to fault code

Example Configuration

diagnostic_bridge:
  ros__parameters:
    diagnostics_topic: "/diagnostics"
    auto_generate_codes: true

    # Custom mappings (optional)
    # Format: "name_to_code.<diagnostic_name>": "<FAULT_CODE>"
    "name_to_code.motor_controller: Temperature": "MOTOR_OVERHEAT"
    "name_to_code.battery_monitor: Voltage": "BATTERY_LOW"

Fault Code Generation

When auto_generate_codes is enabled, diagnostic names are converted to fault codes:

Diagnostic Name Generated Fault Code
motor temp MOTOR_TEMP
motor: Status MOTOR_STATUS
/robot/sensor ROBOT_SENSOR

Custom mappings in name_to_code take priority over auto-generation.

Launch

# Using launch file with default config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py

# With custom config
ros2 launch ros2_medkit_diagnostic_bridge diagnostic_bridge.launch.py \
    config_file:=/path/to/custom_config.yaml

Integration with FaultManager

For full healing support, configure FaultManager with:

fault_manager:
  ros__parameters:
    healing_enabled: true
    healing_threshold: 1

When a diagnostic transitions from ERROR/STALE to OK, the bridge sends a PASSED event, allowing the fault to heal in FaultManager.

Building

colcon build --packages-select ros2_medkit_diagnostic_bridge

Testing

```bash colcon test –packages-select ros2_medkit_diagnostic_bridge

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package ros2_medkit_diagnostic_bridge

0.3.0 (2026-02-27)

  • Multi-distro CI support for ROS 2 Humble, Jazzy, and Rolling (#219, #242)
  • Contributors: \@bburda

0.2.0 (2026-02-07)

  • Initial rosdistro release
  • Bridge node converting standard ROS 2 /diagnostics to FaultManager fault reports
  • Severity mapping:
    • OK -> PASSED event (fault condition cleared)
    • WARN -> WARN severity FAILED event
    • ERROR -> ERROR severity FAILED event
    • STALE -> CRITICAL severity FAILED event
  • Auto-generated fault codes from diagnostic names (UPPER_SNAKE_CASE)
  • Custom name_to_code mappings via ROS parameters
  • Stateless design: always sends PASSED for OK status (handles restarts)
  • Contributors: Michal Faferek

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros2_medkit_diagnostic_bridge at Robotics Stack Exchange