forked from dynamixel-community/dynamixel_hardware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·35 lines (24 loc) · 1008 Bytes
/
install.sh
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
32
33
34
35
#! /bin/bash
# Referece: https://github.com/csiro-robotics/dynamixel_interface/blob/master/readme.md
echo "╔══╣ Install: Dynamixel Hardware (STARTING) ╠══╗"
# Install dependencies
sudo apt update
sudo apt install -y \
ros-$ROS_DISTRO-joint-state-publisher \
ros-$ROS_DISTRO-joint-state-publisher-gui \
ros-$ROS_DISTRO-robot-state-publisher \
ros-$ROS_DISTRO-xacro \
ros-$ROS_DISTRO-urdf \
ros-$ROS_DISTRO-ros2-control \
ros-$ROS_DISTRO-ros2-controllers \
ros-$ROS_DISTRO-hardware-interface \
ros-$ROS_DISTRO-pluginlib \
ros-$ROS_DISTRO-dynamixel-workbench-toolbox
# Add rules for Dynamixel
wget https://raw.githubusercontent.com/ROBOTIS-GIT/dynamixel-workbench/master/99-dynamixel-workbench-cdc.rules
sudo mv ./99-dynamixel-workbench-cdc.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger
# Serial Access
sudo usermod -a -G dialout $USER
echo "╚══╣ Install: Dynamixel Hardware (FINISHED) ╠══╝"