8 lines
418 B
Bash
8 lines
418 B
Bash
#!/bin/bash
|
|
echo "Setup unitree ros2 environment"
|
|
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>' |