Building an autonomous firefighter robot