-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from NavAbility/main
v0.4.8-rc1
- Loading branch information
Showing
30 changed files
with
881 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.PHONY: test | ||
|
||
test: | ||
julia --project -e "using Pkg; Pkg.test()" |
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ uuid = "f3e6a059-199c-4ada-8143-fcefb97e6165" | |
keywords = ["navability", "navigation", "slam", "sdk", "robotics", "robots"] | ||
desc = "NavAbility SDK: Access NavAbility Cloud factor graph features. Note that this SDK and the related API are still in development. Please let us know if you have any issues at [email protected]." | ||
authors = ["NavAbility <[email protected]>"] | ||
version = "0.4.7" | ||
version = "0.4.8" | ||
|
||
[deps] | ||
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
|
@@ -17,15 +17,17 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | |
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | ||
|
||
[compat] | ||
Diana = "0.2" | ||
Diana = "0.2, 0.3" | ||
DocStringExtensions = "0.8, 0.9" | ||
Downloads = "1" | ||
HTTP = "0.9, 1" | ||
JSON = "0.21" | ||
TensorCast = "0.4" | ||
julia = "1.6" | ||
|
||
[extras] | ||
TensorCast = "02d47bb6-7ce6-556a-be16-bb1710789e2b" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Test"] | ||
test = ["TensorCast","Test"] |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
## ========================= | ||
## Remove below before v0.6 | ||
## ========================= | ||
|
||
@deprecate getData(client::NavAbilityClient, context::Client, fileId::AbstractString) getData(client, context, UUID(fileId)) | ||
@deprecate getDataByLabel( client::NavAbilityClient, context::Client, vlbl::AbstractString, w...; kw...) getData(client, context, vlbl, w...; kw...) |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
|
||
# @enum BagFormat begin | ||
# NVA # FIXME TARGZ | ||
# ROS1BAG | ||
# MCAP | ||
# end | ||
|
||
|
||
Base.@kwdef struct SessionKey | ||
userId::String | ||
robotId::String | ||
sessionId::String | ||
end | ||
|
||
# dictionary since either fields can be used | ||
function SessionId(; | ||
id::Union{<:AbstractString,Nothing}=nothing, | ||
key::Union{SessionKey,Nothing}=nothing | ||
) | ||
# | ||
_idorkeys = id isa Nothing | ||
Dict( | ||
(_idorkeys ? () : ("id"=>id,))..., | ||
(!_idorkeys ? () : ("key"=>key,))... | ||
) | ||
end | ||
|
||
|
||
# function SessionKey( | ||
# userId::AbstractString, | ||
# robotId::AbstractString, | ||
# sessionId::AbstractString | ||
# ) | ||
# # | ||
# Dict{String,String}( | ||
# "userId" => userId, | ||
# "robotId" => robotId, | ||
# "sessionId" => sessionId, | ||
# ) | ||
# end | ||
|
||
Base.@kwdef struct ExportSessionInput | ||
id::Dict | ||
filename::String | ||
end | ||
|
||
Base.@kwdef struct ExportSessionOptions | ||
format::String | ||
end |
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
Oops, something went wrong.