micro-ROS / micro-ROS/micro_ros_diagnostics

key_value_buffer is static and would cause issues if two updaters are created

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted updater
Dominant language
C
Stars
10
Forks
10
PR merge metrics
No merged PRs in 30d

Description

As the title says, in micro_ros_diagnostic_updater the buffer utilized for the updater is static, perhaps should be part of one of the internal structs utilized instead.

Contributor guide

Open the contributing guide

Research direction

Locate the micro_ros_diagnostic_updater implementation and inspect how key_value_buffer is declared and used. Exercise the updater with two instances to reproduce shared-buffer interference, then verify that each updater keeps its own buffer without affecting the other.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.