-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error of running Position Control #4
Comments
Is the robot's position updating correctly? |
How should I check? |
When the robot moves in real life, does it move in Unity? |
Thank you for reply. |
That's good. Can you confirm that the kinect is actually streaming data on the ROS side, such as in RViz? In addition, can you please confirm that the Kinect has a transform that can accessed relative to the robot base transform? The error that you're getting in the Unity scene is that a specific key in the TFListener is not available, which is preventing something in the unity scene from being updated. Considering the robot is updating and not the kinect, I suspect it is the kinect, and that it's transform is not being streamed properly. Can you add a debug statement to line 21 of the TFListener (where the error is happening), and print out the name of the key so we can verify what transform is failing to be updated? |
Thank you for reply. I'm sorry. Could you tell me how to print out the name of the key? And does the fact that the left gripper transform ( l_grepper_l_finger , l_grepper_l_finger_tip , l_grepper_r_finger , l_grepper_r_finger_tip) does not exist affect? I am worried about it. |
On line 20 of TFListener.cs in the scripts folder, right before line 21, can you add the line: I don't believe the fact that the left gripper transform is not showing matters, but this step will help us confirm that. |
Hello,
I am trying to control our Baxter robot with HTC vive.
My baxter has a right electric gripper but does not have a left electric gripper (Instead left vacuum gripper).
So, I changed the launch file (https://github.com/h2r/ros_reality_bridge/blob/master/launch/ros_reality_bridge.launch) to not use the electric gripper on the left arm. Specifically, I deleted line 15.
After changing the launch file, I could run ros_reality_bridge.launch without problem.
But in Windows cmputer, when I run one scene (Position Control), some error occurs.
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[System.String,System.String].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150)
TFListener.Update () (at Assets/Scripts/TFListener.cs:21)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Image from the right_hand_camera and the left_hand_camera is output on the VR space.
However, depth image and color image from kinect is not output on the VR space.
Do you know what is the problem?
The text was updated successfully, but these errors were encountered: