-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camera, left_camera and right_camera parameters aren't used #1064
Comments
It looks like #792 reverted the commit you mentioned, in favor of using remap rules rather than parameters (which is more ROS-y). You should be able to use a remap rather than a parameter - for instance, the linked PR has the following example: Per our documentation, you should be able to remap the left/right cameras:
The first remap is for the image_raw/camera_info topics, and the second is for the camera info services. As noted in that tutorial, that command assumes your topic/service names are:
|
Ah, thanks! I had already tried that, though. I just get:
followed by a:
I tried stereo calibration, but also monocular calibration doesn't work (throws the same errors): Note that these two services do exists. Shouldn't that be enough?
|
Several followups:
|
Sorry, should have mentioned both of those things:
This exact command works when I cherry-pick the commit which uses parameters and change the last two -r to -p. I'll keep digging and try to build a minimal example. Maybe there's an issue with the service, because I create it inside a composable node and have little experience with those... |
Ah, I found the solution! Remapping like this doesn't work: This works:
But why...? |
So, I'm not very read up on rclpy - but it looks like there is a |
I can no longer change where the camera_calibrator looks for the set_camera_info parameters, because paths are hard coded.
I might be missing something, but it looks like currently on
rolling
,jazzy
andhumble
branches, the camera_calibrator ignores the camera, left_camera and right_camera parameters (again).This was already reported in #754 and fixed in:
#755
It had also already been placed on rolling:
#761
But somehow the tip of the all of current branches is missing this change, making it impossible to set the location of the set_camera_info services. They all contain hard-coded paths:
image_pipeline/camera_calibration/src/camera_calibration/camera_calibrator.py
Line 106 in 722ca08
Or am I missing something and there's now a different way to remap the service locations?
The text was updated successfully, but these errors were encountered: