Currently the indices for plotting joint angle data are hard coded and can generate wrong plots when the gripper data is included in the file. This needs to be updated in a way that the presence of gripper data is automatically detected and ignored during plotting.