apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Question about planning and control.

Open YaoQii opened this issue 8 years ago • 1 comments

Hello, I have a question about trajectory points in planning and control.

  1. In planning, the points in trajectory is the center of rear axle of vehicle.
  2. In control, the points used in MPC controller is the centroid of vehicle.

Can they work well to follow the path?

Thanks.

YaoQii avatar Jul 16 '18 11:07 YaoQii

When a vehicle deviates from the planned trajectory, usually a heading error (rather than a lateral error) appears first, causing a forward-moving vehicle to veer off a predicted course, which translates to a lateral error. In other words, lateral errors lag heading errors. By moving the controller origin forward, lateral errors appear sooner upon vehicle deviation, which improves controller stability.

Planning, in theory, does not need to know where a controller thinks the vehicle origin is. All it cares is that the vehicle is able to stay on a planned trajectory with small predictable deviations.

berthu avatar Dec 11 '18 00:12 berthu