Skip to content

Conversation

@kcelebi
Copy link

@kcelebi kcelebi commented Jul 28, 2021

TheDCA1000.organize method in adc.py does not correctly format the ADC data according to TI standards for certain sensors. This commit adds capability for all sensors that fall under xWR14xx, xWR16xx, IWR6843 types for both real and complex data formats. TI data format standards for these models can be found in this PDF.

An additional parameter sensor_type is added to DCA1000.organize in order to distinguish between these sensor types and their data formats.

This commit adds a method generalizedSensorType that, given a sensor name, returns the generalized name it belongs to. For example generalizedSensorType("IWR1438") --> "xWR14xx".

@edwin-pan edwin-pan self-assigned this Jul 30, 2021
ret = np.zeros(len(raw_frame) // 2, dtype=complex)
ret = None

sensor_type = self.generalizedSensorType(sensor_type)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i believe this is a wrong insertion

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about it do you think is incorrect? I set ret to None b/c for real or complex data the size of ret should be different, they are then respectively defined in a later section. The generalizedSensorType is just one way of categorizing the different ways to partition the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants