public com.robotraconteur.robotics.tool.ToolInfo ToRRInfo()
        {
            var info = new com.robotraconteur.robotics.tool.ToolInfo();

            CopyTo(info);
            return(info);
        }
 public void CopyTo(com.robotraconteur.robotics.tool.ToolInfo info)
 {
     info.device_info = device_info?.ToRRInfo();
     info.tcp         = tcp?.ToRRInfo() ?? new Transform();
     info.inertia     = inertia?.ToRRInfo() ?? new SpatialInertia();
     info.extended    = extended?.ToDictionary(x => x.Key, x => x.Value?.value);
 }