walk-these-ways-go2/go2_gym_deploy/autostart/start_unitree_sdk.sh

6 lines
228 B
Bash
Raw Normal View History

2024-01-28 17:11:38 +08:00
#!/bin/bash
sudo docker stop foxy_controller || true
sudo docker rm foxy_controller || true
sudo kill $(ps aux |grep lcm_position_go2 | awk '{print $2}')
cd ~/go2_gym/go2_gym_deploy/build/
yes "" | sudo ./lcm_position_go2 eth0 &