From 2dfe967ca15af5e195ed43f913f719756d9eee33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=B8=D0=BB=20=D0=93=D1=80=D0=B0?= =?UTF-8?q?=D0=B1=D0=B0=D1=80=D1=8C?= Date: Fri, 8 May 2026 04:17:06 +0300 Subject: [PATCH] fix: Update .gitignore to include .claude and clean up friUdpConnection.cpp code --- .gitignore | 1 + .../libFRI/src/connection/friUdpConnection.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index e0124cf..a978799 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ build/ .idea venv .venv +.claude **.FCBak \ No newline at end of file diff --git a/src/iiwa_controller/external/libFRI/src/connection/friUdpConnection.cpp b/src/iiwa_controller/external/libFRI/src/connection/friUdpConnection.cpp index 4c79f06..ccc170b 100644 --- a/src/iiwa_controller/external/libFRI/src/connection/friUdpConnection.cpp +++ b/src/iiwa_controller/external/libFRI/src/connection/friUdpConnection.cpp @@ -5,10 +5,10 @@ agreement or other license is obtained by KUKA Deutschland GmbH, Augsburg, Germa SCOPE -The software �KUKA Sunrise.Connectivity FRI Client SDK� is targeted to work in -conjunction with the �KUKA Sunrise.Connectivity FastRobotInterface� toolkit. -In the following, the term �software� refers to all material directly -belonging to the provided SDK �Software development kit�, particularly source +The software “KUKA Sunrise.Connectivity FRI Client SDK” is targeted to work in +conjunction with the “KUKA Sunrise.Connectivity FastRobotInterface” toolkit. +In the following, the term “software” refers to all material directly +belonging to the provided SDK “Software development kit”, particularly source code, libraries, binaries, manuals and technical documentation. COPYRIGHT @@ -181,7 +181,7 @@ int UdpConnection::receive(char *buffer, int maxSize) #else int sockAddrSize; #endif - sockAddrSize = static_cast(sizeof(struct sockaddr_in)); + sockAddrSize = sizeof(struct sockaddr_in); /** check for timeout Because SO_RCVTIMEO is in Windows not correctly implemented, select is used for the receive time out. If a timeout greater than 0 is given, wait until the timeout is reached or a message was received.