-
Notifications
You must be signed in to change notification settings - Fork 978
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
[Question] Question on Setting up the camera on robot head, but the pose is not as what I have setting #1437
Comments
Thank you for posting this. Maybe you forgot to do a |
Thank you for reply, but I did have the reset method on my script, here is my whole script :
For example, by using the slider of orientation in isaac sim, I have acquired the quaternion are (0.12279, 0.69636, -0.12279, 0.69636), and after I filled in the numbers, and ran the script, I went back to check the value, it shows that the camera is on (0.69636,-0.12279,-0.69636,-0.12279),and the camera is upside down and inside out flipped. My best guess is the order problem, since they values are right but not the order and sign ? But I am not sure how to fix it ... |
Question
I am using isaac Sim 4.2.0.2 and omni-isaac-lab 0.24.19
I was using the following code for setting up a camera on my robot's head
The rotation value acquired first by using the slider inside the simulation , and I adjust the value slider to suitable pose and marked it down. But after I filled the value up on the cfg. When I got inside the sim ,the value still not as what as I set.
Should I do a some what operation similar to
robot.write_joint_state_to_sim(joint_pos, joint_vel)
?Since I found out that, for robot , if I want the initial joint set as the value in ArticulationCfg, I must do a such operation first to reset it before the simulation (B.T.W, I am also not sure, if this the correct usage, I do learn it from examples which they use it inside the simulation loop as reset procedure, but not before it. But if I don't reset it first, the simulation will start from 0 point and slowly move to the initial pose, which is not desired).
Wish someone has solution or experience on it.
Thanks ahead for kindly help from the community.
Hat tip to you!
The text was updated successfully, but these errors were encountered: