In the header file, the type Robot is unknown. It needs to be known (i.e. visible to the compiler) before it encounters the function declaration, in each compilation unit.

Since the functions...