Skip to content

Conversation

furbrain
Copy link

@furbrain furbrain commented Sep 9, 2025

Calling the SetCameraInfo service fails for a couple of reasons.

Firstly the function signature for CameraInfoManager.setCameraInfo has changed from

def setCameraInfo(self, request):

to

def setCameraInfo(self, request, response):

Secondly yaml.safe_dump does not accept array.array and numpy.ndarray which are both used internally by the CameraInfo message type.

This pull request corrects both errors on rolling (may need backporting, but I'm not sure how to do that on github).

Best Wishes,

Phil

Copy link
Collaborator

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@furbrain
Copy link
Author

Ah yes, should be fixed now

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