Skip to content

Commit 3bb6974

Browse files
author
M. Fatih Cırıt
committed
remove redundant parantheses
Signed-off-by: M. Fatih Cırıt <mfc@leodrive.ai>
1 parent 0b51a4b commit 3bb6974

File tree

1 file changed

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

1 file changed

+3
-6
lines changed

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

+3-6
Original file line numberDiff line numberDiff line change
@@ -560,12 +560,9 @@ 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 :] = (
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-
)
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)
569566

570567
if (
571568
acc_num == drive_functions.acc_ctrl_queue_size

0 commit comments

Comments
 (0)