Skip to content

Recognize MAXON as well as ELMO sipper start messages in syslog - #214

Merged
MBARIMike merged 1 commit into
mbari-org:mainfrom
MBARIMike:main
Nov 25, 2026
Merged

MBARIMike merged 1 commit into
mbari-org:mainfrom
MBARIMike:main

Conversation

@MBARIMike

Copy link
Copy Markdown
Collaborator

The CANONSampler start-of-sip message names the motor controller driving the sampler, and some vehicles log "MAXON will go to position" instead of "ELMO will go to position". Only ELMO was matched, so sips from MAXON-equipped samplers were missed.

Add SIPPERING_MAXON and a SIPPERING_MARKERS tuple, and match any marker in Sipper._parse_lines(). SIPPERING keeps its ELMO value so existing imports are unaffected. Start messages of either kind are paired with Sample/err_code messages in arrival order as before.

Add tests for MAXON-only and mixed ELMO/MAXON syslogs.

The CANONSampler start-of-sip message names the motor controller
driving the sampler, and some vehicles log "MAXON will go to position"
instead of "ELMO will go to position". Only ELMO was matched, so sips
from MAXON-equipped samplers were missed.

Add SIPPERING_MAXON and a SIPPERING_MARKERS tuple, and match any marker
in Sipper._parse_lines(). SIPPERING keeps its ELMO value so existing
imports are unaffected. Start messages of either kind are paired with
Sample/err_code messages in arrival order as before.

Add tests for MAXON-only and mixed ELMO/MAXON syslogs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@MBARIMike
MBARIMike merged commit e5cf3ac into mbari-org:main Nov 25, 2026
2 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.

1 participant