Adds scaling option for calibrators#783
Adds scaling option for calibrators#783onurtore wants to merge 4 commits intoros-perception:noeticfrom
Conversation
Signed-off-by: delivers-26 <delivers-26@pop-os.localdomain>
Signed-off-by: delivers-26 <delivers-26@pop-os.localdomain>
Signed-off-by: delivers-26 <delivers-26@pop-os.localdomain>
|
@JWhitleyWork, |
|
@onurtore Thanks for the PR. However, this pretty significantly changes the behavior of the node. I'm OK with the idea that you're presenting but not with the change in the default behavior. Instead, can you check for the existence of the parameter and, if it isn't defined, use the current behavior? |
Signed-off-by: delivers-26 <delivers-26@pop-os.localdomain>
|
Hi @JWhitleyWork , While I fixed that with my latest commit, I belive the current version of the code is a little bit problematic, see the scale parameter is the scale of the input image relative to 640x480, however this behaviour does not look like intuitive, I believe when someone use such parameter it would expect making scale >1.0 scales up the input image, however the current implementation decreases it, so maybe I should change how the scale param calculated. Anyway, I belive this version is still acceptable if its okay, I can create a seperate PR for what I mentioned |
|
@JWhitleyWork, |
1 similar comment
|
@JWhitleyWork, |
New personal computers can handle the input without the need for downscaling, this commit makes it parametric.