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.

IWR1443BOOST: IWR1443BOOST ROS Point Cloud run mmWareCLI error

Part Number: IWR1443BOOST

I did everything in the ROS user's guide but when I run Rviz program, an error message and there's no point in the empty grid space.

I don't know what's wrong.

 

my environment:

hardware :1843BOOST   I download the fireware like this,and it work well when i use the  mmWave Demo Visualizer

  • I   find the code  is run  error by  funtion  client.call ,how can i do?

    the code :

    if (client.call(srv)) {
    if (std::regex_search(srv.response.resp, std::regex("Done"))) {
    // ROS_INFO("mmWaveQuickConfig: Command successful (mmWave sensor responded with 'Done')");
    parser.ParamsParser(srv, nh);
    } else {
    ROS_ERROR("mmWaveQuickConfig: Command failed (mmWave sensor did not respond with 'Done')");
    ROS_ERROR("mmWaveQuickConfig: Response: '%s'", srv.response.resp.c_str() );
    return 1;
    }
    } else {
    ROS_ERROR("mmWaveQuickConfig: Failed to call service mmWaveCLI");
    ROS_ERROR("%s", srv.request.comm.c_str() );
    return 1;
    }

  • Hello,

    This error is uncommon, and points to issue in your software setup rather than the code. Please try the following:

    1. Have you cloned the serial repository from github?

    2. Please remove the build/ and devel/ directories and use `catkin_make` to build the rospkg again.

    3. Have you sourced the devel/setup.bash file?

  • I do  follow the step 1 2,3,but  it  is still  not work well.

    can you tell me which process will call  mmWaveCLI.  Is there the source of the function "call",I want to  debug the code of function "call" .   

  • mmWaveCLI is a service message specfic to ti_mmwave_rospkg. You can see this in the srv/ folder of the package.

    client is a service advertiser. call is a function in the same class. These are ROS functions, you will have to search online and the ROS repositories for the source code.

    For more information on how ROS services work, please read through this tutorial: http://wiki.ros.org/ROS/Tutorials/WritingServiceClient%28c%2B%2B%29

    I would recommend you walk through that tutorial and see if it is successful.

  • Hello,

    Just wanted to add that I noticed you are running this in the root directory and as root. I think this could be your culprit.

    Could you please try running as a user and not root? You will have to move your package to the user's home directory. It looks to me like ROS is unable to find the service because of permissions issues.

  • Hi,Saeeh

          I  try it  and it can work well.

    Thank you very much!

    Now,I have some question:

     1, Is the PCL  must install ,In my Ubuntu I did not install it,and the 2D point cloud can show by rviz.

    2.How I can graph 3D point cloud.

  • Glad to hear the driver is working for you.

    Replying to your questions in order:

    1. I'm not sure I completely understand your question. Some message types are included with a ROS installation, not necessarily a manual process.

    2. For plotting, the ROS package rqt_plot is commonly used. I would recommend you do your own searching for a plotting package that suits your needs.