OOM Command Battle Droids were droids used by the Trade Federation for the purpose of transmitting orders from the Central Control Computer to squads of infantry or security battle droids. Until the Clone Wars, the commanders were the only OOM units which possessed intelligence and independance apart from the Central Control Computer.
List of Appearences
Star Wars I: The Phantom Menace
In the film, several commanders were seen and the only known was "OOM 9" who commanded the droid forces during the Invasion of Naboo and commanded an army of droids to fight the Gungans on the plane grasslands.
Star Wars II: Attack of the Clones
In the Arena when it was droids vs Jedi, a commander was present during the battle. He shot at one Jedi but his shot was deflected and the commander was destroyed.