HAPTIX Teleoperation - modulabs/gazebo-tutorial GitHub Wiki
Overview
์ด ํํ ๋ฆฌ์ผ์์๋ HAPTIX ์๋ฎฌ๋ ์ด์ ํ๊ฒฝ์์ ์ฌ์ฉํ๊ธฐ์ํ ๋ค์ํ teloperation ๋ฐฉ๋ฒ์ ๋ค๋ฃฌ๋ค. ์ง์๋๋ ํ๋์จ์ด ์ฅ์น๋ ๋ค์๊ณผ ๊ฐ๋ค:
- ํค๋ณด๋: ์ผ๋ จ์ ํค๋ฅผ ์ฌ์ฉํ์ฌ ํ ์์น์ ๊ด์ ์ ์ ์ด
- Spacenav: 3D ๋ง์ฐ์ค๋ฅผ ์ฌ์ฉํ์ฌ ์ ์์น ์ ์ด
- Razer hydra: 3D ๊ฒ์ ์กฐ์ด์คํฑ์ ์ฌ์ฉํ์ฌ ํ ์์น๋ฅผ ์ ์ดํ๊ณ ์์ผ ์ก๋๋ค.
๋ค์ ๊ฐ ์น์ ์ ๋ํด ๋ค์ ๋ช ๋ น์ ์ฌ์ฉํ์ฌ ์๋ฎฌ๋ ์ด์ ์ ์์ํ์ฌ๋ผ:
gazebo worlds/arat.world
Keyboard Control

์์ ๊ทธ๋ฆผ์์ ๋ณผ ์ ์๋ฏ์ด ์ผ๋ จ์ ํค๋ ์ ๋ฐ ์ ์ปจํธ๋กค์ ๋งคํ๋๋ค.
-
Grasp control 1์์ 3์ฌ์ด์ ํค๋ฅผ ๋๋ฅด๊ณ ์์ผ๋ฉด ์์ ๋ซ์ ์ ์๋ค:
-
Spherical grasp
-
Cylinderical grasp
-
Pinch grasp ์ ์ฐจ ์์ ๋ผ๋ ค๋ฉด SHIFT์ํจ๊ป ์ซ์๋ฅผ ๊ธธ๊ฒ ๋๋ฅธ๋ค.
-
Arm position WASDQE ํค๋ฅผ ์ฌ์ฉํ์ฌ 2D ํ๋ฉด์์ ์์ ์์น๋ฅผ ์ด๋ํ๋ค. ์ด๋ ํ๋ฉด์ ํ์ ๋ก์ปฌ ์ขํ ํ๋ ์์ ์ํด ์ ์๋๋ค. ์ด๊ฒ์ ๋ง์ฝ ํ์ ์์ ์ ๋ฐ๊พธ๋ฉด ์์ด ๋นํ๊ธฐ์ฒ๋ผ "๋ ์๊ฐ"๊ฒ์์ ์๋ฏธํ๋ค.
-
W: Move forward (along the positive X axis: toward the finger tips)
-
A: Move left (along the positive Y axis: toward the thumb)
-
S: Move back (along the negative X axis: toward the wrist)
-
D: Move right (along the negative Y axis: opposite of the thumb)
-
Q: Move the arm up (along the positive Z axis: toward the top of the hand)
-
E: Move the arm down (along the negative Z axis: toward the palm)
-
Arm orientation SHIFT + WASDQE ํค๋ฅผ ์ฌ์ฉํ์ฌ ์์ ๋ฐฉํฅ์ ๋ณ๊ฒฝํ๋ค. ์ด๊ฒ์ ์์น๋ฅผ ๋ฐ๊ฟ ๋ ์์ด ์์ง์ด๋ ํ๋ฉด์ ์ํฅ์ ๋ฏธ์น๋ค.
-
SHIFT + W: pitch the arm down
-
SHIFT + A: roll the thumb down
-
SHIFT + S: pitch the arm up
-
SHIFT + D: roll the thumb up
-
SHIFT + Q: yaw toward the thumb
-
SHIFT + E: yaw away from the thumb
-
Wrist control ZXC ํค๋ฅผ ์ฌ์ฉํ์ฌ ์๋ชฉ ์กฐ์ธํธ๋ฅผ ์ ์ดํ๋ค.
-
Z: Positive rotation
-
SHIFT + Z: Negative rotation
-
X: Positive deviation
-
SHIFT + X: Negative deviation
-
C: Positive flexion
-
SHIFT + C: Negative flexion
Arm teleop GUI options
HAPTIX ์๋ฎฌ๋ ์ดํฐ์ ์ผ์ชฝ์์๋ GUI์๋ ํค๋ณด๋ ์๊ฒฉ ์ ์ด๋ฅผ ์ํ ๋ช ๊ฐ์ง ์ต์
์ด ์๋ค.
"๋ก์ปฌ ํ๋ ์" ์ฒดํฌ ์์๋ฅผ ์ ํํ๋ฉด, ํค๋ณด๋ ํ
๋ ํ๋ ํ์ ํ์ ์ ๋ฐ๋ผ ๋ฐ๋๋ ํ์ ๋ก์ปฌ ์ถ์์ ํ์ ์์ง์ด๊ฒ๋๋ค. "๋ก์ปฌ ํ๋ ์"์ ์ ํํ์ง ์์ผ๋ฉด ํค๊ฐ ํญ์ ๋์ผํ "๊ธ๋ก๋ฒ" ์ขํ๊ณ์์ ํ์ ์ด๋ํ๋ค.
"ํ ์ด๋ ์๋" ์์์๋ ์ฌ๋ผ์ด๋๋ ํค๋ณด๋๋ฅผ ๋๋ฅธ ์ํ์์ ํ์ ์๋๋ฅผ ์ ์ดํ๋ค. ์ด ์ต์ ์ ํค๋ณด๋ ์๊ฒฉ ์ ์ด์๋ง ๊ด๋ จ์ด ์๋ค. ๋ชจ์ ์บก์ณ ์๊ฒฉ ์กฐ์์ด๋ Spacenav์๋ ์ํฅ์ ๋ฏธ์น์ง ์๋๋ค.
ํ๋ฉด์์ ํ ์์น, ๊ด์ธก์ ๋ฐ ๊ฐ์ฒด๋ฅผ ์ฌ์ค์ ํ๋ ค๋ฉด Ctrl + R์ ๋๋ฅธ๋ค.
Spacenav Control
๊ธฐ๋ณธ์ ์ผ๋ก spacenav ๋ง์ฐ์ค๋ ๊ด์ธก์ ์ ์์น์ ๋ฐฉํฅ์ ์ ์ดํ๋ค. ํ์ ์ปจํธ๋กค์ ๋ณ๊ฒฝํ๋ ค๋ฉด ๋ง์ฐ์ค์ ์ผ์ชฝ ๋ฒํผ์ ๋๋ฅธ๋ค. ์ด ๋ชจ๋์ ๋ค์ด๊ฐ๋ฉด ๋ง์ฐ์ค๊ฐ ํ์ ์์น์ ๋ฐฉํฅ์ ๋ณ๊ฒฝํ๋ค. Spacenav๊ฐ ์๋ํ์ง ์์ผ๋ฉด ๋ค์์ ์คํํ๋ค:
sudo spacenavd
๋๋
sudo service spacenavd restart
sudo spacenavd
Razer Hydra
์ค์น ๋ฉ๋ด์ผ์ ์ฐธ๊ณ ํ๋ผ. ์ค์น๊ฐ ๋๋ฉด, ์ค๋ฅธ์ชฝ ํจ๋ค์ ์๋์ ๊ฐ์ด ๋์ํ๋ค:
- ํค๋ณด๋์
p,v,b๋๋n๋ฌธ์: hydra ์ ์ด๋ฅผ ํ์ฑํ/๋นํ์ฑํ ํ๋ค. - ํ์ฑํ๋๋ฉด ํ ์์น์ ๋ฐฉํฅ์ ๋ณ๊ฒฝํ๊ธฐ ์ํด ํจ๋ค์ ์์ง์ธ๋ค.
- ๋ฒํผ 1: ํธ๋ฆฌ๊ฑฐ๋ก ์ก๊ธฐ์ํ ๋ฐ๋๋จผ ์ค์์น.
- ํธ๋ฆฌ๊ฑฐ: ๋ฒํผ 1์ ๋๋ฅด๊ณ ์์ผ๋ฉด ํธ๋ฆฌ๊ฑฐ๊ฐ ๋ซํ๊ณ ์ด๋ฆฐ๋ค.