You have a good basic premise here. A mixture of Diehard and Speed. Kidnappers abduct a bus load of tourists on the streets of LA and demand a big payoff. A cop on vacation in plain clothes is aboard and sneaks a live streaming video off via his smartphone. LAPD and FBI follow the bus and try to figure out the bad guys' game plan. Charlie must hack the bus' auto-drive computer system then create a heat signature identification program to give the police snipers a bird's eye view of their targets.
Sounds great, right? The software hacking works just fine, but that sniper ID bit just bombs. Charlie ends up spending valuable time just postulating what he might do to save the hostages' lives without actually doing anything. We don't need a Charlie-vision explanation while there are guns to people's heads and a clock running out. But instead the writers stumble through their formula to give that unnecessary exposition of (A) Charlie postulates a theory, (B) proposes a consultant angle for the solution, and (C) waits for authorization to do anything.
Then in the midst of writing his program (which he does at CalSci instead of FBI offices... WTF?!) Amita pops in for a "you gotta do something about your dad and Larry" talk. Excuse me? There are people's lives at stake here. In a real crisis those sterile academic issues are put on hold. Not doing so makes the characters look cold and unlikable.