def get_payload(self):
payload = bytes([self.node_id])<EOL>payload += bytes([self.state])<EOL>payload += bytes(self.current_position.raw)<EOL>payload += bytes(self.target.raw)<EOL>payload += bytes(self.current_position_fp1.raw)<EOL>payload += bytes(self.current_position_fp2.raw)<EOL>payload += bytes(self.current_position_fp3.raw)<EOL>payload += bytes(self.current_position_fp4.raw)<EOL>payload += bytes([self.remaining_time >> <NUM_LIT:8> & <NUM_LIT:255>, self.remaining_time & <NUM_LIT:255>])<EOL>payload += struct.pack("<STR_LIT>", self.timestamp)<EOL>return payload<EOL>
Return Payload.