There seems to be a bug in the mesh_shape_renderer function call in render_trajectory.py file here
It does not seem to match the function parameters here.
It throws a parameter unkown for paramters mask, orig_img and bg_color.