calc_angle: Calculates the DoA using the signal strengths at two...

Description Usage Arguments Value Author(s) Examples

View source: R/radiotrackingeu.R

Description

Calculates the DoA using the signal strengths at two antennas.

Usage

1
calc_angle(sig_a, sig_b, angle_a, angle_b, dbLoss, option)

Arguments

sig_a

Signal strength at antenna a.

sig_b

Signal strength at antenna b.

angle_a

Orientation of antenna a.

angle_b

Orientation of antenna b.

dbLoss

Signal drop at 90 degrees in dB.

option

A string specifying the approximation method. "arccos" can only be used with antennas at 90 degree intervals, "linear" is more rough and "automatic" chooses depending on the angle between antennas.

Value

Approximation of the DoA.

Author(s)

Dipl.-Phys. Ralf Zeidler, ralf.zeidler@fridata.de

Examples

1
2
calc_angle(20,30,0,90,15,"arccos")
calc_angle(20,20,0,90,15,"arccos")

radiotrackingeu/radiotrackingeu documentation built on May 20, 2019, 12:36 p.m.