Energy based reconstruction OF Soft Robots