Commit 546e0363 authored by Saurabh Deshpande's avatar Saurabh Deshpande

Update Simulation_canti_general.py

parent 8cb00ad7
#. ---------------------- Main SOFA script for data generation -------------------------- #
#This script has to be run from runSimulation.py
import Sofa
import numpy as np
import sys
......@@ -107,11 +111,5 @@ def createScene(rootNode):
controller = CantileverBeam(rootNode, "controller", "Beam", commandLineArguments)
# print("Run time is", t2-t1)
# print(commandLineArguments)
# 10000 data is generated by applying force on this nodes
#([0,1,4,5,70,71,72,73,74,75,76,79,80,81,82,83,84,85,86,87,88]
#and forces applied are np.random.uniform(-5,5),np.random.uniform(-5,10),np.random.uniform(-5,5)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment