Hi team,
Here're 2 questions from the customer may need your help:
1) The following figure shows the reading of position X in the obstacle Detection AOP example:
test_data_addrs = SOC_translateAddress(message.body.detObj.tlv[itemIdx].address, SOC_TranslateAddr_Dir_FROM_OTHER_CPU,NULL) ... test_data_addrs += 2; memcpy((void *)&test_data_x[ii], (void *)test_data_addrs, sizeof(int16_t)); ...
With QFormat = 9, it means that 0 to 8 bits are decimal places and 9 bits are integer bits, so from the first line of the figure below, the figure -75:
-75 (D) = 1111 1011 0101 (b) = 0 + 1/8 + 1/64 + 1/256 = -0.14453125 (m) indicates the position of the object around -0.14m in the X-axis of the antenna.
And from the fourth 1018:
1018(D) = 0011 1111 1010(b) = 1+1/2+1/4+1/8+1/16+1/32+1/64+1/256 = 1.98828125(m) indicates the position of the object around 1.98m in the X-axis of the antenna.
Similarly, a distance of 1 m in front of the antenna is equal to 512(D) for the y-axis. Are the above understandings correct?
2) Why does the number shown by Clusters differ from the box marked on the coordinates in the TI obstacle Detection AOP GUI?
Clusters displays 14(8), but only 10 identification boxes are counted at coordinates. Why is this? Is it related to ods_aop_config.cfg?
Could you help check this case? Thanks.
Best Regards,
Cherry