compas-dev / compas-dev/compas_fab

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

Open
#355 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
137
Forks
47
PR merge metrics
No merged PRs in 30d

Description

**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](https://github.com/augmentedfabricationlab/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.