def from_payload(self, payload):
self.node_id = payload[<NUM_LIT:0>]<EOL>self.state = payload[<NUM_LIT:1>]<EOL>self.current_position = Parameter(payload[<NUM_LIT:2>:<NUM_LIT:4>])<EOL>self.target = Parameter(payload[<NUM_LIT:4>:<NUM_LIT:6>])<EOL>self.current_position_fp1 = Parameter(payload[<NUM_LIT:6>:<NUM_LIT:8>])<EOL>self.current_position_fp2 = Parameter(payload[<NUM_LIT:8>:<NUM_LIT:10>])<EOL>self.current_position_fp3 = Parameter(payload[<NUM_LIT:10>:<NUM_LIT:12>])<EOL>self.current_position_fp4 = Parameter(payload[<NUM_LIT:12>:<NUM_LIT>])<EOL>self.remaining_time = payload[<NUM_LIT>] * <NUM_LIT> + payload[<NUM_LIT:15>]<EOL>self.timestamp = struct.unpack("<STR_LIT>", payload[<NUM_LIT:16>:<NUM_LIT:20>])[<NUM_LIT:0>]<EOL>
Init frame from binary data.