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.

Compiler/AWR1843BOOST: Getting started with mmWaveRadar C++ development

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: AWR1843

Tool/software: TI C/C++ Compiler

Hi, 

I'm a student at the University of Michigan and I've recently acquired a mmWaveRadar for use in obstacle detection for autonomous navigation. I'm very new to working with TI products and have been having a hard time understanding the SDK, and how to get started interfacing with the radar through C++. I'm currently processing point clouds from a stereo camera using the point cloud library. I wish to obtain a point cloud from the mmWaveRadar, so I can perform similar processing but am confused on where to start. Any guidance or direction toward more documentation on integrating with C++ would be greatly appreciated. 

  • Even though I am not familiar with that SDK, I can shed some light.

    It is very likely that most or all of the SDK is implemented in C, and maybe some hand-coded assembly.  That being the case, you need to know how make the transition from C++ to C and back.  Please see this FAQ on that topic (not from TI).

    Be sure the documentation states that it has been tested to work with C++. If it hasn't, then problems may occur.  One common failure is for the header files to fail to apply extern "C" linkage to the function declarations.

    Next, I will notify experts on this SDK about this thread.

    Thanks and regards,

    -George

  • Matt,

    To echo George's response, all of our code for the mmWave devices (including AWR1843) is written and compiled in C. No code is written in C++.

    The SDK Out-of-Box demo does provide point-cloud output in the form of X,Y,Z coordinates. This point cloud information is sent out over the UART peripheral via USB connection.

    To understand the various outputs from the OOB demo, please refer to the Doxygen for AWR1843. In the latest release of the mmWave SDK, this Doxygen file can be found here:

    C:\ti\mmwave_sdk_03_05_00_04\packages\ti\demo\xwr18xx\mmw\docs\doxygen\html\index.html

    Regards,
    Kyle