fp) { fprintf(stderr, "Error: failed to open file \"%s\"\n", post_data_filename); return -1; } if (fstat(fileno(fp), &stbuf) || !
fp) { fprintf(stderr, "Error: failed to open file \"%s\"\n", post_data_filename); return -1; } if (fstat(fileno(fp), &stbuf) || !
LoadListener ( ) { @Override public void onLoadError ( int errCode , String errMsg ) { Log . d ( TAG , external load library error + errCode + errMsg ) ; } @Override public void onLibsDownloadCompleted
null) { mListener.onSelectSticker(item, faceItem.getFilePath()); } } @Override public void onFailed(FuFaceItem faceItem, int what, int ext, String msg) { Log.e("StickerAdapter", "onFailed
controller PD参数获得更平滑的地盘行走效果(-controller PD 模式下的运动参数在XP/config/algorithm_param.yaml文件中的Navigation字段下的v_max~kp_acc_w行调节)。
flexVolume: driver: k8s/sidecar-stdout nodeSelector: type: "virtual-kubelet" tolerations: - key: "virtual-kubelet.io/provider" operator: "Equal" value: "baidu" effect
flexVolume: driver: k8s/sidecar-stdout nodeSelector: type: "virtual-kubelet" tolerations: - key: "virtual-kubelet.io/provider" operator: "Equal" value: "baidu" effect
若创建BCI Pod后,实例状态长时间处于 Creating ,一般为BCI订单异常导致,可以通过查看pod annotation中的 bci.virtual-kubelet.io/order-id 字段查询到BCI订单ID,查询对应的订单失败原因。
terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /var/lib/www/html000 name: bos-pvc readOnly: true livenessProbe: exec: command: - stat - /var/lib
配置示例 例如想使用可用区 D & F 的资源,在可用区D、F分别创建了sbn-xxx1,sbn-xxx2的子网 deployment 或 job yaml 中最终效果样例: spec: template: metadata: annotations: "bci.virtual-kubelet.io/bci-subnet-ids":"sbn-xxx1,sbn-sbn-xxx2&