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

RobotToMaskImage doesn't align #2705

Open
Affonso-Gui opened this issue Jun 30, 2022 · 3 comments
Open

RobotToMaskImage doesn't align #2705

Affonso-Gui opened this issue Jun 30, 2022 · 3 comments

Comments

@Affonso-Gui
Copy link
Member

RobotToMaskImage (doc ) seems to be a bit off.

image_overlay

The robot is not moving at all in the image above, so time lag is not a factor.
Is this kind of error expected?

  <node name="robot_to_mask_image"
        pkg="nodelet" type="nodelet"
        args="standalone jsk_perception/RobotToMaskImage">
    <remap from="~input/camera_info" to="/kinect_head/rgb/camera_info"/>
    <rosparam>
      self_see_links:
        - name: l_gripper_palm_link
        - name: l_gripper_l_finger_link
        - name: l_gripper_l_finger_tip_link
        - name: l_gripper_r_finger_link
        - name: l_gripper_r_finger_tip_link
        <!-- - name: r_gripper_palm_link -->
        <!-- - name: r_gripper_l_finger_link -->
        <!-- - name: r_gripper_l_finger_tip_link -->
        <!-- - name: r_gripper_r_finger_link -->
        <!-- - name: r_gripper_r_finger_tip_link -->
      self_see_default_padding: 0.0
    </rosparam>
  </node>
@iory
Copy link
Member

iory commented Jun 30, 2022

Could you show the image overlaying RobotModel with Camera in rviz?
http://wiki.ros.org/rviz/DisplayTypes/Camera

@Affonso-Gui
Copy link
Member Author

Yep, that seems to be the problem:
rviz_robotmask

Should we recallibrate the kinect camera then?

@iory
Copy link
Member

iory commented Jun 30, 2022

I see. It's a problem with hand-eye calibration.
There seem to be positions (also rotations) errors where the current camera is attached.
We can manually update them.

http://wiki.ros.org/pr2_calibration/Tutorials/Calibrating%20the%20PR2#Update_the_system

applications@pr1012:/etc/ros/indigo/urdf $ ls /etc/ros/indigo/urdf
pr2_1.11.14.urdf.xacro                 robot_calibrated_2019_07_05_17_09.xml  robot_uncalibrated_1.11.14.xml  robot.xml.backup
pr2_1.12.2.urdf.xacro                  robot_calibrated_2019_11_11.xml        robot_uncalibrated_1.12.2.xml
README                                 robot_calibrated_2019_11_22.xml        robot_uncalibrated.xml
robot_calibrated_2015_09_10_21_46.xml  robot_calibrated_2020_01_30.xml        robot.xml

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

2 participants