Skip to content

Fix input buffer for multiple Omniscan operation - #176

Merged
patrickelectric merged 1 commit into
bluerobotics:masterfrom
sdotts:fix-data-swap
Aug 5, 2026
Merged

Fix input buffer for multiple Omniscan operation#176
patrickelectric merged 1 commit into
bluerobotics:masterfrom
sdotts:fix-data-swap

Conversation

@sdotts

@sdotts sdotts commented Jul 28, 2026

Copy link
Copy Markdown

Summary

There have been reports of issues when using two Omniscan 450s that the data that comes from the incorrect Omniscan and data "swaps sides". After looking at the code. each Device instance shares the same input buffer. I adjusted the template so that the generated code creates a new input buffer instance for each new device.
image (3)

Changes

Updated device.py.in template to create a new input buffer anytime a new device is initialized

Note

Change Tested with two Omniscan 450s.

@patrickelectric patrickelectric left a comment

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.

Nice find!

@patrickelectric
patrickelectric merged commit 252ca62 into bluerobotics:master Aug 5, 2026
4 checks passed
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.

2 participants