-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
179 lines (148 loc) · 4.03 KB
/
Cargo.toml
File metadata and controls
179 lines (148 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
[package]
name = "auv"
version = "0.1.0"
edition = "2021"
authors = ["Christopher Moran <christopher.moran@jhuapl.edu>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = [
"tools/ci",
"tools/log-processing",
"tools/predive",
"crates/*"
]
[workspace.dependencies]
serde = {version = "1", features = ["derive"]}
# meadow = "0.3"
# meadow = {path = "../meadow"}
meadow = "0.4"
mint = {version = "0.5", features = ["serde"]}
glam = {version = "0.24", features = ["serde", "mint"]}
# Depth sensor
ms5837 = {git = "https://github.com/quietlychris/ms5837-driver.git", rev = "6451db1"}
# I2C sensors
linux-embedded-hal = "0.3"
linux-embedded-hal_0_4 = {package = "linux-embedded-hal", version = "0.4"}
i2cdev = "0.5"
# RTC & Timekeeping
chrono = "0.4"
ds323x = "0.5.1"
# IMU
bno055 = "=0.3.3"
[features]
default = ["vectornav"]
camera = []
vectornav = ["dep:ascii"]
dvl = ["dep:waterlinked-dvl"]
ping = ["dep:bluerobotics-ping","dep:tokio-serial","dep:tokio"]
all = ["ping", "dvl", "camera"]
[dependencies]
meadow = {workspace = true}
ms5837 = {workspace = true}
linux-embedded-hal = {workspace = true}
linux-embedded-hal_0_4 = {workspace = true}
i2cdev = {workspace = true}
chrono = {workspace = true}
ds323x = {workspace = true}
# Configuration using TOML
toml = "0.7"
# We <3 Serde
serde = {workspace = true, features = ["derive"]}
serde_json = "1"
tracing = "0.1"
tracing-subscriber = {version = "0.3", features = ["json", "env-filter"]}
tracing-appender = "0.2"
pid = "=4.0"
num-traits = "^0.2"
num = "0.4"
thiserror = "1"
rand = "0.8"
# Actuators
sysfs-pwm = {git = "https://github.com/rust-embedded/rust-sysfs-pwm.git", branch = "master"}
embedded-hal = "1"
simple-signal = "1.1.1"
# IMU
bno055 = {workspace = true}
mint = {workspace = true, features = ["serde"]}
glam = {workspace = true, features = ["serde", "mint"]}
ascii = {version = "1.1", optional = true}
# GPS
serialport = {version = "4", default-features = false}
nmea = "0.6"
# Echosounder
bluerobotics-ping = {version = "0.3", features = ["serde"], optional = true}
tokio-serial = {version = "5", optional = true}
tokio = {version = "1", features = ["full", "rt-multi-thread"], optional = true}
# Navigation
geo = {version = "0.29", features = ["use-serde"]}
# Manual control via terminal interface
termion = "2.0"
# Get information on the computer state
sysinfo = {version = "0.31", features = ["serde"]}
# Waterlinked DVL support
waterlinked-dvl = { path = "./crates/waterlinked-dvl", features = ["all"], optional = true}
[dev-dependencies]
approx = "0.5"
### Device test binaries
[[bin]]
name = "ping"
path = "src/devices/bin/ping.rs"
required-features = ["ping"]
[[bin]]
name = "camera"
path = "src/devices/bin/camera.rs"
required-features = ["camera"]
[[bin]]
name = "depth_sensor"
path = "src/devices/bin/depth_sensor.rs"
[[bin]]
name = "gps"
path = "src/devices/bin/gps.rs"
[[bin]]
name = "calibrate_bno055"
path = "src/devices/imu/bin/calibrate_bno055.rs"
[[bin]]
name = "rtc"
path = "src/devices/bin/rtc.rs"
### Actuator test binaries
[[bin]]
name = "actuators"
path = "src/actuators/bin/actuators.rs"
[[bin]]
name = "basic_esc"
path = "src/actuators/bin/basic_esc.rs"
[[bin]]
name = "manual"
path = "src/actuators/bin/manual.rs"
[[bin]]
name = "servo"
path = "src/actuators/bin/servo.rs"
### Integration (multi-device) binaries
[[bin]]
name = "controller"
path = "src/integration/bin/controller.rs"
[[bin]]
name = "estop"
path = "src/integration/bin/estop.rs"
[[bin]]
name = "imu_to_servo"
path = "src/integration/bin/imu_to_servo.rs"
[[bin]]
name = "vehicle_actuators"
path = "src/integration/bin/vehicle_actuators.rs"
[[bin]]
name = "vehicle_camera"
path = "src/integration/bin/vehicle_camera.rs"
required-features = ["camera"]
[[bin]]
name = "vehicle_imu"
path = "src/integration/bin/vehicle_imu.rs"
[[bin]]
name = "vehicle_manual"
path = "src/integration/bin/vehicle_manual.rs"
[[bin]]
name = "vehicle_ping"
path = "src/integration/bin/vehicle_ping.rs"
[[bin]]
name = "vehicle_rtc"
path = "src/integration/bin/vehicle_rtc.rs"