compas
compas copied to clipboard
RobotModel SceneObject with Python3 in Rhino8
Describe the bug Robot visualization not possible with Python3 in Rhino8
To Reproduce Steps to reproduce the behavior:
from compas_robots.ghpython.scene import RobotModelObject
Load URDF from ROS
robot = ros_client.load_robot(
load_geometry=True,
urdf_param_name= '/robot_description,
srdf_param_name= '/robot_description_semantic')
robot.scene_object = RobotModelObject(robot.model)`
Expected behavior A RobotModelObject for visualization is attached to the Robot object
Error messages No scene object is registered for this data type: <type 'compas_robots.robot.model.RobotModel'> No module named System.Array
Desktop (please complete the following information):
- OS: Windows
- Python 3.9.10
- Python package manager Rhino (.rhinocode/py3.9-rh8)
#1356 Here an attempt on a fix for the System module incompatibility
yes, there are quite a few of these System problem in compas_ghpython in Rhino 8. thanks for the fix. will have a look...
Related pull request in compas_robots https://github.com/compas-dev/compas_robots/pull/16