Skip to content

Conversation

@NiklasNeugebauer
Copy link
Contributor

@NiklasNeugebauer NiklasNeugebauer commented Dec 9, 2025

Motivation

We want to use two new camera firmwares with rosys.

Implementation

This adds anjoy cameras with their (observed) mac range and OpenIPC cameras with the mac range that we set for them.
The functions for determining vendor and mac were also refactored to use dicts. Otherwise, we would run into a "too many return statements" Pylint error now.

Progress

  • I chose a meaningful title that completes the sentence: "If applied, this PR will..."
  • I chose meaningful labels (if GitHub allows me to so).
  • The implementation is complete.
  • Pytests have been added (or are not necessary).
  • Documentation has been added (or is not necessary).

@NiklasNeugebauer NiklasNeugebauer added this to the 0.32.0 milestone Dec 10, 2025
@pascalzauberzeug pascalzauberzeug changed the title add anjoy to vendor list Add anjoy to vendor list Dec 11, 2025
@pascalzauberzeug pascalzauberzeug added the enhancement New feature or request label Dec 11, 2025
@NiklasNeugebauer NiklasNeugebauer changed the title Add anjoy to vendor list Add Anjoy and OpenIPC cameras to vendor list Dec 16, 2025
@NiklasNeugebauer NiklasNeugebauer marked this pull request as ready for review December 16, 2025 14:29
@NiklasNeugebauer NiklasNeugebauer merged commit 036a37f into main Dec 17, 2025
5 checks passed
@NiklasNeugebauer NiklasNeugebauer deleted the anjoy-cameras branch December 17, 2025 08:41
NiklasNeugebauer pushed a commit that referenced this pull request Dec 19, 2025
### Motivation

#376 broke the vendor-to-url mapping for device types with more complex
f-string expressions since `.format()` (apparently) cannot handle those,
resulting in: `KeyError: '"sub" if substream else "main"'`

### Implementation

Use a function with match instead of a dict.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants