Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG Graphics mbed TS_DISCO_F746NG
Radar Class Reference
Simple radar simulator. More...
#include <Radar.h>
Inherited by RadarDemo.
Public Member Functions | |
| void | DrawTracks () |
| Draws all visible tracks. | |
| bool | UpdateTargetsLocation (float startAngle, float endAngle, uint32_t currentTime) |
| Updates the targets in sector for the current time. | |
| void | SetRange (uint8_t rangeNumber) |
| Sets current range number. | |
| bool | ChangeRange (int change) |
| Increase or decrease range. | |
Static Public Member Functions | |
| static float | GetRange () |
| Gets currently selected range in world coordinates [km]. | |
| static float | GetMaxRange () |
| Gets the maximum radar range in world coordinates [km]. | |
Protected Member Functions | |
| void | Initialize () |
| Initializes this instance. | |
Protected Attributes | |
| Window | window |
| Display window in local coordinates system. | |
Detailed Description
Simple radar simulator.
Definition at line 38 of file Radar.h.
Member Function Documentation
| bool ChangeRange | ( | int | change ) |
| static float GetMaxRange | ( | ) | [static] |
| static float GetRange | ( | ) | [static] |
| void Initialize | ( | ) | [protected] |
| void SetRange | ( | uint8_t | rangeNumber ) |
| bool UpdateTargetsLocation | ( | float | startAngle, |
| float | endAngle, | ||
| uint32_t | currentTime | ||
| ) |
Field Documentation
Generated on Wed Jul 13 2022 08:01:03 by
1.7.2