redefine coordinate in pathplanner

index from left to right