Heuristic Planning for Hybrid Systems