Skip to content

Error while running sdfExport.FCmacro #8

@suraj2596

Description

@suraj2596
writing to file/home/suraj/.gazebo/models/testing/testing.sdf
b_sicissor_unit_001_
b_sicissor_unit_001_001
circularEdge_001
circularEdge_001_mirror
Joint
Joint: Joint with label Joint detected!
Traceback (most recent call last):
  File "/home/suraj/.FreeCAD/Mod/RobotCreator/Macros/sdfExport.FCMacro", line 63, in <module>
    sdfFile.write(' <joint name="'+bodyLabelFromObjStr(obj.Parent)+bodyLabelFromObjStr(obj.Child)+'" type="revolute">\n')
  File "/home/suraj/.FreeCAD/Mod/RobotCreator/Macros/sdfExport.FCMacro", line 22, in bodyLabelFromObjStr
    return c.Label
<class 'AttributeError'>: 'NoneType' object has no attribute 'Label'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions