A joint project bringing together academic researchers and private firms in the automotive industry is developing an automobile capable of warning its driver of an impending heart attack.