simple autonomous trajectory generator