Miroslaw K. / Mbed 2 deprecated RadarDemo

Dependencies:   BSP_DISCO_F746NG Graphics mbed TS_DISCO_F746NG

Embed: (wiki syntax)

« Back to documentation index

RadarTimer Class Reference

RadarTimer Class Reference

Radar time subsystem simulator, inherits timer and implements beam angle calculation method. More...

#include <RadarTimer.h>

Public Member Functions

 RadarTimer (uint32_t scanPeriod)
 Sets scan period in seconds.
void SetScanPeriod (uint32_t scanPeriod)
 Sets scan period in seconds.
void Start ()
 Starts the timer.
uint32_t GetRunningTime ()
 Get current time in miliseconds.
float GetBeamAngle ()
 Get current beam angle in radians.

Detailed Description

Radar time subsystem simulator, inherits timer and implements beam angle calculation method.

Definition at line 24 of file RadarTimer.h.


Constructor & Destructor Documentation

RadarTimer ( uint32_t  scanPeriod )

Sets scan period in seconds.

Definition at line 15 of file RadarTimer.cpp.


Member Function Documentation

float GetBeamAngle (  )

Get current beam angle in radians.

Definition at line 58 of file RadarTimer.cpp.

uint32_t GetRunningTime (  )

Get current time in miliseconds.

Definition at line 36 of file RadarTimer.cpp.

void SetScanPeriod ( uint32_t  scanPeriod )

Sets scan period in seconds.

Definition at line 22 of file RadarTimer.cpp.

void Start (  )

Starts the timer.

Definition at line 27 of file RadarTimer.cpp.