Skip to content

Display issues with hector drone in pin3 #2291

@fabinsch

Description

@fabinsch

Since I use pinocchio3 from conda, the hector drone from example-robot-data is not displayed properly in meshcat. This is not blocking me, I just thought I raise the issue as maybe others will experience display issues as well. I displayed a couple other quadrupeds and manipulator models from erd and they all look fine.

Steps to reproduce:

conda create --name erd_debug python=3.11 pinocchio example-robot-data meshcat-python ipython

then in ipython

import example_robot_data as erd
from pinocchio.visualize import MeshcatVisualizer
robot = erd.load("hector")
vizer =  MeshcatVisualizer(
    robot.model, robot.collision_model, robot.visual_model
)
vizer.initViewer(loadModel=True, open=True)
vizer.display(robot.q0)

It works as expected with

conda create --name erd_debug python=3.11 pinocchio==2.7.1 example-robot-data meshcat-python ipython

Screenshot from 2024-06-20 09-38-59
Screenshot from 2024-06-20 09-38-16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions