public override void Draw(Drawing3d drawing, MultiDOFJointStateMsg message, MessageMetadata meta)
    {
#if URDF_IMPORTER
        drawing.SetTFTrackingSettings(m_TFTrackingSettings, message.header);
        m_RobotData.DrawGhost(drawing, message, SelectColor(m_Color, meta));
#endif
    }
Esempio n. 2
0
    public override void Draw(Drawing3d drawing, JointStateMsg message, MessageMetadata meta)
    {
#if URDF_IMPORTER
        drawing.SetTFTrackingSettings(m_TFTrackingSettings, message.header);
        var color = SelectColor(m_Color, meta);
        m_RobotData.DrawGhost(drawing, message, color);
        if (m_ShowEffort)
        {
            m_RobotData.DrawEffort(drawing, message, color);
        }
#endif
    }