This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AWR1443BOOST: ROS PointCloud "sensorStart Error -1"

Part Number: AWR1443BOOST

Tool/software: Linux

Hi!

I am trying to implement the ROS Point Cloud Visualizer LAB on my AWR1443Boost sensor with a virtual machine (Ubuntu 16.04, I followed all the instructions in the Setup Guide).

When I use the Demo Visualizer everithing works fine, and I have checked that my board is ES3.0 version. I have and even reflashed the SDK v2.1.0.4 Demo. Also my power supply is to give 3 A.

There is no problem with the device recognition, since there are several commands that get a response, but it crashes at some point (see log below)

Which can be the reason for that! Thanks

SUMMARY

========

PARAMETERS
* /mmWave_Manager/command_port: /dev/ttyACM0
* /mmWave_Manager/command_rate: 115200
* /mmWave_Manager/data_port: /dev/ttyACM1
* /mmWave_Manager/data_rate: 921600
* /mmWave_Manager/max_allowed_azimuth_angle_deg: 90
* /mmWave_Manager/max_allowed_elevation_angle_deg: 90
* /rosdistro: kinetic
* /rosversion: 1.12.14

NODES
/
mmWaveQuickConfig (ti_mmwave_rospkg/mmWaveQuickConfig)
mmWave_Manager (ti_mmwave_rospkg/ti_mmwave_rospkg)
rviz (rviz/rviz)
static_tf_map_to_base_radar_link (tf/static_transform_publisher)

auto-starting new master
process[master]: started with pid [5121]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 20c9e40c-5b7f-11e9-9e41-0800271b1a08
process[rosout-1]: started with pid [5134]
started core service [/rosout]
process[mmWave_Manager-2]: started with pid [5141]
process[mmWaveQuickConfig-3]: started with pid [5152]
[ INFO] [1554893719.492326209]: mmWaveQuickConfig: Configuring mmWave device using config file: /home/ferran/catkin_ws/src/ti_mmwave_rospkg/cfg/1443_3d.cfg
process[static_tf_map_to_base_radar_link-4]: started with pid [5153]
[ INFO] [1554893719.521614302]: waitForService: Service [/mmWaveCommSrv/mmWaveCLI] has not been advertised, waiting...
process[rviz-5]: started with pid [5176]
[ INFO] [1554893719.653785748]: Initializing nodelet with 1 worker threads.
[ INFO] [1554893719.660526809]: mmWaveCommSrv: command_port = /dev/ttyACM0
[ INFO] [1554893719.660672466]: mmWaveCommSrv: command_rate = 115200
[ INFO] [1554893719.672390055]: waitForService: Service [/mmWaveCommSrv/mmWaveCLI] is now available.
[ INFO] [1554893719.672995748]: mmWaveQuickConfig: Ignored blank or comment line: '% ***************************************************************'
[ INFO] [1554893719.673372724]: mmWaveQuickConfig: Ignored blank or comment line: '% Created for SDK ver:01.02'
[ INFO] [1554893719.673799384]: mmWaveQuickConfig: Ignored blank or comment line: '% Created using Visualizer ver:1.2.0.0'
[ INFO] [1554893719.675052008]: mmWaveQuickConfig: Ignored blank or comment line: '% Frequency:77'
[ INFO] [1554893719.675473346]: mmWaveQuickConfig: Ignored blank or comment line: '% Platform:xWR14xx'
[ INFO] [1554893719.675992688]: mmWaveQuickConfig: Ignored blank or comment line: '% Scene Classifier:best_range_res'
[ INFO] [1554893719.677208763]: mmWaveQuickConfig: Ignored blank or comment line: '% Azimuth Resolution(deg):15 + Elevation'
[ INFO] [1554893719.679380696]: mmWaveQuickConfig: Ignored blank or comment line: '% Range Resolution(m):0.044'
[ INFO] [1554893719.687862152]: mmWaveQuickConfig: Ignored blank or comment line: '% Maximum unambiguous Range(m):9.01'
[ INFO] [1554893719.688374265]: mmWaveDataHdl: data_port = /dev/ttyACM1
[ INFO] [1554893719.691681926]: mmWaveDataHdl: data_rate = 921600
[ INFO] [1554893719.691722655]: mmWaveDataHdl: max_allowed_elevation_angle_deg = 90
[ INFO] [1554893719.691756831]: mmWaveDataHdl: max_allowed_azimuth_angle_deg = 90
[ INFO] [1554893719.692320655]: mmWaveQuickConfig: Ignored blank or comment line: '% Maximum Radial Velocity(m/s):5.06'
[ INFO] [1554893719.695511534]: mmWaveQuickConfig: Ignored blank or comment line: '% Radial velocity resolution(m/s):0.64'
[ INFO] [1554893719.699652249]: mmWaveQuickConfig: Ignored blank or comment line: '% Frame Duration(msec):33.333'
[ INFO] [1554893719.700894068]: DataUARTHandler Read Thread: Port is open
[ INFO] [1554893719.703711493]: mmWaveQuickConfig: Ignored blank or comment line: '% Range Detection Threshold (dB):9'
[ INFO] [1554893719.704968735]: mmWaveQuickConfig: Ignored blank or comment line: '% Range Peak Grouping:disabled'
[ INFO] [1554893719.705519267]: mmWaveQuickConfig: Ignored blank or comment line: '% Doppler Peak Grouping:enabled'
[ INFO] [1554893719.708157660]: mmWaveQuickConfig: Ignored blank or comment line: '% Static clutter removal:disabled'
[ INFO] [1554893719.716133705]: mmWaveQuickConfig: Ignored blank or comment line: '% ***************************************************************'
[ INFO] [1554893719.717084119]: mmWaveQuickConfig: Sending command: 'sensorStop'
[ INFO] [1554893719.754496383]: mmWaveCommSrv: Sending command to sensor: 'sensorStop'
[ INFO] [1554893719.762189164]: mmWaveCommSrv: Received response from sensor: 'sensorStop
Done
mmwDemo:/>'
[ INFO] [1554893719.840261643]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893719.841091263]: mmWaveQuickConfig: Sending command: 'flushCfg'
[ INFO] [1554893719.850148643]: mmWaveCommSrv: Sending command to sensor: 'flushCfg'
[ INFO] [1554893719.857199169]: mmWaveCommSrv: Received response from sensor: 'flushCfg
Done
mmwDemo:/>'
[ INFO] [1554893719.922997144]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893719.923691092]: mmWaveQuickConfig: Sending command: 'dfeDataOutputMode 1'
[ INFO] [1554893719.932305060]: mmWaveCommSrv: Sending command to sensor: 'dfeDataOutputMode 1'
[ INFO] [1554893719.941961455]: mmWaveCommSrv: Received response from sensor: 'dfeDataOutputMode 1
Done
mmwDemo:/>'
[ INFO] [1554893720.013863417]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893720.014599929]: mmWaveQuickConfig: Sending command: 'channelCfg 15 7 0'
[ INFO] [1554893720.036935693]: mmWaveCommSrv: Sending command to sensor: 'channelCfg 15 7 0'
[ INFO] [1554893720.047683595]: mmWaveCommSrv: Received response from sensor: 'channelCfg 15 7 0
Done
mmwDemo:/>'
[ INFO] [1554893720.127881751]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893720.128659357]: mmWaveQuickConfig: Sending command: 'adcCfg 2 1'
[ INFO] [1554893720.143172831]: mmWaveCommSrv: Sending command to sensor: 'adcCfg 2 1'
[ INFO] [1554893720.150835897]: mmWaveCommSrv: Received response from sensor: 'adcCfg 2 1
Done
mmwDemo:/>'
[ INFO] [1554893720.221955314]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893720.222759583]: mmWaveQuickConfig: Sending command: 'adcbufCfg 0 1 0 1'
[ INFO] [1554893720.238980008]: mmWaveCommSrv: Sending command to sensor: 'adcbufCfg 0 1 0 1'
[ INFO] [1554893720.248566987]: mmWaveCommSrv: Received response from sensor: 'adcbufCfg 0 1 0 1
Done
mmwDemo:/>'
[ INFO] [1554893720.328027096]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893720.328846230]: mmWaveQuickConfig: Sending command: 'profileCfg 0 77 7 7 57.14 0 0 70 1 240 4884 0 0 30'
[ INFO] [1554893720.343379762]: mmWaveCommSrv: Sending command to sensor: 'profileCfg 0 77 7 7 57.14 0 0 70 1 240 4884 0 0 30'
[ INFO] [1554893720.356875260]: mmWaveCommSrv: Received response from sensor: 'profileCfg 0 77 7 7 57.14 0 0 70 1 240 4884 0 0 30
Done
mmwDemo:/>'
[ INFO] [1554893720.428985946]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893720.429822324]: mmWaveQuickConfig: Sending command: 'chirpCfg 0 0 0 0 0 0 0 1'
[ INFO] [1554893720.451943156]: mmWaveCommSrv: Sending command to sensor: 'chirpCfg 0 0 0 0 0 0 0 1'
[ INFO] [1554893720.463383021]: mmWaveCommSrv: Received response from sensor: 'chirpCfg 0 0 0 0 0 0 0 1
Done
mmwDemo:/>'
[ INFO] [1554893720.551008547]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893720.551879428]: mmWaveQuickConfig: Sending command: 'chirpCfg 1 1 0 0 0 0 0 4'
[ INFO] [1554893720.566874589]: mmWaveCommSrv: Sending command to sensor: 'chirpCfg 1 1 0 0 0 0 0 4'
[ INFO] [1554893720.579334295]: mmWaveCommSrv: Received response from sensor: 'chirpCfg 1 1 0 0 0 0 0 4
Done
mmwDemo:/>'
[ INFO] [1554893720.667599375]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893720.668404303]: mmWaveQuickConfig: Sending command: 'chirpCfg 2 2 0 0 0 0 0 2'
[ INFO] [1554893720.680275802]: mmWaveCommSrv: Sending command to sensor: 'chirpCfg 2 2 0 0 0 0 0 2'
[ INFO] [1554893720.691840897]: mmWaveCommSrv: Received response from sensor: 'chirpCfg 2 2 0 0 0 0 0 2
Done
mmwDemo:/>'
[ INFO] [1554893720.767035694]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893720.767910167]: mmWaveQuickConfig: Sending command: 'frameCfg 0 2 16 0 33.333 1 0'
[ INFO] [1554893720.781405301]: mmWaveCommSrv: Sending command to sensor: 'frameCfg 0 2 16 0 33.333 1 0'
[ INFO] [1554893720.790449161]: mmWaveCommSrv: Received response from sensor: 'frameCfg 0 2 16 0 33.333 1 0
Done
mmwDemo:/>'
[ INFO] [1554893720.869929560]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893720.870934639]: mmWaveQuickConfig: Sending command: 'guiMonitor 1 0 0 0 0 0'
[ INFO] [1554893720.885443077]: mmWaveCommSrv: Sending command to sensor: 'guiMonitor 1 0 0 0 0 0'
[ INFO] [1554893720.893925936]: mmWaveCommSrv: Received response from sensor: 'guiMonitor 1 0 0 0 0 0
Done
mmwDemo:/>'
[ INFO] [1554893720.981948983]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893720.982754492]: mmWaveQuickConfig: Sending command: 'cfarCfg 0 2 8 4 3 0 768'
[ INFO] [1554893720.997691506]: mmWaveCommSrv: Sending command to sensor: 'cfarCfg 0 2 8 4 3 0 768'
[ INFO] [1554893721.007395953]: mmWaveCommSrv: Received response from sensor: 'cfarCfg 0 2 8 4 3 0 768
Done
mmwDemo:/>'
[ INFO] [1554893721.076493466]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893721.077326931]: mmWaveQuickConfig: Sending command: 'peakGrouping 1 0 1 1 229'
[ INFO] [1554893721.102148503]: mmWaveCommSrv: Sending command to sensor: 'peakGrouping 1 0 1 1 229'
[ INFO] [1554893721.113667415]: mmWaveCommSrv: Received response from sensor: 'peakGrouping 1 0 1 1 229
Done
mmwDemo:/>'
[ INFO] [1554893721.184378819]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893721.185155687]: mmWaveQuickConfig: Sending command: 'multiObjBeamForming 1 0.5'
[ INFO] [1554893721.195874937]: mmWaveCommSrv: Sending command to sensor: 'multiObjBeamForming 1 0.5'
[ INFO] [1554893721.207427113]: mmWaveCommSrv: Received response from sensor: 'multiObjBeamForming 1 0.5
Done
mmwDemo:/>'
[ INFO] [1554893721.295885816]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893721.296578218]: mmWaveQuickConfig: Sending command: 'clutterRemoval 0'
[ INFO] [1554893721.311033967]: mmWaveCommSrv: Sending command to sensor: 'clutterRemoval 0'
[ INFO] [1554893721.320736123]: mmWaveCommSrv: Received response from sensor: 'clutterRemoval 0
Done
mmwDemo:/>'
[ INFO] [1554893721.403773735]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893721.404617940]: mmWaveQuickConfig: Sending command: 'calibDcRangeSig 0 -5 8 256'
[ INFO] [1554893721.433069604]: mmWaveCommSrv: Sending command to sensor: 'calibDcRangeSig 0 -5 8 256'
[ INFO] [1554893721.444756635]: mmWaveCommSrv: Received response from sensor: 'calibDcRangeSig 0 -5 8 256
Done
mmwDemo:/>'
[ INFO] [1554893721.527411834]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893721.528406712]: mmWaveQuickConfig: Sending command: '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'
[ INFO] [1554893721.540245520]: mmWaveCommSrv: Sending command to sensor: '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'
[ INFO] [1554893721.555145323]: mmWaveCommSrv: Received response from sensor: '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
Done
mmwDemo:/>'
[ INFO] [1554893721.625232605]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893721.626125483]: mmWaveQuickConfig: Sending command: 'measureRangeBiasAndRxChanPhase 0 1.5 0.2'
[ INFO] [1554893721.640195175]: mmWaveCommSrv: Sending command to sensor: 'measureRangeBiasAndRxChanPhase 0 1.5 0.2'
[ INFO] [1554893721.651799788]: mmWaveCommSrv: Received response from sensor: 'measureRangeBiasAndRxChanPhase 0 1.5 0.2
Done
mmwDemo:/>'
[ INFO] [1554893721.731684604]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893721.732485710]: mmWaveQuickConfig: Sending command: 'CQRxSatMonitor 0 3 5 123 0'
[ INFO] [1554893721.747385828]: mmWaveCommSrv: Sending command to sensor: 'CQRxSatMonitor 0 3 5 123 0'
[ INFO] [1554893721.757219544]: mmWaveCommSrv: Received response from sensor: 'CQRxSatMonitor 0 3 5 123 0
Done
mmwDemo:/>'
[ INFO] [1554893721.832735493]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893721.833666214]: mmWaveQuickConfig: Sending command: 'CQSigImgMonitor 0 119 4'
[ INFO] [1554893721.852505909]: mmWaveCommSrv: Sending command to sensor: 'CQSigImgMonitor 0 119 4'
[ INFO] [1554893721.860941209]: mmWaveCommSrv: Received response from sensor: 'CQSigImgMonitor 0 119 4
Done
mmwDemo:/>'
[ INFO] [1554893721.944488314]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893721.945369751]: mmWaveQuickConfig: Sending command: 'analogMonitor 1 1'
[ INFO] [1554893721.956573343]: mmWaveCommSrv: Sending command to sensor: 'analogMonitor 1 1'
[ INFO] [1554893721.966291100]: mmWaveCommSrv: Received response from sensor: 'analogMonitor 1 1
Done
mmwDemo:/>'
[ INFO] [1554893722.038360083]: mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')
[ INFO] [1554893722.039391229]: mmWaveQuickConfig: Sending command: 'sensorStart'
[ INFO] [1554893722.052201046]: mmWaveCommSrv: Sending command to sensor: 'sensorStart'
[ INFO] [1554893722.059960831]: mmWaveCommSrv: Received response from sensor: 'sensorStart
Error -1
mmwDemo:/>'
[ INFO] [1554893722.146300004]: mmWaveQuickConfig: Command failed (mmWave sensor did not respond with 'Done')
[ INFO] [1554893722.146496558]: mmWaveQuickConfig: Response: 'sensorStart
Error -1
mmwDemo:/>'
[ INFO] [1554893722.154799176]: mmWaveCommSrv: Sending command to sensor: 'sensorStart'
[ INFO] [1554893722.162367917]: mmWaveCommSrv: Received response from sensor: 'sensorStart
Error -1
mmwDemo:/>'
[ERROR] [1554893722.235565917]: mmWaveQuickConfig: Command failed (mmWave sensor did not respond with 'Done')
[ERROR] [1554893722.235653691]: mmWaveQuickConfig: Response: 'sensorStart
Error -1
mmwDemo:/>'
[mmWaveQuickConfig-3] process has died [pid 5152, exit code 1, cmd /home/ferran/catkin_ws/devel/lib/ti_mmwave_rospkg/mmWaveQuickConfig /home/ferran/catkin_ws/src/ti_mmwave_rospkg/cfg/1443_3d.cfg __name:=mmWaveQuickConfig __log:=/home/ferran/.ros/log/20c9e40c-5b7f-11e9-9e41-0800271b1a08/mmWaveQuickConfig-3.log].
log file: /home/ferran/.ros/log/20c9e40c-5b7f-11e9-9e41-0800271b1a08/mmWaveQuickConfig-3*.log

  • Hi,

    Are you using the same config file that works on the visualizer? it seems the config file loaded using ROS is not compatible with the device or SDK.

    Please also confirm by reviewing the release note that the version of ROS driver used is compatible with the SDK.

    Regards,

    Charles O

  • Hi,

    I tried with the config file from the visualizer and now it works in ROS. It seems that the default config files included in the downloaded folder from the lab are for an older version of the SDK (1.2), while the version listed in the release note is 2.1.

    Thanks for your help!