...
The Navtech Radar SDK provides a simple interface to communicate with Radar sensors. As well as ROS and ROS2 examples, the SDK includes source code for C++, a simple .NET DLL that can easily be integrated into applications running on Windows and Linux. The Navtech Radar Bitbucket repository also contains some simple Python scripts which both demonstrate network communication with radar sensors and provide a visualisation of the received data.
Navtech Radar sensors provide output in one or both of two modes: “FFT data” (sometimes referred to as “raw radar data” and “navigation output”. These are explained below. The SDK provides support for both modes, allowing developers to receive either type of data from the sensor and also send control messages back.
...
The seconds and split seconds are using the UNIX epoch of the 1st Jan 1970 00:00:00, ; split seconds is the number of nano seconds:
Example Code (C#)
Code Block | ||
---|---|---|
| ||
var dateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); return dateTime.AddSeconds(ntpSeconds).AddSeconds(ntpSplitSeconds / 1000000000.0); |
The mode provides you with more useful information than native data and can be used for collision avoidance and navigation elapsed nano seconds since the last second
The mode of the radar’s operation provides data at a much lower rate than the raw FFT data output and is ideally suited to support collision avoidance navigation and positioning applications without much further development.
The SDK provides a simple hook to enable your application to receive this data and also provides the appropriate methods to control the radar. This includes the ability to switch the plot extraction on and off and also allows you to set the threshold.
Sample Data
The sample data that is found below is for a radar mounted at the side of a road at the Navtech Radar Offices. The red dot on the image to the right indicates the location of the radar.
...