A growing number of new cars are "smart" enough to slow down or even stop to avoid hitting pedestrians. Now Toyota Motor Corp. says it developed a system that can steer the car away from potential trouble.

The mechanism, called the Pre-collision System or PCS, uses automatic steering and autonomous braking controlled by sensors that detect pedestrians and assess the probability of a collision.

The...