-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Compass rose isn't being transformed properly #6257
Comments
@charlesh88 , let me know when you need help with the Vue wiring. |
Not fixed. Reproduction steps:
|
@khalidadil to test |
@khalidadil I was confused by this as well. It might actually be legit. If the Navcam is looking over its rear left and right "shoulders". From looking at the other images, the rover body is not being modeled in this sim run. |
ah, got it! I think I'm also seeing something else, where the rover body jumps around after clicking an image. It doesn't happen very often, and it doesn't seem to be consistently reproducible. |
@khalidadil Confirmed that the PTU pan value was like -160, -170 degrees. So I think it was looking over its shoulder when those images were taken. |
Summary
For cameras other than the nav cam, toggling the compass rose from FOV "up" to north "up" doesn't properly transform the equipment (spacecraft/rover) body SVG element properly.
Initially loaded FOV "up" for aftcam:
Having toggled the rose to north "up":
Note erroneous position of the body element.
Expected vs Current Behavior
The equipment body element should be rotated in registration with FOV element.
Solution
The FOV indicator and rose ticks (green and yellow arrows) are rotated on toggle which is correct, but the equipment inner
__body
element is also being rotated on toggle - this is wrong. That element should only be transformed for cases where the camera rotates with respect to the body, like a gimbaled camera.Instead, all of
cr-vrover
should rotate with the FOV. The fix here therefore (maybe?) is:cr-vrover
into thec-cr__cam-fov
element, and rename that for clarity. Continue to rotate that element as current.cr-vrover__body
that is firing in response to compass toggling; instead, make sure that element is only transformed in the case of a gimbaled camera.Steps to Reproduce
Environment
Impact Check List
Additional Information
The text was updated successfully, but these errors were encountered: