please pass JointStateGroup as pointer, just for consistency