Skip to content

Commit

Permalink
Add an alias to reconnect to a previously-paired game controller
Browse files Browse the repository at this point in the history
  • Loading branch information
civerachb-cpr committed Oct 25, 2024
1 parent fb2c950 commit 0e573d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/turtlebot4/aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ alias turtlebot4-source='source $ROBOT_SETUP'
# Update all packages
alias turtlebot4-update='sudo apt update && sudo apt upgrade'

# Re-connect a previously-paired game controller
alias turtlebot4-connect-controller='bluetoothctl connect $(bt-device -l|grep "Wireless Controller" | grep -o "..:..:..:..:..:..")'

0 comments on commit 0e573d8

Please sign in to comment.