From 046bf81c4fb07bf66e80780bb18445c2f666edd6 Mon Sep 17 00:00:00 2001 From: XI LUO Date: Mon, 20 Mar 2023 21:14:20 -0700 Subject: [PATCH] add more commit --- Main.m | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Main.m b/Main.m index d6a32d2..0ceb105 100644 --- a/Main.m +++ b/Main.m @@ -38,17 +38,18 @@ % % wall computer wall +%% MODE % Mode 1: Dog will go to Target_point. % Mode 2: Dog will follow Way_Points. -Control_Mode=2; - +Control_Mode=1; +%% Target Point %[x,z] -Target_Point=[0 0]; - +Target_Point=[0 -2.8]; +%% YAW % [0,360) % -1: Disable yaw control yaw_set = -1; - +%% THRESHOLD % Distance Threshold to switch to next way point Distance_Threshold = 0.1; @@ -198,7 +199,7 @@ end %print command disp(Control_Command); - %Robot_Dog(Robot_Dog_IP,Robot_Dog_Port,Control_Command); + Robot_Dog(Robot_Dog_IP,Robot_Dog_Port,Control_Command); %% draw plot(ax,circle_x,circle_y,'b-');