2024-05-04 08:51:20 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
2024-05-05 02:03:03 +08:00
|
|
|
apt-get install -y ros-humble-rmw-cyclonedds-cpp ros-humble-rosidl-generator-dds-idl
|
2024-05-04 08:51:20 +08:00
|
|
|
|
2024-06-05 11:11:19 +08:00
|
|
|
cd ~
|
2024-05-04 08:51:20 +08:00
|
|
|
git clone https://github.com/unitreerobotics/unitree_ros2
|
2024-05-05 02:03:03 +08:00
|
|
|
cd unitree_ros2/cyclonedds_ws/src
|
2024-05-04 08:51:20 +08:00
|
|
|
git clone https://github.com/ros2/rmw_cyclonedds -b humble
|
2024-05-05 02:03:03 +08:00
|
|
|
git clone https://github.com/eclipse-cyclonedds/cyclonedds -b releases/0.10.x
|
|
|
|
cd ..
|
|
|
|
colcon build --packages-select cyclonedds
|
|
|
|
source /opt/ros/humble/setup.bash
|
2024-06-05 11:11:19 +08:00
|
|
|
colcon build
|