RoboMaster / RoboRTS

An open source software stack for Real-Time Strategy research on mobile robots
Other
823 stars 347 forks source link

We cannot send chassis control to rm board. #17

Closed Robin970822 closed 6 years ago

Robin970822 commented 6 years ago

We review the code in serial_com_node and find this. https://github.com/RoboMaster/RoboRTS/blob/197881b722790d0c371ff719e771512797057df6/modules/driver/serial/serial_com_node.cpp#L506 This pack_length_equals 0 all the time. Are you sure, here is not pack_length?

ZhangPeike commented 6 years ago

Yes, the variable should be pack_length instead of packlength.

Mor-harry commented 6 years ago

确实有问题,请检查代码,谢谢