compas_fab
compas_fab copied to clipboard
Runtime error (TypeErrorException): __init__() got an unexpected keyword argument 'pose'
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:
- Pull the crb15000_fabrication_control repository
- Compose-up the local docker file
- Run /rhino/crb15000_env.3dm and /rhino/crb15000_moveit_control.ghx
- Load the clients and the robot (use ROS Robot model) and go to "Plan cartesian motion". IK should be calculated smoothly.
- 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 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