PyRAPID

Preliminary on FMCW radars

  • FMCW Radar introduction
  • high-resolution spectral estimation
  • Object detection with CFAR
  • Radar calibration

Introduction to PyRAPID API

  • How to use PyRAPID API
  • Texas Instruments radars

PyRAPID API

  • Dependencies
  • PyRAPID Modules
    • Processing module
    • Radar package
    • Error handling
    • Defining mmwavelink interface
    • Application GUI
  • Code Examples for PyRAPID

References

  • Glossaries
  • Copyright

Acknowledgments

  • Acknowledgments
PyRAPID
  • Docs »
  • PyRAPID Modules »
  • Defining mmwavelink interface
  • View page source

Defining mmwavelink interface¶

This module defines the input and return arguments of the functions imported from DLL. A part of mmwavelink return errors:

/*! mmWaveLink Error Codes */

RL_RET_CODE_OK ((rlReturnVal_t)0) /* no-error */

RL_RET_CODE_PROTOCOL_ERROR (-1) /* mmWaveLink Protocol error */

RL_RET_CODE_INVALID_INPUT (-2) /* invalid input from the application */

RL_RET_CODE_SELF_ERROR (-3) /* error in mmWaveLink itself */

RL_RET_CODE_RADAR_IF_ERROR (-4) /* Radar HW/SW interface error */

RL_RET_CODE_MALLOC_ERROR (-5) /* memory allocation error */

RL_RET_CODE_CRC_FAILED (-6) /* CRC value mismatched wrt received data */

RL_RET_CODE_CHKSUM_FAILED (-7) /* Checksum value mismatched wrt to received data */

RL_RET_CODE_RESP_TIMEOUT (-8) /* device failed to send response within time */

RL_RET_CODE_FATAL_ERROR (-9) /* Fatal error internal to mmWaveLink APIs */

RL_RET_CODE_RADAR_OSIF_ERROR (-10) /* OS interface failure */

RL_RET_CODE_INVALID_STATE_ERROR (-11) /* Invalid state within mmWaveLink */

RL_RET_CODE_API_NOT_SUPPORTED (-12) /* API called is not supported */

RL_RET_CODE_MSGID_MISMATCHED (-13) /* Message-ID mismatched in response data */

RL_RET_CODE_NULL_PTR (-14) /* Null pointer error */

RL_RET_CODE_INTERFACE_CB_NULL (-15) /* Interface callback passed as NULL */

/*! RF Error Codes */

RL_RET_CODE_INVLD_OPCODE (1U) /* Incorrect opcode/Msg ID */

RL_RET_CODE_INVLD_NUM_SB (2U) /* Incorrect no. of Sub-Block */

RL_RET_CODE_INVLD_SB_ID (3U) /* Incorrect Sub-Block ID */

RL_RET_CODE_INVLD_SB_LEN (4U) /* Incorrect Sub-Block Length */

RL_RET_CODE_SB_INVL_DATA (5U) /* Incorrect Sub-Block Data */

RL_RET_CODE_SB_PROCESS_ERR (6U) /* Error in Sub Block processing */

RL_RET_CODE_MISMATCH_FILE_CRC (7U) /* Mismatch in File CRC */

RL_RET_CODE_MISMATCH_FILE_TYPE (8U) /* Mismatch in File Type */

class mmwavelink.dlldef.mmwavelink(dllDir, configFile, profileConf, chirpConf, frameConf)¶

Bases: object

Methods

chang_std_output(self, fileName)

ChirpConfig

ChirpConfigRets

FrameConfig

FrameConfigRets

ProfileConfig

ProfileConfigRets

SensorShutdown

SensorShutdownRets

SensorStart

SensorStartRets

SensorStop

SensorStopRets

makeConfFile

mmwApp

mmwAppRets

ChirpConfig(self)¶
ChirpConfigRets(self, value)¶
FrameConfig(self)¶
FrameConfigRets(self, value)¶
ProfileConfig(self)¶
ProfileConfigRets(self, value)¶
SensorShutdown(self)¶
SensorShutdownRets(self, value)¶
SensorStart(self)¶
SensorStartRets(self, value)¶
SensorStop(self)¶
SensorStopRets(self, value)¶
chang_std_output(self, fileName: str)¶
makeConfFile(self, configFile: str, profileConf: radar.params.TI_FMCW_Profile_Params, chirpConf: [<class 'radar.params.TI_FMCW_Chirp_Params'>], frameConf: radar.params.TI_FMCW_Frame_Params)¶
mmwApp(self)¶
mmwAppRets(self, value)¶
Next Previous

© Copyright 2020, Mostafa Alizadeh

Built with Sphinx using a theme provided by Read the Docs.