Long-Term Dynamic Window Approach for Kinodynamic Local Planning in Static and Crowd Environments