ros-simulation/stage_ros

Position of published camera image is wrong

SaschaHornauer opened this issue · 0 comments

It seems not possible to set the x or y coordinates of the camera pose and retrieve the correct image. Setting z works though, strangely enough. The cameras will be visible in the GUI at another spot though the image, published over ROS, still shows the original camera image, always from the center of the robot.

I tested this with one camera and by adding two cameras and changing their pose with e.g.:

turtlebot_camera(pose [0.13 1.055 0.05 0])
turtlebot_camera(pose [0.13 -1.055 0.05 0])

Neither does changing the x or y coordinate do anything to the received image over ROS nor do the Images differ if I use several cameras.

I'd love to try to fix that myself though I don't find the code where that is handled. I'd be happy for any suggestions as I'm trying to get around that problem for a deadline.