Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- C++
- 오블완
- 로봇
- ZED2
- 아두이노
- Gazebo
- GPS
- RTK
- 강화학습
- Simulation
- 자율탐사
- 티스토리챌린지
- ROS
- SLAM
- turtlebot3
- 인공지능
- turtlesim
- WSL2
- Jetson
- QT
- 터틀심
- WSL
- Puck LITE
- ubuntu
- Visual SLAM
- U-blox
- 젯슨
- ROS2
- GUI
- 자율주행
Archives
- Today
- Total
직관적인느낌
Unitree z1 로봇 팔 환경 설정 및 구동 테스트 본문
728x90
반응형
1.Environment
Laptop H.W
- CPU : i7
- GPU : GTX 1650
- RAM : 16GB
OS
- Ubuntu : 20.04
- ROS : ROS1 Noetic
2. Setup [PC]
Dependencies
- gcc-7 or newer
- libboost-all-dev
- libeigen3-dev
- liburdfdom-dev
sudo apt install -y libboost-all-dev libeigen3-dev liburdfdom-dev sudo ln -s /usr/include/eigen3/Eigen /usr/local/include/Eigen sudo ln -s /usr/include/eigen3/unsupported /usr/local/include/unsupported
- Moveit
sudo apt install -y ros-noetic-moveit-*
sudo apt install -y ros-noetic-joint-trajectory-controller ros-noetic-trac-ik-kinematics-plugin
- Pinocchio
💡 If you want to install Python interface, please check the official page.
# Install pinocchio
git clone --recursive https://github.com/stack-of-tasks/pinocchio
cd pinocchio && mkdir build && cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DBUILD_PYTHON_INTERFACE=OFF \
-DBUILD_TESTING=OFF
make
sudo make install
- ~/.bashrc
- Configure Path, add those lines to ~/.bashrc
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export CMAKE_PREFIX_PATH=/usr/local:$CMAKE_PREFIX_PATH export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
- pybind11
💡 If you want to use python interface, please execute the following commands.
# Install pybind11
git clone https://github.com/pybind/pybind11.git
cd pybind11
mkdir build && cd build
cmake .. -DPYBIND11_TEST=OFF
make -j
sudo make install
catkin_ws
mkdir -p ~/z1_ws/src
cd ~/z1_ws/src
git clone --recursive <https://github.com/unitreerobotics/z1_ros.git>
cd ..
rosdep install --from-paths src --ignore-src -yr --rosdistro noetic
# compile unitree_legged_msgs first
catkin_make --pkg unitree_legged_msgs
catkin_make
source devel/setup.bash
IP : Robot Arm ↔ PC
- Network
- Wired
- IPv4
- IPv4 Method
- Manual
- Addresses
- address
- 192.168.123.11
- mask
- 255.255.255.0
- address
- IPv4 Method
- IPv4
- Wired
3. Operating
- Ready
- Real Robot Arm
roslaunch z1_bringup real_arm.launch rviz:=true
- Simulated Robot Arm
roslaunch z1_bringup sim_arm.launch UnitreeGripperYN:=true rviz:=true
- Gripper
rosrun z1_examples ros_gripper_ctrl -1
# Close rosrun z1_examples ros_gripper_ctrl 0
- Rviz
- Motion Planning
- Goal State
- Home
- Stow
- Pounce
- ETC
- Goal State
- Motion Planning
- More - Moveit
728x90
반응형
'공학 > 로봇' 카테고리의 다른 글
std::vector (0) | 2024.01.09 |
---|---|
FSM-Finnite State Machine (0) | 2024.01.09 |
CLEARPATH 오픈소스 - PR2 (0) | 2023.03.14 |
4족 보행 로봇, Quadrupedalism Robot -3 [스펙 선정, 준비사항 및 기초 이론] (0) | 2023.03.05 |
4족 보행 로봇, Quadrupedalism Robot -2 [기초자료- 서적, 논문 및 인터넷 자료] (0) | 2023.03.05 |