Feb 18, 2020
04:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 18, 2020
04:50 AM
Hello,
I'm using the P2GO radar, and I'm trying to acces to both antennas raw data in C.
What I've came across is the next code, but it doesnt refer to physical Antenna.
* data_value_real = frame_start[(2 * ANTENNA_NUMBER ) *num_samples_per_chirp + SAMPLE_NUMBER];
* data_value_imag = frame_start[(2 * ANTENNA_NUMBER + 1) *num_samples_per_chirp + SAMPLE_NUMBER];
I tried to look into how the data is packed into the transport buffer:
And I wanted to change the function parse_frame_info and see the total frame data and see if by looking at MSG_FRAME_DATA I could extract it.
Any help would be very much appeciated.
I'm using the P2GO radar, and I'm trying to acces to both antennas raw data in C.
What I've came across is the next code, but it doesnt refer to physical Antenna.
* data_value_real = frame_start[(2 * ANTENNA_NUMBER ) *num_samples_per_chirp + SAMPLE_NUMBER];
* data_value_imag = frame_start[(2 * ANTENNA_NUMBER + 1) *num_samples_per_chirp + SAMPLE_NUMBER];
I tried to look into how the data is packed into the transport buffer:
And I wanted to change the function parse_frame_info and see the total frame data and see if by looking at MSG_FRAME_DATA I could extract it.
Any help would be very much appeciated.
Solved! Go to Solution.
1 Solution
Feb 18, 2020
05:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 18, 2020
05:07 AM
From in the P2G code you can see, how the data is packed into the transport buffer:
In function send_frame_data(…), in file EndpointRadarBase.c you can see that
• 1st the signals per Antenna are interleaved
• 2nd the Antennas
• 3rd the chirps
are wrapped into the message.
So from the frame format it is would be possible to find the required samples.
Important to know, that the comlib is providing already float values, so no need to care about the 12 bit packing.
Best Regards,
Montassar
In function send_frame_data(…), in file EndpointRadarBase.c you can see that
• 1st the signals per Antenna are interleaved
• 2nd the Antennas
• 3rd the chirps
are wrapped into the message.
So from the frame format it is would be possible to find the required samples.
Important to know, that the comlib is providing already float values, so no need to care about the 12 bit packing.
Best Regards,
Montassar
2 Replies
Feb 18, 2020
05:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 18, 2020
05:07 AM
From in the P2G code you can see, how the data is packed into the transport buffer:
In function send_frame_data(…), in file EndpointRadarBase.c you can see that
• 1st the signals per Antenna are interleaved
• 2nd the Antennas
• 3rd the chirps
are wrapped into the message.
So from the frame format it is would be possible to find the required samples.
Important to know, that the comlib is providing already float values, so no need to care about the 12 bit packing.
Best Regards,
Montassar
In function send_frame_data(…), in file EndpointRadarBase.c you can see that
• 1st the signals per Antenna are interleaved
• 2nd the Antennas
• 3rd the chirps
are wrapped into the message.
So from the frame format it is would be possible to find the required samples.
Important to know, that the comlib is providing already float values, so no need to care about the 12 bit packing.
Best Regards,
Montassar
Jul 02, 2020
10:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 02, 2020
10:25 PM
Hi Yassine,
Did you find any solution to the problem? I am also looking for the same solution. If you find any working solution, please share it here too. Thanks in anticipation.
Did you find any solution to the problem? I am also looking for the same solution. If you find any working solution, please share it here too. Thanks in anticipation.