This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
from scipy.integrate import odeint | |
import glob | |
import os | |
def simple_pendulum_deriv(x, t, m, g, l): | |
"""The simple pendulum subject to zero damping and zero control input | |
Based on material from the MIT OCW subject "Underactuated Robotics" |