I've noticed a strange bug, where the ROS driver causes the sensor to lock up for a given config if the frame periodicity is too high (but still less than 1000ms). This problem does not occur with the demo visualizer.
For example, taking the default config from the demo visualizer (SDK 3.5 and out of box demo), if I set the output rate to 1Hz it works fine when launched from the demo visualizer. But when launched from the ROS driver it locks up the sensor and doesn't output any measurements.
Note, if I change the line frameCfg 0 2 16 0 1000 1 0
to frameCfg 0 2 16 0 100 1 0
then it works again.
I've noticed this behavior for a variety of config files, but the config file in question is:
% *************************************************************** % Created for SDK ver:03.05 % Created using Visualizer ver:3.6.0.0 % Frequency:60 % Platform:xWR68xx_AOP % Scene Classifier:best_range_res % Azimuth Resolution(deg):30 + 30 % Range Resolution(m):0.044 % Maximum unambiguous Range(m):9.02 % Maximum Radial Velocity(m/s):1 % Radial velocity resolution(m/s):0.13 % Frame Duration(msec):1000 % RF calibration data:None % Range Detection Threshold (dB):15 % Doppler Detection Threshold (dB):15 % Range Peak Grouping:enabled % Doppler Peak Grouping:enabled % Static clutter removal:disabled % Angle of Arrival FoV: Full FoV % Range FoV: Full FoV % Doppler FoV: Full FoV % *************************************************************** sensorStop flushCfg dfeDataOutputMode 1 channelCfg 15 7 0 adcCfg 2 1 adcbufCfg -1 0 1 1 1 profileCfg 0 60 359 7 57.14 0 0 70 1 256 5209 0 0 158 chirpCfg 0 0 0 0 0 0 0 1 chirpCfg 1 1 0 0 0 0 0 2 chirpCfg 2 2 0 0 0 0 0 4 frameCfg 0 2 16 0 1000 1 0 lowPower 0 0 guiMonitor -1 1 1 0 0 0 1 cfarCfg -1 0 2 8 4 3 0 15 1 cfarCfg -1 1 0 4 2 3 1 15 1 multiObjBeamForming -1 1 0.5 clutterRemoval -1 0 calibDcRangeSig -1 0 -5 8 256 extendedMaxVelocity -1 0 lvdsStreamCfg -1 0 0 0 compRangeBiasAndRxChanPhase 0.0 1 0 -1 0 1 0 -1 0 1 0 -1 0 1 0 -1 0 1 0 -1 0 1 0 -1 0 measureRangeBiasAndRxChanPhase 0 1.5 0.2 CQRxSatMonitor 0 3 5 121 0 CQSigImgMonitor 0 127 4 analogMonitor 0 0 aoaFovCfg -1 -90 90 -90 90 cfarFovCfg -1 0 0 8.92 cfarFovCfg -1 1 -1 1.00 calibData 0 0 0 sensorStart