npol / RoboCapstone

An autonomous weed eliminating robot
0 stars 0 forks source link

Mobility_Firmware: Roboclaw rx buffer filling up #24

Closed npol closed 8 years ago

npol commented 8 years ago

FW reports warnings 0x8101 and 0x8002 when using m1 command

npol commented 8 years ago

Occurs when motors are active and reading from encoders. Possibly corrupted packets causing issues

npol commented 8 years ago

Two possible sources:

npol commented 8 years ago

Seems to be resolved through fixing concurrency. Warning WARN_RC_RXBUF_NOT_EMPTY occurs 0x8113 when get pid is executed, however

npol commented 8 years ago

Bug source: wrong command used for getting PID. Position PID command was used instead of velocity PID command.

npol commented 8 years ago

'A' was printed indicating roboclaw rx buffer not empty before sending new data, but no warning was triggered. after rc gs1. Other issues seem to be fixed

npol commented 8 years ago

Issue not replicated during system test