티스토리챌린지 6

[ublox_gps_node-1] what(): U-Blox: Could not open serial port :/dev/ttyACM1 open: Permission denied

이 오류 메시지는 U-Blox GPS 노드가 /dev/ttyACM1 시리얼 포트를 열 수 없다는 내용을 나타냅니다. 주요 원인은 해당 포트에 대한 권한 부족(Permission denied)입니다.  1. 포트 권한 확인현재 사용자(hkyoo)가 /dev/ttyACM1 포트에 접근할 수 있는지 확인합니다.# 명령어ls -l /dev/ttyACM1# 출력 예시crw-rw---- 1 root dialout 166, 1 Nov 22 13:42 /dev/ttyACM1여기서 dialout 그룹이 /dev/ttyACM1의 소유자인 경우, 사용자가 dialout 그룹에 속해야 합니다.  2. 사용자를 dialout 그룹에 추가dialout 그룹에 사용자를 추가합니다.sudo usermod -a -G dialout $..

ubuntu linux 2024.11.22

ssh server file download

먼저 SSH 접속을 끊고 로컬 터미널에서 해당 명령어를 사용해야 한다.exit  1. SCP (Secure Copy Protocol)scp 명령어를 사용하여 폴더를 다운로드하려면 -r 옵션을 사용하여 폴더의 내용을 재귀적으로 복사한다.# 서버에서 로컬로 폴더를 다운로드scp -r user@remote_host:/path/to/remote/folder /path/to/local/destination# 로컬에서 서버로 폴더를 업로scp -r /path/to/local/folder user@remote_host:/path/to/remote/destination# 서버에서 로컬로 파일을 다운로드scp user@remote_host:/path/to/remote/file /path/to/local/destinati..

카테고리 없음 2024.11.21

Ubuntu 접속시 와이파이 없음 / 듀얼모니터 인식 문제

1. ubuntu 접속 시 wifi 없음(연결창 아예 안뜸): ubuntu 접속시 'Adavanced options for ubuntu'로 열어서 해결하면 된다.>> 이후에는 그냥 뜨는걸 보니 다시 확인 필요   2. 듀얼모니터 인식 안됨(아예 검은 화면. 절전 모드 켜짐): 처음 CUDA설치 시 GPU로 같이 설치하는 법을 택하면 GPU 드라이버가 설치되지 않을 수 있다. 아래 명령어를 입력해준다.sudo ubuntu-drivers autoinstallsudo reboot

ubuntu linux 2024.11.20

Verifiying shim SBAT data filed: Security Policy Violation

현재 MSI 컴퓨터를 이용하고 있으며, Ubuntu 22.04와 Windows를 듀얼부팅으로 실행하고 있다. 어느날 갑자기 Windows를 사용하다가 Ubuntu로 다시 부팅하니, 아래와 같은 로그가 출력되고 컴퓨터가 켜지지 않는 현상이 발생했다.Verifiying shim SBAT data filed: Security Policy ViolationSomething has gone seriously wrong: SBAT self-check failed: Security Policy Violation 찾아보니 UEFI(통합 확장 가능 펌웨어 인터페이스) 관련 문제일 수 있으며, Secure Boot가 잘못 구성되면 이런 오류가 발생할 수 있다고 한다. 따라서 이를 해결하기 위해 Delete 키로 BIOS에..

ubuntu linux 2024.11.18

fatal error: 'std_msgs/msg/detail/header__struct.hpp' file not found

2024.11.07 - [ROS2/ROS2] - CMake Error : rosidl_generate_interfaces.cmake:229 CMake Error : rosidl_generate_interfaces.cmake:229ros2 humble에서 custom msg pakage를 만드는 중에 다음과 같은 CMake Error가 발생했다.CMake Error at /opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:229 (message):  Packages installing interfaces must inclyoo-hk.tistory.com 이전 글과 마찬가지로, ros2 humble에서 custom msg pak..

ROS2/ROS2 2024.11.13

CMake Error : rosidl_generate_interfaces.cmake:229

ros2 humble에서 custom msg pakage를 만드는 중에 다음과 같은 CMake Error가 발생했다.CMake Error at /opt/ros/humble/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:229 (message):  Packages installing interfaces must include  'rosidl_interface_packages' in their  package.xmlCall Stack (most recent call first):  CMakeLists.txt:14 (rosidl_generate_interfaces) 당시 문제를 해결하기 위해 ROS2 Document를 참고하였고, 아래와 같은 문제를 찾..

ROS2/ROS2 2024.11.07