turtlebot3-burger_150.png
turtlebot3-waffle-pi_150.png
turtlebot3-arm_150.png
walking-y2_150.png
turbot3-multi_150.png
turbot3-dl-ros1_150.png
turbot3-ai.png
turbot3-dl-ros2_150.png
turbot3-slam_150.png
turbot3-arm_150.png
turtlebot4-lite_150.png
turtlebot4-pro_150.png
turbot4-dl_150.png
turbot4-ai_150.png
aidriving-racebot_150.png
aidriving-autodrive_150.png
turtlebot-arm_150.png
openmanipulator-x_150.png
Home » ALOHA机械臂入门教程 » ALOHA机械臂入门教程-软件安装

ALOHA机械臂入门教程-软件安装

纠错,疑问,交流: 请进入讨论区请点击进入页面,扫码加入微信群或Q群进行交流

获取最新文章: 扫一扫加入“创客智造”公众号

文章说明

  • 本教程主要介绍如何在安装aloha的配套软件
  • 测试环境: Ubuntu 20.04 + ROS Noetic

安装步骤

$ rm online_shell.sh ; wget https://gitee.com/ncnynl/commands/raw/master/online_shell.sh ; sudo chmod +x ./online_shell.sh; ./online_shell.sh
  • 安装ROS Noetic
$ rcm ros1 install_ros1_noetic
  • 安装配套的Interbotix X-Series代码
$ sudo apt install curl
$ curl 'https://raw.githubusercontent.com/Interbotix/interbotix_ros_manipulators/main/interbotix_ros_xsarms/install/amd64/xsarm_amd64_install.sh' > xsarm_amd64_install.sh
$ chmod +x xsarm_amd64_install.sh
$ ./xsarm_amd64_install.sh -d noetic -n

Interbotix X-Series中的代码需要进行修改,修改完成再进行编译

$ vim ~/interbotix_ws/src/interbotix_ros_toolboxes/interbotix_xs_toolbox/interbotix_xs_modules/src/interbotix_xs_modules/arm.py
# 找到函数publish_positions,修改对应语句self.T_sb = mr.FKinSpace(self.robot_des.M, self.robot_des.Slist, self.joint_commands) 为 self.T_sb = None

$ cd ~/interbotix_ws/ && catkin_make
  • 安装aloha代码
$ mkdir -p ~/ros1_aloha_ws/src
$ cd ~/ros1_aloha_ws/src/
$ git clone https://github.com/tonyzhaozh/aloha
$ git clone https://github.com/tonyzhaozh/act
$ cd ~/ros1_aloha_ws && catkin_make
  • 安装anconda管理工具
- anconda下载地址:[anaconda.com/download/success][2]
  • 安装完成后安装对应的依赖
$ conda create -n aloha python=3.8.10
$ conda activate aloha

$ pip install torchvision \
torch \
pyquaternion \
pyyaml \
rospkg \
pexpect \
mujoco==2.3.7 \
dm_control==1.0.14 \
opencv-python \
matplotlib \
einops \
packaging \
h5py \
modern-robotics \
netifaces \
ipython \
yaml \
rospkg \
numpy \

$ cd ~/ros1_aloha_ws/src/act/detr && pip install -e .

纠错,疑问,交流: 请进入讨论区请点击进入页面,扫码加入微信群或Q群进行交流

获取最新文章: 扫一扫加入“创客智造”公众号


标签: none