(base) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % cd ~/r2r2r-scripts ssh -i ~/.ssh/id_rsa_pi ubuntu@192.168.2.1 'grep "send_angles 呼び出し後" /home/ubuntu/daemon.log | tail -5' tools/daemon_ctl.sh install tools/daemon_ctl.sh restart tools/daemon_ctl.sh log 5 python3 tools/gamepad_teleop.py --execute [DAEMON 15:55:21] send_angles 呼び出し後: result=-1, elapsed_ms=1552.6 [DAEMON 15:55:27] send_angles 呼び出し後: result=-1, elapsed_ms=1564.2 [DAEMON 15:55:42] send_angles 呼び出し後: result=-1, elapsed_ms=1506.2 [DAEMON 16:58:01] send_angles 呼び出し後: result=-1, elapsed_ms=1503.3 Binary file /home/ubuntu/daemon.log matches mecharm_daemon_start.sh 100% 1742 674.0KB/s 00:00 mecharm-daemon.service 100% 636 553.6KB/s 00:00 --- process 31095 /usr/bin/python3 -u /home/ubuntu/mecharm_daemon.py --- 5555 LISTEN 0 1 0.0.0.0:5555 0.0.0.0:* --- systemd enabled: enabled active: active --- process 21541 /usr/bin/python3 -u /home/ubuntu/mecharm_daemon.py --- 5555 LISTEN 0 1 0.0.0.0:5555 0.0.0.0:* --- systemd enabled: enabled active: active [START 15:28:11] mecharm_daemon.py を起動する (pymycobot 2.9.6 /usr/local/lib/python2.7/dist-packages/pymycobot/__init__.py) [DAEMON 15:28:12] MyCobot 初期化中 (/dev/ttyAMA0, baud=1000000)... [DAEMON 15:28:12] ✓ MyCobot 初期化完了 [DAEMON 15:28:12] startup_warmup angles=[-0.26, 1.31, 2.02, 0.08, -0.08, -29.88] [DAEMON 15:28:12] ポート 5555 で待ち受け中... /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/pkgdata.py:25: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import resource_stream, resource_exists objc[7913]: Class SDLApplication is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b12c8) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dc890). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDLAppDelegate is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1318) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dc8e0). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDLTranslatorResponder is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1390) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dc958). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDLMessageBoxPresenter is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b13b8) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dc980). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDL_cocoametalview is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1408) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dc9d0). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDLOpenGLContext is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1458) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dca20). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDL_ShapeData is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b14d0) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dca98). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDL_CocoaClosure is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1520) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dcae8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDL_VideoData is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1570) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dcb38). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDL_WindowData is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b15c0) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dcb88). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDLWindow is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b15e8) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dcbb0). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class Cocoa_WindowListener is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1610) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dcbd8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDLView is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1688) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dcc50). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class METAL_RenderData is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1700) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dccc8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class METAL_TextureData is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1750) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dcd18). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDL_RumbleMotor is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b1778) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dcd40). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[7913]: Class SDL_RumbleContext is implemented in both /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/pygame/.dylibs/libSDL2-2.0.0.dylib (0x1058b17c8) and /opt/homebrew/Caskroom/miniforge/base/lib/python3.12/site-packages/cv2/.dylibs/libSDL2-2.0.0.dylib (0x1170dcd90). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.