Skip to content

Commit

Permalink
[mkkml] update IRA regexp #53
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec42 committed Mar 2, 2022
1 parent 8805f98 commit 0a6e704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkkml
Expand Up @@ -314,7 +314,7 @@ sub do_beams{
my $broken=0;
sub read_line{
my ($data,$line)=@_;
if(/^IRA: (\S+) ([\d.]+) \d+\s+(\d+)%\s+([0-9.]+).* sat:(\d+) beam:(\d+) (?:rps=\S+ )?pos=.([+-][0-9.]+)\/([+-][0-9.]+). alt=(-?\d+)/){
if(/^IRA: (\S+) ([\d.]+) \d+\s+(\d+)%\s+[0-9.|-]+([0-9.]+).* sat:(\d+) beam:(\d+) (?:xyz=\S+ )?pos=.([+-][0-9.]+)\/([+-][0-9.]+). alt=(-?\d+)/){

my ($fn,$t,$conf,$str,$sat,$beam,$x,$y,$h)=($1,$2,$3,$4,$5,$6,$7,$8,$9);
# fn: filename, t: time, str: signal level
Expand Down

0 comments on commit 0a6e704

Please sign in to comment.