![]() ![]() ![]() Failure - After waiting for an input buffer, it wasn't there printf( " : Failed to detect response on the input FIFO buffer. If ( ReadAllRS232Port(&pRPLIDAR-> RS232Port, pRPLIDAR-> esdata_prev, sizeof(pRPLIDAR-> esdata_prev)) != EXIT_SUCCESS) memset(pRPLIDAR-> esdata_prev, 0, sizeof(pRPLIDAR-> esdata_prev)) Receive the first data response (2 data responses needed for angles computation.). sync = (pRPLIDAR-> esdata_prev & 0xF0)|(pRPLIDAR-> esdata_prev> 4) Failure printf( "A RPLIDAR is not responding correctly. \n ") ĬhkSum = (pRPLIDAR-> esdata_prev esdata_prev & 0x0F) Printf( "A RPLIDAR is not responding correctly : Bad sync1 or sync2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |