-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump node.js version to 18.17.0 [AP-1081] (#1392)
# Description @swift-nav/devinfra Bump node.js version in docker image to 18.17.0 This resolves the docker image build failures seen on #1373 and allows a freshly built docker image to build the javascript bindings # API compatibility Does this change introduce a API compatibility risk? No ## API compatibility plan If the above is "Yes", please detail the compatibility (or migration) plan: N/A # JIRA Reference https://swift-nav.atlassian.net/browse/AP-1081
- Loading branch information
Showing
265 changed files
with
13,891 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.0.5-alpha | ||
5.0.4-alpha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
kaitai/perl/KaitaiSbp/t/auto_check_sbp_acquisition_MsgAcqResult.t
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
#!/usr/bin/perl -w | ||
# | ||
# Copyright (C) 2015-2023 Swift Navigation Inc. | ||
# Contact: https://support.swiftnav.com | ||
# | ||
# This source is subject to the license found in the file 'LICENSE' which must | ||
# be be distributed together with this source. All other rights reserved. | ||
# | ||
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, | ||
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED | ||
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. | ||
# | ||
# Test cases automatically generated from spec/tests/yaml/swiftnav/sbp/acquisition/test_MsgAcqResult.yaml | ||
# with generate.py. Do not modify by hand! | ||
|
||
use strict; | ||
|
||
BEGIN { | ||
# add grandparent directory to include path | ||
use Cwd qw(realpath); | ||
use File::Basename; | ||
unshift @INC, realpath(dirname($0))."/../../"; | ||
} | ||
|
||
use KaitaiSbp::Sbp; | ||
use KaitaiSbp::ParseUtils; | ||
use IO::KaitaiStruct; | ||
use Test::More; | ||
use JSON::PP; | ||
use MIME::Base64; | ||
sub test_auto_check_sbp_acquisition_msg_acq_result_1() { | ||
my $buf = decode_base64("VS8AwwQOAABoQWZmkELNxABGCADPvQ=="); | ||
my $stream = IO::KaitaiStruct::Stream->new($buf); | ||
my $msg = ParseUtils::get_flattened_msg(Sbp::SbpMessage->new($stream)); | ||
|
||
is($msg->{'crc'}, 0xbdcf, "crc"); | ||
|
||
is($msg->{'length'}, 14, "length"); | ||
|
||
is($msg->{'msg_type'}, 0x2f, "msg_type"); | ||
|
||
is($msg->{'payload'}, "AABoQWZmkELNxABGCAA=", "payload"); | ||
|
||
is($msg->{'preamble'}, 0x55, "preamble"); | ||
|
||
is($msg->{'sender'}, 0x04c3, "sender"); | ||
|
||
my $json = JSON::PP->new->convert_blessed->canonical; | ||
|
||
is($msg->cf(), 8241.2001953125, "cf"); | ||
|
||
is($msg->cn0(), 14.5, "cn0"); | ||
|
||
is($msg->cp(), 72.19999694824219, "cp"); | ||
|
||
is($json->encode($msg->sid()), $json->encode($json->decode(q{{"code":0,"sat":8}})), "sid"); | ||
|
||
is($json->encode($msg), $json->encode($json->decode(q{{"cf":8241.2001953125,"cn0":14.5,"cp":72.19999694824219,"crc":48591,"length":14,"msg_type":47,"payload":"AABoQWZmkELNxABGCAA=","preamble":85,"sender":1219,"sid":{"code":0,"sat":8}}})), "raw_json"); | ||
} | ||
test_auto_check_sbp_acquisition_msg_acq_result_1(); | ||
|
||
done_testing(); |
56 changes: 56 additions & 0 deletions
56
kaitai/perl/KaitaiSbp/t/auto_check_sbp_acquisition_MsgAcqSvProfile.t
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/usr/bin/perl -w | ||
# | ||
# Copyright (C) 2015-2023 Swift Navigation Inc. | ||
# Contact: https://support.swiftnav.com | ||
# | ||
# This source is subject to the license found in the file 'LICENSE' which must | ||
# be be distributed together with this source. All other rights reserved. | ||
# | ||
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, | ||
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED | ||
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. | ||
# | ||
# Test cases automatically generated from spec/tests/yaml/swiftnav/sbp/acquisition/test_MsgAcqSvProfile.yaml | ||
# with generate.py. Do not modify by hand! | ||
|
||
use strict; | ||
|
||
BEGIN { | ||
# add grandparent directory to include path | ||
use Cwd qw(realpath); | ||
use File::Basename; | ||
unshift @INC, realpath(dirname($0))."/../../"; | ||
} | ||
|
||
use KaitaiSbp::Sbp; | ||
use KaitaiSbp::ParseUtils; | ||
use IO::KaitaiStruct; | ||
use Test::More; | ||
use JSON::PP; | ||
use MIME::Base64; | ||
sub test_auto_check_sbp_acquisition_msg_acq_sv_profile_1() { | ||
my $buf = decode_base64("VS4AwwRjBw0mAGEWAK4ANAAAADEAAAA9AAAAkwAAAC8AAACMAAAAptI7AP0XAXkAvgAAAK8AAACvAAAAjgAAAO0AAAAMAAAAflgVAJkYAAgAggAAAKwAAABbAAAAvwAAAFQAAABSAAAAqLE="); | ||
my $stream = IO::KaitaiStruct::Stream->new($buf); | ||
my $msg = ParseUtils::get_flattened_msg(Sbp::SbpMessage->new($stream)); | ||
|
||
is($msg->{'crc'}, 0xb1a8, "crc"); | ||
|
||
is($msg->{'length'}, 99, "length"); | ||
|
||
is($msg->{'msg_type'}, 0x2e, "msg_type"); | ||
|
||
is($msg->{'payload'}, "Bw0mAGEWAK4ANAAAADEAAAA9AAAAkwAAAC8AAACMAAAAptI7AP0XAXkAvgAAAK8AAACvAAAAjgAAAO0AAAAMAAAAflgVAJkYAAgAggAAAKwAAABbAAAAvwAAAFQAAABSAAAA", "payload"); | ||
|
||
is($msg->{'preamble'}, 0x55, "preamble"); | ||
|
||
is($msg->{'sender'}, 0x04c3, "sender"); | ||
|
||
my $json = JSON::PP->new->convert_blessed->canonical; | ||
|
||
is($json->encode($msg->acq_sv_profile()), $json->encode($json->decode(q{[{"bin_width":174,"cf":47,"cf_max":147,"cf_min":61,"cn0":38,"cp":140,"int_time":97,"job_type":7,"sid":{"code":0,"sat":22},"status":13,"time_spent":49,"timestamp":52},{"bin_width":121,"cf":237,"cf_max":142,"cf_min":175,"cn0":59,"cp":12,"int_time":253,"job_type":166,"sid":{"code":1,"sat":23},"status":210,"time_spent":175,"timestamp":190},{"bin_width":8,"cf":84,"cf_max":191,"cf_min":91,"cn0":21,"cp":82,"int_time":153,"job_type":126,"sid":{"code":0,"sat":24},"status":88,"time_spent":172,"timestamp":130}]})), "acq_sv_profile"); | ||
|
||
is($json->encode($msg), $json->encode($json->decode(q{{"acq_sv_profile":[{"bin_width":174,"cf":47,"cf_max":147,"cf_min":61,"cn0":38,"cp":140,"int_time":97,"job_type":7,"sid":{"code":0,"sat":22},"status":13,"time_spent":49,"timestamp":52},{"bin_width":121,"cf":237,"cf_max":142,"cf_min":175,"cn0":59,"cp":12,"int_time":253,"job_type":166,"sid":{"code":1,"sat":23},"status":210,"time_spent":175,"timestamp":190},{"bin_width":8,"cf":84,"cf_max":191,"cf_min":91,"cn0":21,"cp":82,"int_time":153,"job_type":126,"sid":{"code":0,"sat":24},"status":88,"time_spent":172,"timestamp":130}],"crc":45480,"length":99,"msg_type":46,"payload":"Bw0mAGEWAK4ANAAAADEAAAA9AAAAkwAAAC8AAACMAAAAptI7AP0XAXkAvgAAAK8AAACvAAAAjgAAAO0AAAAMAAAAflgVAJkYAAgAggAAAKwAAABbAAAAvwAAAFQAAABSAAAA","preamble":85,"sender":1219}})), "raw_json"); | ||
} | ||
test_auto_check_sbp_acquisition_msg_acq_sv_profile_1(); | ||
|
||
done_testing(); |
56 changes: 56 additions & 0 deletions
56
kaitai/perl/KaitaiSbp/t/auto_check_sbp_acquisition_MsgAcqSvProfileDep.t
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/usr/bin/perl -w | ||
# | ||
# Copyright (C) 2015-2023 Swift Navigation Inc. | ||
# Contact: https://support.swiftnav.com | ||
# | ||
# This source is subject to the license found in the file 'LICENSE' which must | ||
# be be distributed together with this source. All other rights reserved. | ||
# | ||
# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, | ||
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED | ||
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. | ||
# | ||
# Test cases automatically generated from spec/tests/yaml/swiftnav/sbp/acquisition/test_MsgAcqSvProfileDep.yaml | ||
# with generate.py. Do not modify by hand! | ||
|
||
use strict; | ||
|
||
BEGIN { | ||
# add grandparent directory to include path | ||
use Cwd qw(realpath); | ||
use File::Basename; | ||
unshift @INC, realpath(dirname($0))."/../../"; | ||
} | ||
|
||
use KaitaiSbp::Sbp; | ||
use KaitaiSbp::ParseUtils; | ||
use IO::KaitaiStruct; | ||
use Test::More; | ||
use JSON::PP; | ||
use MIME::Base64; | ||
sub test_auto_check_sbp_acquisition_msg_acq_sv_profile_dep_1() { | ||
my $buf = decode_base64("VR4AwwRpQ2eXAAwWAAAAuwBbAAAASwAAAIQAAAAkAAAAPAAAAPEAAADuJm8AsxcAAQCwAKYAAADqAAAAmwAAABgAAADUAAAA9wAAAI7VRAA1GAAAADQAMQAAAPUAAABMAAAA+AAAANQAAABlAAAAQ4Q="); | ||
my $stream = IO::KaitaiStruct::Stream->new($buf); | ||
my $msg = ParseUtils::get_flattened_msg(Sbp::SbpMessage->new($stream)); | ||
|
||
is($msg->{'crc'}, 0x8443, "crc"); | ||
|
||
is($msg->{'length'}, 105, "length"); | ||
|
||
is($msg->{'msg_type'}, 0x1e, "msg_type"); | ||
|
||
is($msg->{'payload'}, "Q2eXAAwWAAAAuwBbAAAASwAAAIQAAAAkAAAAPAAAAPEAAADuJm8AsxcAAQCwAKYAAADqAAAAmwAAABgAAADUAAAA9wAAAI7VRAA1GAAAADQAMQAAAPUAAABMAAAA+AAAANQAAABlAAAA", "payload"); | ||
|
||
is($msg->{'preamble'}, 0x55, "preamble"); | ||
|
||
is($msg->{'sender'}, 0x04c3, "sender"); | ||
|
||
my $json = JSON::PP->new->convert_blessed->canonical; | ||
|
||
is($json->encode($msg->acq_sv_profile()), $json->encode($json->decode(q{[{"bin_width":187,"cf":60,"cf_max":36,"cf_min":132,"cn0":151,"cp":241,"int_time":12,"job_type":67,"sid":{"code":0,"reserved":0,"sat":22},"status":103,"time_spent":75,"timestamp":91},{"bin_width":176,"cf":212,"cf_max":24,"cf_min":155,"cn0":111,"cp":247,"int_time":179,"job_type":238,"sid":{"code":1,"reserved":0,"sat":23},"status":38,"time_spent":234,"timestamp":166},{"bin_width":52,"cf":212,"cf_max":248,"cf_min":76,"cn0":68,"cp":101,"int_time":53,"job_type":142,"sid":{"code":0,"reserved":0,"sat":24},"status":213,"time_spent":245,"timestamp":49}]})), "acq_sv_profile"); | ||
|
||
is($json->encode($msg), $json->encode($json->decode(q{{"acq_sv_profile":[{"bin_width":187,"cf":60,"cf_max":36,"cf_min":132,"cn0":151,"cp":241,"int_time":12,"job_type":67,"sid":{"code":0,"reserved":0,"sat":22},"status":103,"time_spent":75,"timestamp":91},{"bin_width":176,"cf":212,"cf_max":24,"cf_min":155,"cn0":111,"cp":247,"int_time":179,"job_type":238,"sid":{"code":1,"reserved":0,"sat":23},"status":38,"time_spent":234,"timestamp":166},{"bin_width":52,"cf":212,"cf_max":248,"cf_min":76,"cn0":68,"cp":101,"int_time":53,"job_type":142,"sid":{"code":0,"reserved":0,"sat":24},"status":213,"time_spent":245,"timestamp":49}],"crc":33859,"length":105,"msg_type":30,"payload":"Q2eXAAwWAAAAuwBbAAAASwAAAIQAAAAkAAAAPAAAAPEAAADuJm8AsxcAAQCwAKYAAADqAAAAmwAAABgAAADUAAAA9wAAAI7VRAA1GAAAADQAMQAAAPUAAABMAAAA+AAAANQAAABlAAAA","preamble":85,"sender":1219}})), "raw_json"); | ||
} | ||
test_auto_check_sbp_acquisition_msg_acq_sv_profile_dep_1(); | ||
|
||
done_testing(); |
Oops, something went wrong.