Skip to content

fix(ros2): reject non-positive NodeDiscovery period_sec - #851

Open
Bartok9 wants to merge 2 commits into
RobotecAI:mainfrom
Bartok9:aerial/node-discovery-period-sec
Open

fix(ros2): reject non-positive NodeDiscovery period_sec#851
Bartok9 wants to merge 2 commits into
RobotecAI:mainfrom
Bartok9:aerial/node-discovery-period-sec

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 26, 2026

Copy link
Copy Markdown

NodeDiscovery passed period_sec straight into create_timer. Zero/negative/NaN values fail later or thrash discovery; reject them at init.

Test uses a MagicMock node so ROS does not need to be live.

AI-assisted; human-reviewed.

Claim: bartok
Operator: bartok
Campaign: aerial-drone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant