요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/bus/iio/devices/iio:deviceX/in_gyro_matrix
2
What: /sys/bus/iio/devices/iio:deviceX/in_accel_matrix
3
What: /sys/bus/iio/devices/iio:deviceX/in_magn_matrix
4
KernelVersion: 3.4.0
5
Contact: [email protected]
6
Description:
7
This is mounting matrix for motion sensors. Mounting matrix
8
is a 3x3 unitary matrix. A typical mounting matrix would look like
9
[0, 1, 0; 1, 0, 0; 0, 0, -1]. Using this information, it would be
10
easy to tell the relative positions among sensors as well as their
11
positions relative to the board that holds these sensors. Identity matrix
12
[1, 0, 0; 0, 1, 0; 0, 0, 1] means sensor chip and device are perfectly
13
aligned with each other. All axes are exactly the same.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
동작 센서 mounting matrix
1-13| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/iio/devices/iio:deviceX/in_gyro_matrix |
| What | /sys/bus/iio/devices/iio:deviceX/in_accel_matrix |
| What | /sys/bus/iio/devices/iio:deviceX/in_magn_matrix |
| KernelVersion | 3.4.0 |
| Contact | [email protected] |
| Description | 동작 센서의 mounting matrix입니다. Mounting matrix는 3x3 unitary matrix입니다. 일반적인 mounting matrix는 [0, 1, 0; 1, 0, 0; 0, 0, -1]과 같습니다. 이 정보를 사용하면 센서 사이의 상대 위치와 센서를 장착한 보드에 대한 센서의 위치를 쉽게 알 수 있습니다. Identity matrix [1, 0, 0; 0, 1, 0; 0, 0, 1]은 센서 칩과 장치가 서로 완전히 정렬되어 모든 축이 정확히 같음을 뜻합니다. |
typical: [0, 1, 0; 1, 0, 0; 0, 0, -1]
identity: [1, 0, 0; 0, 1, 0; 0, 0, 1]
Sensor-to-board orientation
sysfs-bus-iio-mpu6050:1-13세 matrix 속성은 센서 축을 보드 좌표계에 대응시킵니다. Identity matrix는 센서와 장치의 모든 축이 완전히 정렬됐음을 뜻합니다.