Go2Py/deploy/docker/scripts/robot_description.sh

7 lines
459 B
Bash

source /opt/ros/humble/setup.bash
source /unitree_ros2/cyclonedds_ws/install/setup.bash
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
export CYCLONEDDS_URI='<CycloneDDS><Domain><General><Interfaces>
<NetworkInterface name="eth0" priority="default" multicast="default" />
</Interfaces></General></Domain></CycloneDDS>'
source /ros2_ws/install/setup.bash && ros2 launch /root/launch/robot_description.launch.py