<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def roll(self, speed, heading, state=1):
 """ speed can have value between 0x00 and 0xFF heading can have value between 0 and 359 """

        return self.write(request.Roll(self.seq, speed, heading, state ))