galou / freecad.cross

CROSS CAD and ROS, an Open-Source Synergy; ROS workbench for FreeCAD
GNU Lesser General Public License v2.1
85 stars 22 forks source link

Internal link names not usable. Should be used user titles instead. #31

Closed drfenixion closed 6 months ago

drfenixion commented 6 months ago

freecad_cross_link_bad_name freecad_cross_link_bad_name1

it should be not "link004" but be "drone_frame_link" in image case.

galou commented 6 months ago

Again, a problem with missing documentation. CROSS uses the Label2 property (called Description in the UI), if defined, then fallbacks to Label. The column Description is not visible by default anymore in v0.22. You need to right-click in the combo View and activate it.

The Group property is read-only for robots and should be considered as internal. I wonder why I didn't hide it.

Just to clarify things, FreeCAD objects have an immutable Name (also the Python variable for this object in App.ActiveDocument), a Label, which is unique in the document by default, and a Label2, which is completely constraint-free. CROSS uses Label2 in priority in order to allow to have two robots with the same link and joint names (for example when importing twice the same URDF).