add access to joint q in order to create .pos and .vel files