Open sloretz opened 8 years ago
I think following line is where the problem occurs. https://github.com/rtv/Stage/blob/master/libstage/model_camera.cc#L204 If we can agree to use model pose instead parent pose I think it could be resolved.
@rtv Any insight on this?
I observe the same issue
If we can agree to use model pose instead parent pose I think it could be resolved.
That's indeed the solution, see https://github.com/rtv/Stage/pull/97
In Stage-4.1.1 the camera model does not take into account the x and y parts of it's pose. Camera images appear to come from the perspective of the middle of the ModelPosition the camera is on. They should instead be coming from the center of the ModelCamera itself.
The camera below should not be able to see the robot body, but it does.
Here's a stage world that reproduces the issue