fix error
This commit is contained in:
parent
e748debd2f
commit
1287625107
3 changed files with 6 additions and 10 deletions
|
@ -24,7 +24,7 @@ export class ExecInstanceScenario extends CallbackStrategyWithIdQuery {
|
|||
console.log(JSON.stringify(document)),
|
||||
new ExecProcessUseCase().call(
|
||||
document.instancePath,
|
||||
`python3 $GET_INTERFACES --path ${document.instancePath} --package ${JSON.stringify(document)}`,
|
||||
`python3 $GET_INTERFACES --path ${document.instancePath} --package '${JSON.stringify(document)}'`,
|
||||
"",
|
||||
new ExecInstanceTwinsProcessService(document.instancePath, document)
|
||||
)
|
||||
|
|
|
@ -210,10 +210,7 @@ export const defaultFormValue: any = {
|
|||
generation: { n_cam_pose: 5, n_sample_on_pose: 3, n_series: 100, image_format: "JPEG", image_size_wh: [640, 480] },
|
||||
};
|
||||
|
||||
// `{
|
||||
// "camera_name": \${CAMERA_NAME:string: },
|
||||
// "camera_namespace": \${CAMERA_NAMESPACE:string: },
|
||||
// "staticProp":{
|
||||
// "e23e":""
|
||||
// }
|
||||
// }`;
|
||||
`{
|
||||
"robot_name": \${CAMERA_NAME:string: },
|
||||
"dof": \${CAMERA_NAMESPACE:number: }
|
||||
}`;
|
||||
|
|
|
@ -106,9 +106,8 @@ export const DigitalTwinsScreen = observer(() => {
|
|||
<CoreInput onChange={(text) => store.updateForm({ description: text })} label={"Описание"} />
|
||||
<CoreInput onChange={(text) => store.updateForm({ command: text })} label={"Команда"} />
|
||||
<CoreInput onChange={(text) => store.updateForm({ interfaces: { cmd: text } })} label={"Cmd"} />
|
||||
<CoreInput onChange={(text) => store.updateForm({ executable: text })} label={"executable"} />
|
||||
<CoreInput onChange={(text) => store.updateForm({ package: text })} label={"package"} />
|
||||
|
||||
<CoreInput onChange={(text) => store.updateForm({ executable: text })} label={"executable"} />
|
||||
<CoreInput
|
||||
label="FormBuilder Result"
|
||||
onChange={(text) => (store.viewModel.formBuilder.result = text)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue