Skip to content

Commit 922945a

Browse files
style(pre-commit): autofix
1 parent db95db0 commit 922945a

File tree

1 file changed

+6
-3
lines changed
  • control/autoware_smart_mpc_trajectory_follower/autoware_smart_mpc_trajectory_follower/scripts

1 file changed

+6
-3
lines changed

Diff for: control/autoware_smart_mpc_trajectory_follower/autoware_smart_mpc_trajectory_follower/scripts/drive_controller.py

+6-3
Original file line numberDiff line numberDiff line change
@@ -560,9 +560,12 @@ def update_input_queue(
560560
np.array(time_stamp), np.array(steer_history)
561561
)
562562

563-
self.acc_input_queue[drive_functions.acc_ctrl_queue_size - acc_num:] = acc_interpolate(time_stamp_acc)
564-
self.steer_input_queue[drive_functions.steer_ctrl_queue_size - steer_num:] = steer_interpolate(
565-
time_stamp_steer)
563+
self.acc_input_queue[drive_functions.acc_ctrl_queue_size - acc_num :] = (
564+
acc_interpolate(time_stamp_acc)
565+
)
566+
self.steer_input_queue[drive_functions.steer_ctrl_queue_size - steer_num :] = (
567+
steer_interpolate(time_stamp_steer)
568+
)
566569

567570
if (
568571
acc_num == drive_functions.acc_ctrl_queue_size

0 commit comments

Comments
 (0)