Cyclonedds configs are added to the startup scripts
This commit is contained in:
parent
6b3e6e242f
commit
2590b1c914
|
@ -1,4 +1,7 @@
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
source /unitree_ros2/cyclonedds_ws/install/setup.bash
|
source /unitree_ros2/cyclonedds_ws/install/setup.bash
|
||||||
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
|
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 /bridge_ws/install/setup.bash && ros2 launch /root/launch/bridge.launch.py
|
source /bridge_ws/install/setup.bash && ros2 launch /root/launch/bridge.launch.py
|
|
@ -1,4 +1,7 @@
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
source /unitree_ros2/cyclonedds_ws/install/setup.bash
|
source /unitree_ros2/cyclonedds_ws/install/setup.bash
|
||||||
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
|
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 /hesai_ws/install/setup.bash && ros2 launch /root/launch/hesai.launch.py
|
source /hesai_ws/install/setup.bash && ros2 launch /root/launch/hesai.launch.py
|
|
@ -1,4 +1,7 @@
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
source /unitree_ros2/cyclonedds_ws/install/setup.bash
|
source /unitree_ros2/cyclonedds_ws/install/setup.bash
|
||||||
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
|
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
|
source /ros2_ws/install/setup.bash && ros2 launch /root/launch/robot_description.launch.py
|
|
@ -6,7 +6,7 @@ After=multi-user.target
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
ExecStartPre=/usr/bin/docker rm -f go2py_bridge || true
|
ExecStartPre=/usr/bin/docker rm -f go2py_bridge || true
|
||||||
ExecStart=/bin/bash -c '/usr/bin/docker run --rm --name go2py_bridge --privileged --network host -v /home/unitree/locomotion:/home/locomotion -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro --runtime nvidia go2py_bridge:latest'
|
ExecStart=/bin/bash -c '/usr/bin/docker run --rm --name go2py_bridge --privileged --network host -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro --runtime nvidia go2py_bridge:latest'
|
||||||
ExecStop=/usr/bin/docker stop -t 2 go2py_bridge
|
ExecStop=/usr/bin/docker stop -t 2 go2py_bridge
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -6,7 +6,7 @@ After=multi-user.target
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
ExecStartPre=/usr/bin/docker rm -f go2py_hesai || true
|
ExecStartPre=/usr/bin/docker rm -f go2py_hesai || true
|
||||||
ExecStart=/bin/bash -c '/usr/bin/docker run --rm --name go2py_hesai --privileged --network host -v /home/unitree/locomotion:/home/locomotion -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro --runtime nvidia go2py_hesai:latest'
|
ExecStart=/bin/bash -c '/usr/bin/docker run --rm --name go2py_hesai --privileged --network host -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro --runtime nvidia go2py_hesai:latest'
|
||||||
ExecStop=/usr/bin/docker stop -t 2 go2py_hesai
|
ExecStop=/usr/bin/docker stop -t 2 go2py_hesai
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -6,7 +6,7 @@ After=multi-user.target
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
ExecStartPre=/usr/bin/docker rm -f go2py_robot_description || true
|
ExecStartPre=/usr/bin/docker rm -f go2py_robot_description || true
|
||||||
ExecStart=/bin/bash -c '/usr/bin/docker run --rm --name go2py_robot_description --privileged --network host -v /home/unitree/locomotion:/home/locomotion -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro --runtime nvidia go2py_description:latest'
|
ExecStart=/bin/bash -c '/usr/bin/docker run --rm --name go2py_robot_description --privileged --network host -v /dev/*:/dev/* -v /etc/localtime:/etc/localtime:ro --runtime nvidia go2py_description:latest'
|
||||||
ExecStop=/usr/bin/docker stop -t 2 go2py_robot_description
|
ExecStop=/usr/bin/docker stop -t 2 go2py_robot_description
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in New Issue