trajectory generator fixed