If you have an AI-controlled AT soldier on your squad, they are not very good at attacking vehicles.
Even if the vehicle is in plain view, they will take a very very long time to position, aim and fire. They also frequently change between rifle and launcher, often for no obvious reason. Sometimes they even run off in the wrong direction for miles.
Occasionally, they work perfectly, but normally, your entire squad is wiped out before they fire!