Skip to content

Commit

Permalink
Add remote control related code
Browse files Browse the repository at this point in the history
  • Loading branch information
166256 committed Apr 12, 2022
1 parent 1dbccb7 commit ccb9953
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion program/ctrl_mcu/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ int main(void) {
while (1) {
// 前,左是 0~32766
angle = 200 - control_signal.joystick_x / 655;

if (control_signal.joystick_y > 32766)
speed = 2000;
else
Expand Down

0 comments on commit ccb9953

Please sign in to comment.