Charge
Charging is a full action that allows you to move up to double your speed and make a melee attack at the end of the movement. You can draw a weapon during a charge attack if your base attack bonus is at least +1.
Charging carries tight restrictions on how you can move. You must move at least 10 feet (2 squares), and all movement must be directly toward the designated opponent, though diagonal movement is allowed. You must have a clear path toward the opponent, and you must move to the space closest to your starting square from which you can attack the opponent. If this space is occupied or blocked, you can’t charge. If any line from your starting space to the ending space passes through a square that blocks movement, slows movement (such as difficult terrain), or contains a creature (even an ally), you can’t charge. You can still move through helpless creatures during a charge. If you don’t have line of sight (see page 271) to the opponent at the start of your turn, you can’t charge that opponent.
Attacking on a Charge: After moving, you can make a single melee attack. You take a –2 penalty to the attack roll and a –2 penalty to your AC until the start of your next turn. You can’t move any farther after the attack. Some classes, including solarian and soldier, grant abilities that modify attacks made on charges.
Source
Core Rulebook pg. 248