Error handling

The radar application has three layers:

1. mmwavelink layer: the mmwavelink is the interface to the radar chip for programming, configuring, and monitoring the radar. It has four different errors:

  • mmwave app: if an exception raised at this stage, the error raised due to the following reasons:

    • The radar and the SPI board (see Glossaries) are not connected

    • The radar and the SPI board are connected but they are not recognized by the host

  • Profile config: profile configuration parameters are wrong

  • Chirp config: chirp configuration parameters are wrong

  • Frame config: FMCW frame configuration parameters are wrong

2. baseband layer: the baseband signal processing includes deriving range-slowtime map, range-Doppler map, range-azimuth map, and 3D point cloud. This layer has the following errors: TODO

  • Reading packets: …

  1. application layer:

exception Errors.DopplerErr(msg)

Bases: Errors.basebandErr

exception Errors.FormingVirChanErr(msg)

Bases: Errors.basebandErr

exception Errors.IOError

Bases: Errors.basebandErr

exception Errors.PortConnection(msg)

Bases: Errors.basebandErr

exception Errors.RangeErr(msg)

Bases: Errors.basebandErr

exception Errors.WorkerReturn(msg)

Bases: Errors.basebandErr

exception Errors.appErr(msg)

Bases: Exception

exception Errors.basebandErr(msg)

Bases: Exception

exception Errors.chirpConfErr(msg)

Bases: Errors.mmwavelinkErr

exception Errors.frameConfigErr(msg)

Bases: Errors.mmwavelinkErr

exception Errors.mmwAppErr(msg)

Bases: Errors.mmwavelinkErr

exception Errors.mmwavelinkErr(msg)

Bases: Exception

exception Errors.packetorderingErr(msg)

Bases: Errors.basebandErr

exception Errors.profConfErr(msg)

Bases: Errors.mmwavelinkErr

exception Errors.readingADCbitsErr(msg)

Bases: Errors.basebandErr

exception Errors.readingDCA1000Err(msg)

Bases: Errors.basebandErr