You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as far as I know from your repo, this function parse_dxl2_0_packet is called when a byte is received. So each time it is called, the variable byte_stuffing_cnt would reset to 0, which, I think, may cause bad influence on this line if there are many 'byte stuffing' in the packet:
Hi there,
Thanks for your code. When I was reading your code, I noticed that you declared
byte_stuffing_cnt
as a private variable of the function:Dynamixel2Arduino/src/dxl_c/protocol.c
Lines 506 to 509 in 06c06f9
as far as I know from your repo, this function
parse_dxl2_0_packet
is called when a byte is received. So each time it is called, the variablebyte_stuffing_cnt
would reset to0
, which, I think, may cause bad influence on this line if there are many 'byte stuffing' in the packet:Dynamixel2Arduino/src/dxl_c/protocol.c
Line 669 in 06c06f9
Is it a bug or is there something wrong with my understanding? Hope for your reply sincerely.
The text was updated successfully, but these errors were encountered: