minot-cli 0.15.2__tar.gz → 0.16.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. {minot_cli-0.15.2 → minot_cli-0.16.0}/Cargo.lock +17 -17
  2. {minot_cli-0.15.2 → minot_cli-0.16.0}/Cargo.toml +14 -14
  3. {minot_cli-0.15.2 → minot_cli-0.16.0}/PKG-INFO +1 -1
  4. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/Cargo.toml +1 -0
  5. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/gen_c.rs +0 -14
  6. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/gen_c_tests.rs +0 -14
  7. minot_cli-0.16.0/mt_bagread/src/laser_scan.rs +79 -0
  8. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_bagread/src/lib.rs +11 -113
  9. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_coord/src/lib.rs +45 -52
  10. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/Cargo.toml +1 -1
  11. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/core/marina.rs +0 -24
  12. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/model/bag_ref.rs +0 -9
  13. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/minot/block_store.rs +0 -12
  14. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/minot/mod.rs +0 -34
  15. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/minot/protocol.rs +0 -22
  16. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/minot/remote_file.rs +0 -51
  17. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/transfer_progress.rs +0 -23
  18. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/storage/config.rs +0 -18
  19. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_flow/src/lib.rs +0 -22
  20. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_log/src/tests.rs +0 -76
  21. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_mtc/src/lib.rs +17 -0
  22. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_net/src/image/tests.rs +0 -22
  23. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_net/src/lib.rs +2 -252
  24. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/README.md +1 -1
  25. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/src/coordinated.rs +0 -22
  26. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/src/quic.rs +172 -11
  27. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/src/quic_shm.rs +14 -4
  28. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_sea/Cargo.toml +1 -1
  29. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_sea/src/client.rs +68 -14
  30. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_sea/src/lib.rs +14 -0
  31. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_sea/src/net.rs +10 -20
  32. minot_cli-0.16.0/mt_sea/src/presence.rs +302 -0
  33. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_sea/src/ship.rs +124 -45
  34. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_wind/src/hiroz.rs +36 -1
  35. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_wind/src/mt_pubsub.rs +19 -0
  36. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_wind/src/ros1.rs +36 -3
  37. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_wind/src/ros2.rs +25 -10
  38. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_wind/src/ros2_r2r.rs +25 -1
  39. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/README.md +0 -0
  40. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/build.rs +0 -0
  41. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/app.rs +0 -0
  42. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/coord.rs +0 -0
  43. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/event.rs +0 -0
  44. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/gen_c.rs.patch +0 -0
  45. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/gen_c.rs.patch2 +0 -0
  46. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/handler.rs +0 -0
  47. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/minot.rs +0 -0
  48. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/runner.rs +0 -0
  49. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/tui.rs +0 -0
  50. {minot_cli-0.15.2 → minot_cli-0.16.0}/minot/src/ui.rs +0 -0
  51. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_bagread/Cargo.toml +0 -0
  52. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_bagread/README.md +0 -0
  53. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_bagread/examples/stream_probe.rs +0 -0
  54. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_bagread/src/camera.rs +0 -0
  55. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_bagread/src/camera_tests.rs +0 -0
  56. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_bagread/src/end_of_stream_tests.rs +0 -0
  57. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_bagread/src/qos.rs +0 -0
  58. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_bagread/test/metadata-v5.yml +0 -0
  59. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_bagread/test/metadata-v9.yml +0 -0
  60. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_coord/Cargo.toml +0 -0
  61. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_coord/README.md +0 -0
  62. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/default.rl +0 -0
  63. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/cleanup.rs +0 -0
  64. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/core/mod.rs +0 -0
  65. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/io/bag.rs +0 -0
  66. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/io/db3_transform.rs +0 -0
  67. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/io/mcap_transform.rs +0 -0
  68. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/io/mod.rs +0 -0
  69. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/io/pack.rs +0 -0
  70. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/io/transform_progress.rs +0 -0
  71. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/lib.rs +0 -0
  72. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/model/mod.rs +0 -0
  73. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/progress.rs +0 -0
  74. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/driver.rs +0 -0
  75. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/folder.rs +0 -0
  76. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/gdrive.rs +0 -0
  77. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/gdrive_auth.rs +0 -0
  78. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/http.rs +0 -0
  79. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/mod.rs +0 -0
  80. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/ssh.rs +0 -0
  81. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/registry/stub.rs +0 -0
  82. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/storage/cache.rs +0 -0
  83. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_dataset/src/storage/mod.rs +0 -0
  84. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_flow/Cargo.toml +0 -0
  85. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_log/Cargo.toml +0 -0
  86. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_log/README.md +0 -0
  87. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_log/src/buffer.rs +0 -0
  88. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_log/src/format.rs +0 -0
  89. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_log/src/init.rs +0 -0
  90. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_log/src/lib.rs +0 -0
  91. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_log/src/logger.rs +0 -0
  92. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_log/src/pane.rs +0 -0
  93. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_mtc/Cargo.toml +0 -0
  94. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_mtc/README.md +0 -0
  95. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_net/Cargo.toml +0 -0
  96. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_net/README.md +0 -0
  97. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_net/examples/c_interop_layout.rs +0 -0
  98. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_net/examples/c_interop_pc2.rs +0 -0
  99. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_net/examples/c_interop_test.rs +0 -0
  100. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_net/src/bin_layout.rs +0 -0
  101. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_net/src/c_interop_test.rs +0 -0
  102. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_net/src/image.rs +0 -0
  103. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/Cargo.toml +0 -0
  104. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/examples/be_node.rs +0 -0
  105. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/examples/be_sub.rs +0 -0
  106. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/examples/be_sub_drop.rs +0 -0
  107. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/examples/be_sub_error.rs +0 -0
  108. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/examples/blackout.rs +0 -0
  109. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/examples/pub.rs +0 -0
  110. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/examples/smol.rs +0 -0
  111. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/examples/sub.rs +0 -0
  112. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/examples/transfer.rs +0 -0
  113. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/src/lib.rs +0 -0
  114. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/src/peer.rs +0 -0
  115. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/src/quic_plain.rs +0 -0
  116. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/src/quic_stream.rs +0 -0
  117. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_pubsub/src/transfer.rs +0 -0
  118. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_scope/Cargo.toml +0 -0
  119. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_scope/README.md +0 -0
  120. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_scope/examples/test.rs +0 -0
  121. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_scope/src/lib.rs +0 -0
  122. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_sea/README.md +0 -0
  123. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_sea/src/claim.rs +0 -0
  124. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_sea/src/coordinator.rs +0 -0
  125. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_sea/src/network.rs +0 -0
  126. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_service/Cargo.toml +0 -0
  127. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_service/README.md +0 -0
  128. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_service/examples/bad_service_client.rs +0 -0
  129. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_service/examples/basic_service_client.rs +0 -0
  130. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_service/examples/basic_service_client2.rs +0 -0
  131. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_service/examples/basic_service_server.rs +0 -0
  132. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_service/src/lib.rs +0 -0
  133. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_wind/Cargo.toml +0 -0
  134. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_wind/README.md +0 -0
  135. {minot_cli-0.15.2 → minot_cli-0.16.0}/mt_wind/src/lib.rs +0 -0
  136. {minot_cli-0.15.2 → minot_cli-0.16.0}/pyproject.toml +0 -0
@@ -936,9 +936,9 @@ checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
936
936
 
937
937
  [[package]]
938
938
  name = "cloudini"
939
- version = "0.3.2"
939
+ version = "0.4.0"
940
940
  source = "registry+https://github.com/rust-lang/crates.io-index"
941
- checksum = "115564634aa75ccf8d128d319e9434fc6e437fa7000b98f87105cb7bc3164a7a"
941
+ checksum = "1132a3733d6dd0226fbbb2d1e2df947989131dfc9c3d7e52df0d2fcca446b76f"
942
942
  dependencies = [
943
943
  "lz4_flex 0.13.1",
944
944
  "rkyv",
@@ -3800,7 +3800,7 @@ dependencies = [
3800
3800
 
3801
3801
  [[package]]
3802
3802
  name = "minot"
3803
- version = "0.15.2"
3803
+ version = "0.16.0"
3804
3804
  dependencies = [
3805
3805
  "anyhow",
3806
3806
  "bytesize",
@@ -3937,7 +3937,7 @@ dependencies = [
3937
3937
 
3938
3938
  [[package]]
3939
3939
  name = "mt_action"
3940
- version = "0.15.2"
3940
+ version = "0.16.0"
3941
3941
  dependencies = [
3942
3942
  "anyhow",
3943
3943
  "log",
@@ -3952,7 +3952,7 @@ dependencies = [
3952
3952
 
3953
3953
  [[package]]
3954
3954
  name = "mt_bagread"
3955
- version = "0.15.2"
3955
+ version = "0.16.0"
3956
3956
  dependencies = [
3957
3957
  "anyhow",
3958
3958
  "camino",
@@ -3973,7 +3973,7 @@ dependencies = [
3973
3973
 
3974
3974
  [[package]]
3975
3975
  name = "mt_coord"
3976
- version = "0.15.2"
3976
+ version = "0.16.0"
3977
3977
  dependencies = [
3978
3978
  "anyhow",
3979
3979
  "fs2",
@@ -3987,7 +3987,7 @@ dependencies = [
3987
3987
 
3988
3988
  [[package]]
3989
3989
  name = "mt_dataset"
3990
- version = "0.15.2"
3990
+ version = "0.16.0"
3991
3991
  dependencies = [
3992
3992
  "anyhow",
3993
3993
  "async-trait",
@@ -4030,7 +4030,7 @@ dependencies = [
4030
4030
 
4031
4031
  [[package]]
4032
4032
  name = "mt_flow"
4033
- version = "0.15.2"
4033
+ version = "0.16.0"
4034
4034
  dependencies = [
4035
4035
  "anyhow",
4036
4036
  "env_logger",
@@ -4044,7 +4044,7 @@ dependencies = [
4044
4044
 
4045
4045
  [[package]]
4046
4046
  name = "mt_log"
4047
- version = "0.15.2"
4047
+ version = "0.16.0"
4048
4048
  dependencies = [
4049
4049
  "env_filter 2.0.0",
4050
4050
  "env_logger",
@@ -4057,7 +4057,7 @@ dependencies = [
4057
4057
 
4058
4058
  [[package]]
4059
4059
  name = "mt_mtc"
4060
- version = "0.15.2"
4060
+ version = "0.16.0"
4061
4061
  dependencies = [
4062
4062
  "anyhow",
4063
4063
  "ariadne",
@@ -4070,7 +4070,7 @@ dependencies = [
4070
4070
 
4071
4071
  [[package]]
4072
4072
  name = "mt_net"
4073
- version = "0.15.2"
4073
+ version = "0.16.0"
4074
4074
  dependencies = [
4075
4075
  "anyhow",
4076
4076
  "image",
@@ -4081,7 +4081,7 @@ dependencies = [
4081
4081
 
4082
4082
  [[package]]
4083
4083
  name = "mt_pubsub"
4084
- version = "0.15.2"
4084
+ version = "0.16.0"
4085
4085
  dependencies = [
4086
4086
  "anyhow",
4087
4087
  "bytes",
@@ -4108,7 +4108,7 @@ dependencies = [
4108
4108
 
4109
4109
  [[package]]
4110
4110
  name = "mt_rat"
4111
- version = "0.15.2"
4111
+ version = "0.16.0"
4112
4112
  dependencies = [
4113
4113
  "anyhow",
4114
4114
  "log",
@@ -4122,7 +4122,7 @@ dependencies = [
4122
4122
 
4123
4123
  [[package]]
4124
4124
  name = "mt_scope"
4125
- version = "0.15.2"
4125
+ version = "0.16.0"
4126
4126
  dependencies = [
4127
4127
  "anyhow",
4128
4128
  "env_logger",
@@ -4135,7 +4135,7 @@ dependencies = [
4135
4135
 
4136
4136
  [[package]]
4137
4137
  name = "mt_sea"
4138
- version = "0.15.2"
4138
+ version = "0.16.0"
4139
4139
  dependencies = [
4140
4140
  "anyhow",
4141
4141
  "async-trait",
@@ -4154,7 +4154,7 @@ dependencies = [
4154
4154
 
4155
4155
  [[package]]
4156
4156
  name = "mt_service"
4157
- version = "0.15.2"
4157
+ version = "0.16.0"
4158
4158
  dependencies = [
4159
4159
  "anyhow",
4160
4160
  "log",
@@ -4168,7 +4168,7 @@ dependencies = [
4168
4168
 
4169
4169
  [[package]]
4170
4170
  name = "mt_wind"
4171
- version = "0.15.2"
4171
+ version = "0.16.0"
4172
4172
  dependencies = [
4173
4173
  "anyhow",
4174
4174
  "async-trait",
@@ -4,7 +4,7 @@ members = ["minot", "mt_pubsub", "mt_coord", "mt_bagread", "mt_mtc", "mt_sea", "
4
4
  resolver = "3"
5
5
 
6
6
  [workspace.package]
7
- version = "0.15.2"
7
+ version = "0.16.0"
8
8
  keywords = ["robotics"]
9
9
  license = "MIT OR Apache-2.0"
10
10
  repository = "https://codeberg.org/stelzo/minot.git"
@@ -27,19 +27,19 @@ exclude = [
27
27
  ]
28
28
 
29
29
  [workspace.dependencies]
30
- mt_sea = { path = "mt_sea", version = "0.15.2", default-features = false }
31
- mt_coord = { path = "mt_coord", version = "0.15.2", default-features = false }
32
- mt_pubsub = { path = "mt_pubsub", version = "0.15.2", default-features = false }
33
- mt_service = { path = "mt_service", version = "0.15.2", default-features = false }
34
- mt_action = { path = "mt_action", version = "0.15.2", default-features = false }
35
- mt_scope = { path = "mt_scope", version = "0.15.2", default-features = false }
36
- mt_bagread = { path = "mt_bagread", version = "0.15.2", default-features = false }
37
- mt_net = { path = "mt_net", version = "0.15.2", default-features = false }
38
- mt_flow = { path = "mt_flow", version = "0.15.2", default-features = false }
39
- mt_dataset = { path = "mt_dataset", version = "0.15.2", default-features = false }
40
- mt_wind = { path = "mt_wind", version = "0.15.2", default-features = false }
41
- mt_mtc = { path = "mt_mtc", version = "0.15.2", default-features = false }
42
- mt_log = { path = "mt_log", version = "0.15.2", default-features = false }
30
+ mt_sea = { path = "mt_sea", version = "0.16.0", default-features = false }
31
+ mt_coord = { path = "mt_coord", version = "0.16.0", default-features = false }
32
+ mt_pubsub = { path = "mt_pubsub", version = "0.16.0", default-features = false }
33
+ mt_service = { path = "mt_service", version = "0.16.0", default-features = false }
34
+ mt_action = { path = "mt_action", version = "0.16.0", default-features = false }
35
+ mt_scope = { path = "mt_scope", version = "0.16.0", default-features = false }
36
+ mt_bagread = { path = "mt_bagread", version = "0.16.0", default-features = false }
37
+ mt_net = { path = "mt_net", version = "0.16.0", default-features = false }
38
+ mt_flow = { path = "mt_flow", version = "0.16.0", default-features = false }
39
+ mt_dataset = { path = "mt_dataset", version = "0.16.0", default-features = false }
40
+ mt_wind = { path = "mt_wind", version = "0.16.0", default-features = false }
41
+ mt_mtc = { path = "mt_mtc", version = "0.16.0", default-features = false }
42
+ mt_log = { path = "mt_log", version = "0.16.0", default-features = false }
43
43
 
44
44
  # Tools
45
45
  anyhow = "1.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: minot-cli
3
- Version: 0.15.2
3
+ Version: 0.16.0
4
4
  Classifier: Intended Audience :: Developers
5
5
  Classifier: Intended Audience :: Science/Research
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -28,6 +28,7 @@ rustdoc-args = ["--cfg", "docsrs"]
28
28
 
29
29
  [package.metadata.deb]
30
30
  name = "minot"
31
+ maintainer = "stelzo <stelzo@steado.de>"
31
32
  section = "science"
32
33
  priority = "optional"
33
34
  assets = [
@@ -2457,20 +2457,6 @@ fn c_and_go_scalar(ty: &Type) -> Result<(&'static str, &'static str)> {
2457
2457
  mod tests {
2458
2458
  use super::*;
2459
2459
 
2460
- #[test]
2461
- fn go_qos_combines_reliability_and_durability() {
2462
- let go = go_core_file();
2463
- assert!(go.contains("type Reliability int"));
2464
- assert!(go.contains("type Durability int"));
2465
- assert!(go.contains("type Qos struct"));
2466
- assert!(go.contains("func (q Qos) TransientLocal() Qos"));
2467
-
2468
- let ffi = ffi_lib_rs();
2469
- assert!(ffi.contains("1 => Reliability::TryReliable"));
2470
- assert!(ffi.contains("1 => Durability::TransientLocal"));
2471
- assert!(ffi.contains("Some(Qos::new(reliability, durability))"));
2472
- }
2473
-
2474
2460
  #[test]
2475
2461
  fn test_parse_and_generate_simple_struct() {
2476
2462
  let input = "
@@ -2,20 +2,6 @@
2
2
  mod tests {
3
3
  use super::*;
4
4
 
5
- #[test]
6
- fn test_parse_and_generate_simple_struct() {
7
- let input = "
8
- struct Simple {
9
- a: u32,
10
- b: f64,
11
- }
12
- ";
13
- let output = parse_and_generate(input, "Simple").unwrap();
14
- assert!(output.contains("uint32_t a;"));
15
- assert!(output.contains("double b;"));
16
- assert!(output.contains("} minot_Simple;"));
17
- }
18
-
19
5
  #[test]
20
6
  fn test_parse_and_generate_complex_struct() {
21
7
  let input = "
@@ -0,0 +1,79 @@
1
+ //! Field-preserving laser scan conversions for bag decoding and ROS publishing.
2
+ use ros2_interfaces_jazzy_rkyv as archived;
3
+ use ros2_interfaces_jazzy_serde as serial;
4
+
5
+ pub fn laser_scan_to_rkyv(
6
+ msg: serial::sensor_msgs::msg::LaserScan,
7
+ ) -> archived::sensor_msgs::msg::LaserScan {
8
+ archived::sensor_msgs::msg::LaserScan {
9
+ header: archived::std_msgs::msg::Header {
10
+ stamp: archived::builtin_interfaces::msg::Time {
11
+ sec: msg.header.stamp.sec,
12
+ nanosec: msg.header.stamp.nanosec,
13
+ },
14
+ frame_id: msg.header.frame_id,
15
+ },
16
+ angle_min: msg.angle_min,
17
+ angle_max: msg.angle_max,
18
+ angle_increment: msg.angle_increment,
19
+ time_increment: msg.time_increment,
20
+ scan_time: msg.scan_time,
21
+ range_min: msg.range_min,
22
+ range_max: msg.range_max,
23
+ ranges: msg.ranges,
24
+ intensities: msg.intensities,
25
+ }
26
+ }
27
+
28
+ pub fn laser_scan_to_serde(
29
+ msg: archived::sensor_msgs::msg::LaserScan,
30
+ ) -> serial::sensor_msgs::msg::LaserScan {
31
+ serial::sensor_msgs::msg::LaserScan {
32
+ header: serial::std_msgs::msg::Header {
33
+ stamp: serial::builtin_interfaces::msg::Time {
34
+ sec: msg.header.stamp.sec,
35
+ nanosec: msg.header.stamp.nanosec,
36
+ },
37
+ frame_id: msg.header.frame_id,
38
+ },
39
+ angle_min: msg.angle_min,
40
+ angle_max: msg.angle_max,
41
+ angle_increment: msg.angle_increment,
42
+ time_increment: msg.time_increment,
43
+ scan_time: msg.scan_time,
44
+ range_min: msg.range_min,
45
+ range_max: msg.range_max,
46
+ ranges: msg.ranges,
47
+ intensities: msg.intensities,
48
+ }
49
+ }
50
+
51
+ #[cfg(test)]
52
+ mod tests {
53
+ use super::*;
54
+
55
+ #[test]
56
+ fn laser_scan_survives_cdr_and_both_conversions() {
57
+ let scan = serial::sensor_msgs::msg::LaserScan {
58
+ header: serial::std_msgs::msg::Header {
59
+ stamp: serial::builtin_interfaces::msg::Time {
60
+ sec: 1_689_534_551,
61
+ nanosec: 862_189_494,
62
+ },
63
+ frame_id: "laser".into(),
64
+ },
65
+ angle_min: -3.1,
66
+ angle_max: 3.1,
67
+ angle_increment: -0.006_135_923,
68
+ time_increment: 9.765_625e-5,
69
+ scan_time: 0.1,
70
+ range_min: 0.5,
71
+ range_max: 200.0,
72
+ ranges: vec![1.5, f32::INFINITY, 12.25],
73
+ intensities: vec![10.0, 0.0, 255.0],
74
+ };
75
+ let bytes = cdr::serialize::<_, _, cdr::CdrLe>(&scan, cdr::Infinite).unwrap();
76
+ let decoded: serial::sensor_msgs::msg::LaserScan = cdr::deserialize(&bytes).unwrap();
77
+ assert_eq!(laser_scan_to_serde(laser_scan_to_rkyv(decoded)), scan);
78
+ }
79
+ }
@@ -28,6 +28,7 @@ use serde::{Deserializer, de};
28
28
  use std::fmt;
29
29
 
30
30
  pub mod camera;
31
+ pub mod laser_scan;
31
32
  pub mod qos;
32
33
  pub use mt_net::Qos::*;
33
34
 
@@ -392,6 +393,13 @@ fn deserialize_message(
392
393
  dec,
393
394
  )))
394
395
  }
396
+ SensorType::LaserScan => {
397
+ let dec: ros2_interfaces_jazzy_serde::sensor_msgs::msg::LaserScan =
398
+ cdr::deserialize(data).map_err(|e| anyhow!("Error decoding CDR: {e}"))?;
399
+ Ok(SensorTypeMapped::LaserScan(laser_scan::laser_scan_to_rkyv(
400
+ dec,
401
+ )))
402
+ }
395
403
  SensorType::Lidar => {
396
404
  let dec: ros2_interfaces_jazzy_serde::sensor_msgs::msg::PointCloud2 =
397
405
  cdr::deserialize(data).map_err(|e| anyhow!("Error decoding CDR: {e}"))?;
@@ -412,6 +420,9 @@ fn deserialize_message(
412
420
  mt_mtc::CAMERA_INFO_ROS2_TYPE => {
413
421
  deserialize_message(data, SensorType::CameraInfo, topic_type)
414
422
  }
423
+ mt_mtc::LASER_SCAN_ROS2_TYPE => {
424
+ deserialize_message(data, SensorType::LaserScan, topic_type)
425
+ }
415
426
  POINTCLOUD_ROS2_TYPE => {
416
427
  let dec: ros2_interfaces_jazzy_serde::sensor_msgs::msg::PointCloud2 =
417
428
  cdr::deserialize(data).map_err(|e| anyhow!("Error decoding CDR: {e}"))?;
@@ -1837,119 +1848,6 @@ rosbag2_bagfile_information:
1837
1848
  None
1838
1849
  );
1839
1850
  }
1840
-
1841
- #[test]
1842
- fn empty_qos_profile_string_is_an_empty_list() {
1843
- let metadata: TopicMetadata = yaml_serde::from_str(
1844
- r#"
1845
- name: /ouster/points
1846
- type: sensor_msgs/msg/PointCloud2
1847
- serialization_format: cdr
1848
- offered_qos_profiles: ""
1849
- "#,
1850
- )
1851
- .expect("empty QoS profile string should parse");
1852
-
1853
- assert!(metadata.offered_qos_profiles.is_empty());
1854
- }
1855
-
1856
- #[test]
1857
- fn both_formats_parse_without_errors() {
1858
- let v5_result = std::fs::read_to_string("test/metadata-v5.yml").and_then(|contents| {
1859
- yaml_serde::from_str::<Metadata>(&contents)
1860
- .map_err(|e| std::io::Error::new(std::io::ErrorKind::InvalidData, e))
1861
- });
1862
- assert!(
1863
- v5_result.is_ok(),
1864
- "v5 metadata should parse successfully: {:?}",
1865
- v5_result.err()
1866
- );
1867
-
1868
- let v9_result = std::fs::read_to_string("test/metadata-v9.yml").and_then(|contents| {
1869
- yaml_serde::from_str::<Metadata>(&contents)
1870
- .map_err(|e| std::io::Error::new(std::io::ErrorKind::InvalidData, e))
1871
- });
1872
- assert!(
1873
- v9_result.is_ok(),
1874
- "v9 metadata should parse successfully: {:?}",
1875
- v9_result.err()
1876
- );
1877
-
1878
- let v5_metadata = v5_result.unwrap();
1879
- let v9_metadata = v9_result.unwrap();
1880
-
1881
- // Verify both have valid data
1882
- assert!(v5_metadata.rosbag2_bagfile_information.message_count > 0);
1883
- assert!(v9_metadata.rosbag2_bagfile_information.message_count > 0);
1884
- assert!(
1885
- !v5_metadata
1886
- .rosbag2_bagfile_information
1887
- .topics_with_message_count
1888
- .is_empty()
1889
- );
1890
- assert!(
1891
- !v9_metadata
1892
- .rosbag2_bagfile_information
1893
- .topics_with_message_count
1894
- .is_empty()
1895
- );
1896
- }
1897
-
1898
- #[test]
1899
- fn verify_qos_profiles_complete_data() {
1900
- let v5_contents =
1901
- std::fs::read_to_string("test/metadata-v5.yml").expect("Could not read v5 metadata");
1902
- let v5_metadata: Metadata =
1903
- yaml_serde::from_str(&v5_contents).expect("Failed to parse v5 metadata");
1904
-
1905
- let v9_contents =
1906
- std::fs::read_to_string("test/metadata-v9.yml").expect("Could not read v9 metadata");
1907
- let v9_metadata: Metadata =
1908
- yaml_serde::from_str(&v9_contents).expect("Failed to parse v9 metadata");
1909
-
1910
- // Check V5 QoS profile completeness
1911
- let v5_imu = v5_metadata.get_topic_meta("/imu/data").unwrap();
1912
- let v5_qos = &v5_imu.offered_qos_profiles[0];
1913
-
1914
- assert_eq!(v5_qos.history, "keep_last");
1915
- assert_eq!(v5_qos.depth, 5);
1916
- assert_eq!(v5_qos.reliability, "reliable");
1917
- assert_eq!(v5_qos.durability, "volatile");
1918
- assert_eq!(v5_qos.deadline.sec, 9223372036);
1919
- assert_eq!(v5_qos.deadline.nsec, 854775807);
1920
- assert_eq!(v5_qos.lifespan.sec, 9223372036);
1921
- assert_eq!(v5_qos.lifespan.nsec, 854775807);
1922
- assert_eq!(v5_qos.liveliness, "automatic");
1923
- assert_eq!(v5_qos.liveliness_lease_duration.sec, 9223372036);
1924
- assert_eq!(v5_qos.liveliness_lease_duration.nsec, 854775807);
1925
- assert!(!v5_qos.avoid_ros_namespace_conventions);
1926
-
1927
- // Check V9 QoS profile completeness
1928
- let v9_imu = v9_metadata.get_topic_meta("/imu/data").unwrap();
1929
- let v9_qos = &v9_imu.offered_qos_profiles[0];
1930
-
1931
- assert_eq!(v9_qos.history, "keep_last");
1932
- assert_eq!(v9_qos.depth, 5);
1933
- assert_eq!(v9_qos.reliability, "reliable");
1934
- assert_eq!(v9_qos.durability, "volatile");
1935
- assert_eq!(v9_qos.deadline.sec, 9223372036);
1936
- assert_eq!(v9_qos.deadline.nsec, 854775807);
1937
- assert_eq!(v9_qos.lifespan.sec, 9223372036);
1938
- assert_eq!(v9_qos.lifespan.nsec, 854775807);
1939
- assert_eq!(v9_qos.liveliness, "automatic");
1940
- assert_eq!(v9_qos.liveliness_lease_duration.sec, 9223372036);
1941
- assert_eq!(v9_qos.liveliness_lease_duration.nsec, 854775807);
1942
- assert!(!v9_qos.avoid_ros_namespace_conventions);
1943
-
1944
- // Verify both have identical normalized values for the same topic
1945
- assert_eq!(v5_qos.history, v9_qos.history);
1946
- assert_eq!(v5_qos.depth, v9_qos.depth);
1947
- assert_eq!(v5_qos.reliability, v9_qos.reliability);
1948
- assert_eq!(v5_qos.durability, v9_qos.durability);
1949
- assert_eq!(v5_qos.liveliness, v9_qos.liveliness);
1950
- assert_eq!(v5_qos.deadline.sec, v9_qos.deadline.sec);
1951
- assert_eq!(v5_qos.deadline.nsec, v9_qos.deadline.nsec);
1952
- }
1953
1851
  }
1954
1852
 
1955
1853
  #[cfg(test)]
@@ -9,18 +9,26 @@ use mt_sea::{Coordinator, Qos, Reliability, ShipKind, WindData};
9
9
 
10
10
  const EMBEDDED_COORDINATOR_READY_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(5);
11
11
 
12
- /// Receive client traffic until the idle deadline. A queued packet wins when
13
- /// the receiver and the timer become ready in the same poll, where
14
- /// `tokio::time::timeout` checks its deadline first and made a stalled executor
15
- /// report clients dead with their heartbeats still queued.
16
- async fn recv_before_idle_timeout<T: Clone>(
17
- receiver: &mut tokio::sync::broadcast::Receiver<T>,
18
- timeout: tokio::time::Duration,
19
- ) -> Result<Result<T, tokio::sync::broadcast::error::RecvError>, ()> {
20
- tokio::select! {
21
- biased;
22
- result = receiver.recv() => Ok(result),
23
- _ = tokio::time::sleep(timeout) => Err(()),
12
+ /// A client that shuts down says goodbye. Its channel stays open on this side,
13
+ /// so the goodbye ends it as a closed channel would.
14
+ fn goodbye_closes<T>(
15
+ received: Result<(Packet, T), tokio::sync::broadcast::error::RecvError>,
16
+ ) -> Result<(Packet, T), tokio::sync::broadcast::error::RecvError> {
17
+ match received {
18
+ Ok((packet, _)) if matches!(packet.data, PacketKind::Disconnect) => {
19
+ Err(tokio::sync::broadcast::error::RecvError::Closed)
20
+ }
21
+ other => other,
22
+ }
23
+ }
24
+
25
+ /// Why a client counts as gone without having said so.
26
+ fn gone_reason(relation: mt_sea::presence::Relation, timeout: tokio::time::Duration) -> String {
27
+ match relation {
28
+ mt_sea::presence::Relation::Remote => {
29
+ format!("no packet or heartbeat within {}ms", timeout.as_millis())
30
+ }
31
+ _ => "its process exited".to_owned(),
24
32
  }
25
33
  }
26
34
 
@@ -344,6 +352,11 @@ fn run_coordinator_with_ready(
344
352
  let client_idle_timeout = tokio::time::Duration::from_millis(
345
353
  client.disconnect_timeout_ms,
346
354
  );
355
+ // A client on this machine or in this process
356
+ // is there as long as its process is, however
357
+ // long it stays silent. See `mt_sea::presence`.
358
+ let client_relation = mt_sea::presence::Presence::current()
359
+ .relation(&client.presence);
347
360
  let inner_name = name.clone();
348
361
  let rat_coord_tx = coord_tx_new_client.clone();
349
362
  let winds_inner = std::sync::Arc::clone(&winds_changer);
@@ -359,13 +372,17 @@ fn run_coordinator_with_ready(
359
372
  let name_for_task = name.clone();
360
373
  // spawn task to handle variable requests for this rat
361
374
  let handle = tokio::spawn(async move {
375
+ let client_liveness = mt_sea::presence::Liveness::new(
376
+ client_relation,
377
+ client_idle_timeout,
378
+ );
362
379
  match inner_name.as_str() {
363
380
  COMPARE_NODE_NAME => loop {
364
- match recv_before_idle_timeout(
365
- &mut client_news,
366
- client_idle_timeout,
367
- )
368
- .await
381
+ match client_liveness
382
+ .next(client_news.recv())
383
+ .await
384
+ .map(goodbye_closes)
385
+ .ok_or(())
369
386
  {
370
387
  Ok(Ok((packet, _))) => match packet.data {
371
388
  PacketKind::RuleAppend {
@@ -493,9 +510,10 @@ fn run_coordinator_with_ready(
493
510
  .remove(COMPARE_NODE_NAME);
494
511
  return;
495
512
  }
496
- Err(_elapsed) => {
513
+ Err(()) => {
497
514
  info!(
498
- "Minot TUI timed out (no heartbeat), treating as disconnected"
515
+ "Minot TUI gone ({}), treating as disconnected",
516
+ gone_reason(client_relation, client_idle_timeout)
499
517
  );
500
518
  connected_clients_inner
501
519
  .write()
@@ -507,11 +525,11 @@ fn run_coordinator_with_ready(
507
525
  },
508
526
  _ => {
509
527
  loop {
510
- match recv_before_idle_timeout(
511
- &mut client_news,
512
- client_idle_timeout,
513
- )
514
- .await
528
+ match client_liveness
529
+ .next(client_news.recv())
530
+ .await
531
+ .map(goodbye_closes)
532
+ .ok_or(())
515
533
  {
516
534
  Ok(Ok((packet, _))) => {
517
535
  match packet.data {
@@ -719,9 +737,9 @@ fn run_coordinator_with_ready(
719
737
  // requests, so a silent teardown hangs
720
738
  // its next bacon() with no diagnostic.
721
739
  warn!(
722
- "Client {} timed out (no packet or heartbeat within {}ms), treating as disconnected",
740
+ "Client {} gone ({}), treating as disconnected",
723
741
  inner_name,
724
- client_idle_timeout.as_millis()
742
+ gone_reason(client_relation, client_idle_timeout)
725
743
  );
726
744
  } else {
727
745
  info!(
@@ -816,7 +834,7 @@ fn run_coordinator_with_ready(
816
834
  std::sync::Arc::clone(&wind_clients_for_spawn);
817
835
  let wind_recv_handle = tokio::spawn(async move {
818
836
  loop {
819
- match client_news.recv().await {
837
+ match goodbye_closes(client_news.recv().await) {
820
838
  Ok((packet, _)) => match packet.data {
821
839
  PacketKind::Acknowledge => {
822
840
  debug!(
@@ -1477,31 +1495,6 @@ pub async fn start_default_with_torpedo_ready(
1477
1495
  mod tests {
1478
1496
  use super::*;
1479
1497
 
1480
- #[test]
1481
- fn coordinator_locks_follow_user_and_port() {
1482
- assert_eq!(
1483
- coordinator_lock_path(123, 7447),
1484
- std::env::temp_dir().join("minot-coord_123.lock")
1485
- );
1486
- assert_ne!(
1487
- coordinator_lock_path(123, 7447),
1488
- coordinator_lock_path(123, 17447)
1489
- );
1490
- assert_ne!(
1491
- coordinator_lock_path(123, 17447),
1492
- coordinator_lock_path(456, 17447)
1493
- );
1494
- }
1495
-
1496
- #[tokio::test]
1497
- async fn queued_heartbeat_wins_a_simultaneously_expired_idle_deadline() {
1498
- let (tx, mut rx) = tokio::sync::broadcast::channel(1);
1499
- tx.send("heartbeat").unwrap();
1500
-
1501
- let received = recv_before_idle_timeout(&mut rx, tokio::time::Duration::ZERO).await;
1502
- assert!(matches!(received, Ok(Ok("heartbeat"))));
1503
- }
1504
-
1505
1498
  #[test]
1506
1499
  fn disconnect_removes_only_the_dead_clients_subscription_overrides() {
1507
1500
  let mut overrides = HashMap::from([
@@ -42,7 +42,7 @@ mt_service = { workspace = true, optional = true }
42
42
 
43
43
  base64 = { version = "0.23", optional = true }
44
44
  cdr = "0.2"
45
- cloudini = { version = "0.3", default-features = false, features = ["ros"] }
45
+ cloudini = { version = "0.4", default-features = false, features = ["ros"] }
46
46
  ctrlc = "3.5"
47
47
  dirs = "7.0"
48
48
  flate2 = "1.1"