Skip to content
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

Problem with rendering using a fixed camera #39

Open
ErinZhang1998 opened this issue Nov 17, 2024 · 0 comments
Open

Problem with rendering using a fixed camera #39

ErinZhang1998 opened this issue Nov 17, 2024 · 0 comments

Comments

@ErinZhang1998
Copy link

Hi,

I am wondering how I can render using a camera with property cam_rs.type = mujoco.mjtCamera.mjCAMERA_FIXED where cam_rs is a mujoco.MjvCamera() object.
The camera doesn't seem to update unless I run mujoco.mj_step(self.model, self.data), where the model and data are from the mink configuration. However, mujoco.mj_step seem to mess with something that hurts the IK accuracy. The absolute error between the desired EE position and actual EE position accumulates as the trajectory gets longer.

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant