Skip to content

Fix input buffer for multiple Omniscan operation - #176

Open
sdotts wants to merge 1 commit into
bluerobotics:masterfrom
sdotts:fix-data-swap
Open

Fix input buffer for multiple Omniscan operation#176
sdotts wants to merge 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.

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