Skip to content
Snippets Groups Projects
Commit a0a40d6e authored by Amira Abdel-Rahman's avatar Amira Abdel-Rahman
Browse files

DEM Integration

parent 9ea36afd
No related branches found
No related tags found
No related merge requests found
Pipeline #6358 passed
...@@ -58,7 +58,7 @@ function runPython_urx(setup){ ...@@ -58,7 +58,7 @@ function runPython_urx(setup){
console.log("didn't run the UR10"); console.log("didn't run the UR10");
} }
if(integratedSetup.DEMSetup.parameters.run){ if(setup.DEMSetup.parameters.run){
var root="../simulation/dice_firmware/build/x86/src/sim/vis/"; var root="../simulation/dice_firmware/build/x86/src/sim/vis/";
let outputFile = editJsonFile(`${__dirname}/`+root+`sim_config.json`); let outputFile = editJsonFile(`${__dirname}/`+root+`sim_config.json`);
outputFile.set("setup", setup.DEMSetup); outputFile.set("setup", setup.DEMSetup);
...@@ -67,7 +67,7 @@ function runPython_urx(setup){ ...@@ -67,7 +67,7 @@ function runPython_urx(setup){
console.log(); console.log();
console.log("Compile and run the DEM simulator:") console.log("Compile and run the DEM simulator:")
var commands=[]; var commands=[];
if(integratedSetup.DEMSetup.parameters.make){ if(setup.DEMSetup.parameters.make){
//make first //make first
commands.push("cd " + "../simulation/dice_firmware/build/x86"); commands.push("cd " + "../simulation/dice_firmware/build/x86");
commands.push("make"); commands.push("make");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment