Update GenericRobot.cpp

*(uint16_t*)data[4]; ==> *(uint16_t*)&data[4];