diff --git a/Robot_Dog.m b/Robot_Dog.m index caf6c4a..bcb511e 100644 --- a/Robot_Dog.m +++ b/Robot_Dog.m @@ -2,7 +2,7 @@ function Robot_Dog(Robot_Dog_IP,Robot_Dog_Port,Control_Data) % Send command to robot dog % Create a UDP object -Robot_Dog_UDP = udpport("LocalHost",'192.168.12.136'); +Robot_Dog_UDP = udpport % Transform single float to uint8 Control_Data_Uint8 = typecast(Control_Data,'uint8'); % Send Command