def makeSyncAnglePacket(info):
addr = le(xl320.XL320_GOAL_POSITION)<EOL>data = []<EOL>data.append(addr[<NUM_LIT:0>])  <EOL>data.append(addr[<NUM_LIT:1>])  <EOL>data.append(<NUM_LIT:2>)  <EOL>data.append(<NUM_LIT:0>)  <EOL>for pkt in info:<EOL><INDENT>data.append(pkt[<NUM_LIT:0>])  <EOL>angle = le(int(pkt[<NUM_LIT:1>]/<NUM_LIT>*<NUM_LIT>))<EOL>data.append(angle[<NUM_LIT:0>])  <EOL>data.append(angle[<NUM_LIT:1>])  <EOL><DEDENT>ID = xl320.XL320_BROADCAST_ADDR<EOL>instr = xl320.XL320_SYNC_WRITE<EOL>pkt = makePacket(ID, instr, None, data)  <EOL>return pkt<EOL>
Write sync angle information to servos.

info = [[ID, angle], [ID, angle], ...]