Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The RAS radar family’s CFAR “PointCloud” data output is provided as a UDP network stream.

The linux command line application at the download link below allows this UDP output stream to be logged directly to a CSV file for subsequent analysis or processing. As well as logging the range and bearing of each point within the point cloud, the tool logs the magnitude of the radar response, and precise timestamp information.

Alongside the CSV data file containing the data provided over the UDP connection, this tool establishes a TCP/IP connection with the radar to read back the current radar serial number and configuration, storing these in a text file.

Info

If a radar has the SafeGuard user interface enabled, then the (Window-size), (Threshold value), (Start bin) and (Max points per azimuth) parameters can be configured via the radar’s web interface.

If the radar does not have the SafeGuard user interface enabled, these parameters can be configured by sending the Colossus message type 205 https://navtechradar.atlassian.net/wiki/spaces/IA/pages/2061009217/TCP+Networking#Navigation-Configuration-Get%2FSet-Messages. For simplicity. the same colossus message ID is used to update the equivalent Navigation Mode parameters.

Note

To use the recording tool within the Windows Subsystem for Linux environment (WSL), it is necessary to route UDP packets from Windows through to WSL. Instructions are at the bottom of this page.

Attachments
uploadfalse
patterns*_client.exe, *.md

Attachments
uploadfalse
patterns*e.exe,*.md,pointcloud_writer

Point-cloud Writer

The pointcloud_writer application records navigation point-cloud output from a radar and writes it to a file as comma-separated variables (CSV).
The application also retrieves the radar and navigation configuration and stores it in a name-associated file.

...

to route UDP packets from Windows to WSL, the sudppipe utility is used

Command Windows command line syntax for the use of sudppipe is as shown below:

Code Block
 sudppipe.exe -b <Windows IP> <WSL IP> <WSL port> <Windows port>
Info

<WSL IP> can be retreived by entering

Code Block
ip addr | grep -Eo 'inet (addr:)?([0-9]\.){3}[0-9]' | grep -Eo '([0-9]\.){3}[0-9]' | grep -v '127.0.0.1'

for example, if <WSL IP> is reported as 172.20.71.120:

Code Block
sudppipe.exe -b 10192.168.770.2.112 172.20.71.120 6320 6317

 With the configuration sudpipe running as shown above, start up the pointcloud_writer within the WSL environment, for UDP pointing the UDP connection to <WSL IP> and port to 6320, (not 6317).

Code Block
./pointcloud_writer -i 192.168.0.1 -p 6317 -u 172.20.71.120 -d 6320