Skip to content

Commit

Permalink
Bugfixes ROS launch
Browse files Browse the repository at this point in the history
  • Loading branch information
ymollard authored Sep 18, 2021
1 parent 4f767bc commit 8930327
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup-ros.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,12 @@ sudo tee /usr/local/bin/poppy_controllers > /dev/null <<EOF
#!/usr/bin/env bash
source /opt/ros/noetic/setup.bash
source $HOME/catkin_ws/devel/setup.bash
export ROS_HOSTNAME=$(hostname).local
export ROS_HOSTNAME=\$(hostname).local
echo -e "=== Launching Poppy controllers - $(date '+%F %T') ==="
bash -c "roslaunch poppy_controllers control.launch"
EOF

sudo chmod +x /usr/local/bin/poppy_controllers
}

add_line_to_bashrc()
Expand Down

0 comments on commit 8930327

Please sign in to comment.