fix: trajectory path is now relative to the global frame