Skip to content

Commit 518a6dc

Browse files
committed
Whoops, move the balancecontroller later
1 parent e36bb88 commit 518a6dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/src/main.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ function (@main)(args)::Cint
135135
tenc_1a = ThreadedEncoder(Encoder(gpio, M1A))
136136
tenc_2a = ThreadedEncoder(Encoder(gpio, M2A))
137137

138-
ctrl = BalanceController()
139138
apply_motor_output!(hw, 512.0f0, 512.0f0)
140139
while true end
140+
ctrl = BalanceController()
141141

142142
ml_update_rate_ns = 50000000
143143
imu_read_margin = 12600000

0 commit comments

Comments
 (0)