Skip to content

Commit e3e8c5d

Browse files
committed
Make sure we're making it through the waits
1 parent 2ed2180 commit e3e8c5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deploy/src/main.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,10 @@ function (@main)(args)::Cint
169169
try
170170
while true
171171
wait_until(start + ml_update_rate_ns - imu_read_margin)
172+
println(Core.stdout, "wait 1")
172173
put!(timu.request, true) # trigger the IMU request
173174
wait_until(start + ml_update_rate_ns)
175+
println(Core.stdout, "wait 2")
174176
imu_data = take!(timu.response)
175177
println(Core.stdout, "IMU response: $(imu_data.accel_x)")
176178
enc_1_cnts = reset!(tenc_1a)

0 commit comments

Comments
 (0)