Skip to content

compas_fab with compas_viewerΒ #31

@jwwang0-0

Description

@jwwang0-0

Describe the bug
Visualization of robot with compas_viewer is wrong

To Reproduce
Steps to reproduce the behavior:

  1. Package version - compas 2.13.0, compas_fab 1.1.0, compas_robots 0.6.0, compas_viewer 1.5.1
  2. Code
from compas_fab.backends import RosClient
from compas_viewer import Viewer


with RosClient() as ros:
    # Load complete model from ROS
    robot = ros.load_robot(load_geometry=True, precision=12)

    # Visualize robot
    viewer = Viewer()
    scene_object = viewer.scene.add(robot.model)
    viewer.show()
  1. Trying to load robot. For my case I am loading a ABB GOFA
  2. Image

Desktop (please complete the following information):

  • OS: [Windows 10]
  • Python version [3.10]
  • Python package manager [conda]

Additional context

I feel it would be nice to have clear guidelines and example code on compas_viewer with compas_fab. I have examples back in 2022 with compas_view2 but it seems things have all been updated a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions