Electrical and computer architecture of an autonomous mars sample return rover prototype