compas_fab icon indicating copy to clipboard operation
compas_fab copied to clipboard

Runtime error (TypeErrorException): __init__() got an unexpected keyword argument 'pose'

Open JulianTrummer opened this issue 2 years ago • 1 comments

Describe the bug Inverse kinematics returns an error once a tool is attached. The tool components were copied/pasted from a different robot environment (IRB 6700); there it works perfectly well with the same setup (with the obvious exception of the Dockerfile).

To Reproduce Steps to reproduce the behavior:

  1. Pull the crb15000_fabrication_control repository
  2. Compose-up the local docker file
  3. Run /rhino/crb15000_env.3dm and /rhino/crb15000_moveit_control.ghx
  4. Load the clients and the robot (use ROS Robot model) and go to "Plan cartesian motion". IK should be calculated smoothly.
  5. Now attach a tool and try again. You should receive the following error message:
Runtime error (TypeErrorException): __init__() got an unexpected keyword argument 'pose'

Traceback:
  line 45, in plan_cartesian_motion, "C:\Users\julia\AppData\Roaming\McNeel\Rhinoceros\7.0\scripts\compas_fab\backends\ros\planner.py"
  line 35, in plan_cartesian_motion, "C:\Users\julia\AppData\Roaming\McNeel\Rhinoceros\7.0\scripts\compas_fab\backends\interfaces\client.py"
  line 136, in await_callback, "C:\Users\julia\AppData\Roaming\McNeel\Rhinoceros\7.0\scripts\compas\utilities\azync.py"
  line 103, in plan_cartesian_motion, "C:\Users\julia\AppData\Roaming\McNeel\Rhinoceros\7.0\scripts\compas_fab\backends\ros\backend_features\move_it_plan_cartesian_motion.py"
  line 133, in __call__, "C:\Users\julia\AppData\Roaming\McNeel\Rhinoceros\7.0\scripts\compas_fab\backends\interfaces\backend_features.py"
  line 1474, in plan_cartesian_motion, "C:\Users\julia\AppData\Roaming\McNeel\Rhinoceros\7.0\scripts\compas_fab\robots\robot.py"
  line 46, in script

Expected behavior Calculate the IK

Desktop (please complete the following information):

  • Windows 10
  • Python 3.10.4
  • Compas 1.15.1
  • Compas_Fab 0.22.0

JulianTrummer avatar May 04 '22 15:05 JulianTrummer

@JulianTrummer could you please check again using an install from source? This should be fixed by this: https://github.com/compas-dev/compas_fab/pull/366

gonzalocasas avatar Sep 06 '22 08:09 gonzalocasas