back to Index
2014-07-19
Example student code. This needs to be run on the robot in order to work.
In [1]:
# Cross-notebook include shim
with open("nbinclude.ipynb") as nbinclude_f: # don't rename nbinclude_f
import IPython.nbformat.current
get_ipython().run_cell(IPython.nbformat.current.read(nbinclude_f, 'json').worksheets[0].cells[0].input)
In [2]:
nbinclude("robot")
In [2]:
import numpy as np
from numba import autojit, jit, double
In [ ]:
bv